Crash when making changes to some existing score.
I know the title is not good, but for now I can't come up with a better one.
Follow up of #108136: changing instruments from Mixer and close without saving cause crash
Attached is a stripped down and anonymized version of one of my scores.
It might well be possible to strip it down even further
- open in master (self built 3c7a69d, Windows 7)
- do any modification to it, e.g. delete the title
- close it, with save or without, doesn't seem to make a difference (other than the change does get saved or not)
-> Crash (and apparently after successfully have saved it)
Stack trace:
1 ?? 0x50daa000
2 Ms::Segment::~Segment segment.cpp 190 0x793b0d
3 Ms::Segment::~Segment segment.cpp 194 0x793be5
4 Ms::Measure::~Measure measure.cpp 189 0x798723
5 Ms::Measure::~Measure measure.cpp 193 0x798789
6 Ms::Score::~Score score.cpp 328 0x73a8d8
7 Ms::MasterScore::~MasterScore score.cpp 4056 0x749fd4
8 Ms::MasterScore::~MasterScore score.cpp 4064 0x74a009
9 Ms::MuseScore::removeTab musescore.cpp 1943 0x488090
10 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 798 0x6880d7
11 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a07a62
12 Ms::ScoreTab::tabCloseRequested moc_scoretab.cpp 186 0x68e4db
13 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 94 0x68e1d7
14 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a07a62
15 ZNK7QTabBar18minimumTabSizeHintEi 0x196fcf73
16 ?? 0x1
17 ?? 0x28c8c8
Attachment | Size |
---|---|
crash.mscz | 18.32 KB |
Comments
From the AddressSanitizer log, it seems related to the barline in a system header and the undo/redo chain, see attached, but I couldn't reproduce from scratch.
Linux Mint 17.3, commit 1d1b5a43
Interestingly, when deleting the double barline at the end of first system, no barline replaces it, but this is probably a different bug (?)
Not actual anymore since I cannot reproduce the crash.
PS. I really like "stripped down and anonymized version" of one of the Jojo's scores ;)
Can't share more due to copyright issues ;-) Hope the rhythm doesn't give enough food
Automatically closed -- issue fixed for 2 weeks with no activity.