[0.9.6 RTM] Crash on loading score where a key signature is selected

Project:MuseScore
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Tested in 0.9.6 stable under Windows XP

Steps:

  1. Open (or create) a score with at least one key signature
  2. Click on the key signature to select it
  3. Save the score with the key signature selected and close it
  4. 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 by
keysig.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.

#1

Oh well, lasconic just reported the same bug here: sorry for the cross posting!

M.

#2
Status:active» fixed

fixed in r3245

#3
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

Syndicate content