MuseScore crashes after moving to kneed beams in grace notes
When creating grace notes that spans two staves, the program shuts down and crashes unexpectedly. This can be duplicated with the attached file. If you move the beam to the center (creating a kneed beam) the program will crash.
This was first discovered in the 2.0.3 version and duplicated in MuseScoreNightly-2016-10-20-1515-master-073fcdc.
Attachment | Size |
---|---|
unstable bug crash.mscz | 7.71 KB |
Comments
No crash for me, Windows 7, self-built, 073fcdc
It always fails on my system. My system is Mac OSX 10.11.6, pre-packaged version of MuseScore (stable and unstable).
I can reproduce as well. Double click the beam, drag left hand downward, crashes when it reaches a point between the two staves. Reproducible in a score created from scratch as well.
So this happens only on Mac? As mentioned I can't reproduce on Windows
Reproduced on Win7 (2.0.3) as well. (starting from file attached in report)
It only happens if you drag with the mouse, selecting the left handle and pressing the down arrow works fine here.
Again, it doesn't happen here, Windows 7, MuseScore 2.0.3
Could not reproduce on Win7 with 3.x (f8c3049). Neither from scratch nor from the file attached in the report.
Crashes for me on Windows 10, 2.0.3 officially released build.
Just for info, I just tested this on Ubuntu 15.10 with MuseScore 2.0.3 officially released (repository) build; also crashes here.
Reproduced on 2.0.4 (0bec46b) with the following stacktrace:
bbox() (and thus _bbox) is likely invalid
Extra clue: It seems to be related with the lower grace note having ledger lines. I could reproduce now from scratch with only 2 grace notes (started at treble staff) and a single main note in treble. Moving the first grace note to the bass staff.
All is well as long as the grace note in the bass staff is within the staff. As soon as it has a ledger line (both above as below staff behave the same), this error occurs.
The ledger line is indeed a good lead
https://github.com/musescore/MuseScore/blob/8f6abcbefa3ff9121707281906a…
We delete it without removing it from the btree.
Fixed in branch master, commit 4e966e0692
fix #138256: crash after moving to kneed beams in grace notes
Fixed in branch 2.0.4, commit 63483be5f7
fix #138256: crash after moving to kneed beams in grace notes
Automatically closed -- issue fixed for 2 weeks with no activity.