Undo deletion of notes when a beamed acciaccatura is present causes crash

• Sep 12, 2013 - 10:05
Type
Functional
Severity
S2 - Critical
Status
closed
Project

1. Open attached score (produced in 1.3).
2. Hold Shift until after step 3.
3. Click on the first note of beat 3 and the last note of beat 4.
4. 'Delete'.
5. 'Undo'.

Result: Crash.

Note: See attached log.

Using MuseScore 2.0 Nightly Build (aeb28a7) - Mac 10.7.5.


Comments

The crash happens because of the beamed acciaccatura (the last of the grace notes in "Undo deletion of notes causes crash.mscz" is an acciaccatura, which is automatically beamed to the other ones).
The same crash happens with the attached example:
1. Open acciaccatura_and_beam.mscz
2. Select the E in the second measure
3. Delete
4. Undo -> crash
In attachment also the log of address sanitizer (undo_delete_with_beamed_acciaccatura.txt) with the relevant information regarding the invalid address access.

Linux Mint 13 & Windows 8, MuseScore commit aeb28a7 (self-compiled)