Crash when placing break on multi-measure rest
I have a multi-measure rest in the middle of my score and I'm trying to put a line break just after it. Dragging a line break to the multi-measure rest results in the attached crash.
MacOS 10.8.5
Attachment | Size |
---|---|
crash.txt | 53.91 KB |
Comments
Confirmed - thanks zscore!
1. Open attached score (produced in 1.3).
2. Drag any break from the 'Breaks & Spacer' palette.
Result: Crash.
Note: It's also reproducible in a 2.0 score.
Using MuseScore 2.0 Nightly Build (f8187c9) - Mac 10.7.5.
FWIW, clicking the barline and pressing Enter *does* work - problem seems specific to drag & drop.
I've observed what happens when this crashes, and when it doesn't, but I don't know what to do about what I've seen.
The crash occurs in Inspector::SetElements, in inspector.cpp, on line 137. It crashes immediately so I don't know if it's crashing when it tries _element->type() or ee->type(), but either would be odd since they're the same element and both valid.
Clicking on the barline and pressing return works because the test at line 124 fails, whereas dragging and dropping the break onto the rest the element that test passes.
Over to you...errr, someone.
Fixed in 199feb566d
Automatically closed -- issue fixed for 2 weeks with no activity.