Undo delete of notes and beam crash
Steps to reproduce bug
1. Open promenade demo
2. In the third measure select all of beat 4 (including both eighth notes in voice 2 and the chord in voice 1)
3. Press Del
4. Edit > Undo
MuseScore crashes
Workaround: Strangely, if you break the beam between the two eighth notes then MuseScore does not crash after delete, undo.
MuseScore version: r. 2601 nightly and 0.9.5 stable. Bug present in both
(Operating System: Windows XP)
Comments
I cannot reproduce this crash. Tested also with memory checker, but all looks ok.
I cannot reproduce neither on windows vista with both trunk and 0.9.5.
How do you select the notes?
I use Shift+click+drag to select, the delete key on the keyboard, and the menu item to undo (Ctrl+Z also crashes).
In case it helps here is a screencast:
http://dl.dropbox.com/u/892408/beam%20delete%20undo%20crash.ogg
Ok I can reproduce. The beam has to be selected as well and the bug is not related to multi voices.
--> Crash
If you omit step 4, there is no crash
The crash is caused by a memory corruption on undo/redo. It does not always happen, depending on what i did before.
I have a patch already but need some more testing...
Should work in latest revisions.
Automatically closed -- issue fixed for 2 weeks with no activity.