Undo deletion of notes when a beamed acciaccatura is present causes crash
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.
Attachment | Size |
---|---|
Undo deletion of notes causes crash.mscz | 1.75 KB |
Undo deletion of notes causes crash (Log).txt | 61.91 KB |
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)
I don't know if this is related?:
1. Create score.
2. Enable 'Note Entry'.
3. Add note.
4. Disable 'Note Entry'.
5. Add three acciaccatura.
6. Click on the second acciaccatura.
7. 'Cut'.
8. 'Undo'.
Result: Crash.
Note: See attached log.
Using MuseScore 2.0 Nightly Build (3a23fc9) - Mac 10.7.5.
Seems to be solved for all the example files in this issues report, probably by commit dd71380b46 .
Tested under Windows 8, commit 6fa855c (self-build).
Yes, I can't reproduce.
Using MuseScore 2.0 Nightly Build (6fa855c) - Mac 10.7.5.
Automatically closed -- issue fixed for 2 weeks with no activity.