Seg Fault when remove an instrument on a joined .mscz with mult-instrument parts
I'm encountered this on arch linux x86-64 2.0.2 release and have verified in 3250979. If I go edit->instruments and remove the second harpsichord, then I get a seg fault with terminal output:
doUnlink(): nothing found to unlink BarLine: bad _span 4 BarLine: bad _span 4 BarLine: bad _span 4 System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found BarLine: bad _span 2 System::remove: bracket not found BarLine: bad _span 2 System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found System::remove: bracket not found checkSpanner::remove (3) checkSpanner::remove (3) Segmentation fault (core dumped)
The stack trace I see when I run 3250979 is:
Staff::idx Staff::updateOttava Score::removeElement RemoveElement::redo UndoStack::push Score::undo Score::checkSpanner Score::doLayout Score::endCmd MuseScore::editInstrList MuseScore::cmd
This score was created by joined a dozen individual scores via album and had done some edits after (such as creating parts and adding line breaks). If I edit->instruments and remove harpsichord 1 or bass or drums, then I am able to press OK and see the updated score, but then pressing Ctrl->Z will cause seg fault. My parts are [ {harpsichord1, harpsichord2}, {hartpsichord1, bass}, {harpsichord1, drums}]. I would investigate now, but I need to go to sleep. I think the issue might be how the staffs are linked.
Attachment | Size |
---|---|
Castlevania.mscz | 248.07 KB |
Comments
I've verified on windows 8.1 x86-64 release 2.0.2.