Crash on creating new score (after some steps)

• Jun 17, 2010 - 12:48
Type
Functional
Severity
S2 - Critical
Status
closed
Project

MuseScore 0.9.6 (windows & mac)

  1. Open MuseScore on promenade
  2. Creat a picolo score (use terminate just after the instrument selection)
  3. Add a C quarter
  4. Save the file
  5. Go to Style->Edit Global Style and just press OK (This step looks important)
  6. Create a new picolo score (use terminate just after the instrument selection)

--> Crash


Comments

More info after a debugging session on Mac.
The error happens in Event:Event(const Event& e) on the line _notes = _notes = e._notes;.
Maybe the copy constructor should do a deep copy ? or is it doing it? Just wild guess (again...)

Status (old) active fixed

fixed in #3218 for the price of a small memory leak. A cleaner fix will follow in the next release.