Undo delete of notes and beam crash

• Jan 12, 2010 - 23:01
Type
Functional
Severity
S2 - Critical
Status
closed
Project

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

Title Undo delete multi-voice Undo delete of notes and beam crash

Ok I can reproduce. The beam has to be selected as well and the bug is not related to multi voices.

  1. Open demo score
  2. select first eight notehead in first measure
  3. add second eigth notehead to the selection
  4. add the beam between the two eights to the selection
  5. Delete
  6. Ctrl + Z

--> 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...