in score with slurs and parts delete time sig, then undo -> crash

• Oct 7, 2014 - 15:24
Reported version
2.1
Type
Functional
Severity
S2 - Critical
Status
closed
Project

open existing score containg slurs with parts or create new score with slurs and parts
select a timesig
del
undo
->Crash

161dcb0, Windows 7


Comments

actually deleting any timesig, then undo causes Crash

Fatal: SpannerMap::addSpanner: already in list 0x29259c10 (...\MuseScore\libmscore\spannermap.cpp:77, void Ms::SpannerMap::addSpanner(Ms::Spanner*))

Status (old) active needs info

I can't reproduce this on Ubuntu. Is it really as simple as the following

1) create new score, flute, 4/4, C, 32 measures
2) click initial time signature
3) delete
4) undo

??

This works for me. The presence of spanner code on the stack suggests maybe it can't actually be an empty score but must have spanners. Still, I tried adding a slur and still couldn't get a crash.

Getting closer :-). But I still can't figure out how to reproduce - could you post the specific score, or specific steps to reproduce from scratch?

BTW, if the existing score is more than a month or so old, this *could* just be an issue of compatibility between builds.

It is one week old. It should reproduce with the score I sent you recently.
Seems I can't reproduce with a new score, but I can avoid the crash if I delete all slurs of an existing score first

Interesting side note: selecting a tie, right click, all similar, selects all slurs too