[0.9.6 RTM] Crash on loading score where a key signature is selected
Tested in 0.9.6 stable under Windows XP
Steps:
- Open (or create) a score with at least one key signature
- Click on the key signature to select it
- Save the score with the key signature selected and close it
- Re-load the score
Result:
MuseScore crashes.
Expected result:
The score is loaded and displayed.
This issue is similar, but not identical, to this one .
Details:
The offending code line is:system.h, 124: System::staff(int staffIdx)
called bykeysig.cpp, 70: KeySig::canvasPos()
apparently while clearing all selections during the loading process.
It seems like the KeySig::canvasPos() function is accessing the collection of systems before it is initialized (or created).
M.
Comments
Oh well, lasconic just reported the same bug here : sorry for the cross posting!
M.
fixed in r3245
Automatically closed -- issue fixed for 2 weeks with no activity.