Crash on undo of mmrest with courtesy signature

• Apr 17, 2015 - 20:40
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Ubuntu 14.04, GIT commit: b482d00

Discovered this while testing my proposed fix for #52391: Key / Time Signature Courtesy option (and delete) ineffective with Multimeasure Rests.

1) my first score (or any emoty score with a line break after measure 4)
2) add D major key signature to bar 5
3) press "M" to enable mmrests
4) undo

Result: crash - actually, qFatal() call in Measure::remove(Segment*)


Comments

True. But here I must apply Undo twice at step # 4 for receive the crash.

EDIT: And as it was predictable, as in the other related bug report, it works on May 19, but fails (with a crash) on June 7.

Status (old) active fixed

Fixed since a while... (May 1, from what I see)

Recalling the steps:

1) My First Score (or any another score with a line break after measure 4)
2) add D major key signature to measure/bar 5
3) press "M" to enable mmrests
4) undo (result: mmrests are disabled)
5) undo again
Result: crash
1 mai.jpg

The same day later, it works (the key sig is deleted at step 5)
clés.jpg
So (4 commits only this day), I guess that it has been fixed here?
https://github.com/musescore/MuseScore/commit/b4466500d2b9b6719b47c2d73…