Crash when adding, changing and removing staves with slurred grace notes
1. Open attached score (produced in 1.3).
2. 'Edit'>'Instruments…'.
3. Click on stave.
4. 'Add Linked Stave'.
5. Change staff type of top stave to 'Tab. 6-str. full'.
6. 'OK'.
7. 'Edit'>'Instruments…'.
8. Click on bottom stave.
9. 'Remove'.
10. Change staff type to 'Standard'.
11. 'OK'.
12. 'Edit'>'Undo' twice.
13. 'Edit'>'Instruments…'.
14. Click on stave.
15. 'Add Linked Stave'.
16. Change top stave to 'Tab. 6-str. full'.
17. 'OK'.
Result: Crash (see attached log).
Note: I couldn't reproduce in a 2.0 score.
Using MuseScore 2.0 Nightly Build 4fe7cb1 - Mac 10.7.5.
Attachment | Size |
---|---|
Crash when adding, changing and removing staves in 1.3 score.mscz | 1.54 KB |
Crash when adding, changing and removing staves in 1.3 score [Log].txt | 67.13 KB |
Comments
The title is probably not accurate, so others are invited to investigate. :)
I can reproduce. You have to follow the steps very precisely; don't mess up along the way.
The crash occurs when trying to find the measure for a grace note while doing a scanElements(); the chord's parent is a garbage value.
I can reproduce with a 2.0 score from scratch. it just need a note, a grace note and a slur in guitar score, and then follow the instructions from the OP
Fixed in 39164cecf8
Automatically closed -- issue fixed for 2 weeks with no activity.