Undo removal of instrument engaged in part causes crash
1. Create score with two instruments (e.g. Piano and Harpsichord).
2. 'Parts…'.
3. 'New'.
4. Tick both instruments.
5. 'OK'.
6. Click on score (causing an impending save).
7. 'Instruments…'.
8. Remove either instrument.
9. 'OK'.
10. 'Undo'.
Result: Crash.
Note: See attached log.
Using MuseScore 2.0 Nightly Build (943c7e7) - Mac 10.7.5.
Attachment | Size |
---|---|
Undo removal of instrument engaged in part causes crash (Log).txt | 53.61 KB |
Comments
fixed c84969b094
It's still reproducible, but with a different log.
Using MuseScore 2.0 Nightly Build (c84969b) - Mac 10.7.5.
i cannot reproduce anymore (also checked with valgrind). Maybe i miss a detail...
It's still reproducible - this time, it seems similar to Log 1.
I think this one will be Mac-exclusive - step 6 is an oddity.
Using MuseScore 2.0 Nightly Build (02d7b91) - Mac 10.7.5.
I can't reproduce on Windows but I can on Mac... b53a32163c Crash is indeed related with mmRest.
I can reproduce also in Windows 8 and Linux Mint 13 and I obtain basically the same crash log as in the original report.
I managed to obtain the crash by exactly following the original steps without clicking anywhere else between each of the steps and removing the second instrument in step 8. Step 6 seems not to be necessary.
Attached the gdb backtrace under Linux Mint 13: I used Piccolo and Flute as the 2 instruments. Track 4 therefore refers to the flute, which was the instrument removed at steps 8-9.
The crash happens at line 457 of libmscore/segment.cpp:
if (_elist[track]) {
Windows 8 and Linux Mint 13, commit eee9f5fa17 (self compiled).
Step 6 seems only relevant for Mac.
Without it, I wasn't able to reproduce.
I don't know if this comes under it:
1. Download and open this file.
2. 'Instruments…'.
3. Remove an instrument (e.g. 'E. Guitar 1').
4. 'OK'.
5. 'Undo'.
Result: Hang.
Note: I was unable to obtain a log.
Using MuseScore 2.0 Nightly Build (ab14241) - Mac 10.7.5.
I cannot reproduce this bug. Maybe its fixed as i changed the handling of multi measure rests when removing a staff.
I cannot reproduce either, but I am on Windows, and it seems maybe it was easier to reproduce on Mac?
I can't download the score linked in #8.
I also can no more reproduce the bug, under Windows 8.1 and Linux Mint 13, commit 2bf563b
I can't either :).
Using MuseScore 2.0 Nightly Build (16c2771) - Mac 10.7.5.
Automatically closed -- issue fixed for 2 weeks with no activity.