Crash when dragging element on score from palette
41a0e13d1c - Mac OSX
- Create a new score
- Drag and drop a volta, or fretboard diagram, a crescendo etc... to a measure
- Move the element on the score
- Undo until deleting the element
- Drag the same element again in the score
--> Crash.
The crash is EXC_BAD_ACCESS in the first line of ScoreView::testElementDragTransition(QMouseEvent* ev)
https://github.com/musescore/MuseScore/blob/41a0e13d1c32f755dcf3fe80621…
It's probably a memory corruption problem. Maybe due to the cleanup in undo?
I encounter the bug while testing #36266: All the Lines and Fretboard Diagram displayed twice after undoing move
Comments
FWIW, I can't reproduce, but if it's memory corruption that wouldn't be too surprising.
I can't reproduce either. Maybe only on 10.10?
Just so I understand the steps:
1. Create Voice score.
2. Drag volta from the palette onto bar 1.
3. Drag the volta that's on the score.
4. 'Undo' twice.
Result: It isn't seen on the score.
5. Drag the same volta from the palette onto bar 1.
Result: It appears, with no crash.
Using MuseScore 2.0 Nightly Build da1a230 - Mac 10.7.5.
Werner couldn't reproduce either, even with Valgrind.
And now 54a6d64d97, I can't reproduce it either...
Nope. I put it on fixed.
Automatically closed -- issue fixed for 2 weeks with no activity.