crash when deleting a part

• Aug 4, 2016 - 08:48
Reported version
2.1
Type
Functional
Severity
S2 - Critical
Status
closed
Project

see https://musescore.org/en/node/119981.

Deleting all parts from score leads to crash in 2.0.3 and in current master (37e2b5e), there the stack trace looks like:

1 QList::detach qlist.h 162 0xd43838
2 QList::begin qlist.h 312 0xd43671
3 Ms::deleteExcerpt excerpt.cpp 256 0x8c56c5
4 Ms::ExcerptsDialog::accept excerptsdialog.cpp 387 0x4ef405
5 ZN7QDialog18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv 0x1b825645
6 ?? 0x288f44
7 ZNK16QDialogButtonBox6buttonENS_14StandardButtonE 0x1b751e9f

Score got created from the XML


Comments

The XML files contains an error:

Fatal error: line 2367 column 24 Element degree contains unknown attribute text.

But I don't think this is the cause for the Crash.
Opening the XML, generating parts and deleting them again doesn't cause a crash