MuseScore 3 crashes when removing instrument, MuseScore 4 nightly crashes when closing
This happens with the score at https://musescore.com/user/13065016/scores/3038561
MuseScore-3.5.2.312125617-x86_64.AppImage crashes when removing the bass clef.
MuseScoreNightly-202011300431-master-722053f-x86_64.AppImage crashes when opening and then closing the score. This version can successfully make the bass clef invisible, but crashes if you try to actually delete it.
(as an aside, version 4 is kind of difficult to learn... where is the "Export to PDF" function, for instance?)
Comments
That score stems from MuseScore 2.0.3
I can confirm the crash in 3.5.2 though, as does the latest 3.x development build (master AKA 4.0 builds are not really usable currently), when removing the bass staff. 2.3.2 does not crash on that.
Please report that crash in the issue tracker
Stack trace:
1 std::_Rb_tree, std::_Select1st>, std::less, std::allocator>>::empty stl_tree.h 1009 0x109686c
2 std::map::empty stl_map.h 464 0x107eac8
3 Ms::StaffTypeList::uniqueStaffType stafftypelist.h 40 0x1023afe
4 Ms::Staff::staffTypeForElement staff.cpp 1027 0xa9946e
5 Ms::Note::updateRelLine note.cpp 2674 0xa22a82
6 Ms::Note::updateAccidental note.cpp 2226 0xa20b05
7 Ms::Chord::cmdUpdateNotes chord.cpp 1768 0x92d970
8 Ms::Score::getNextMeasure layout.cpp 2910 0x9dd32a
9 Ms::Score::collectSystem layout.cpp 3842 0x9e2cc9
10 Ms::LayoutContext::collectPage layout.cpp 4635 0x9e849b
11 Ms::LayoutContext::layout layout.cpp 4953 0x9ea16c
12 Ms::Score::doLayoutRange layout.cpp 4941 0x9ea0cc
13 Ms::Score::update cmd.cpp 302 0x5329e8
14 Ms::Score::endCmd cmd.cpp 260 0x532686
15 Ms::MuseScore::editInstrList instrdialog.cpp 576 0x68c842
16 Ms::MuseScore::editInstrumentList musescore.cpp 7031 0x435b8b
17 Ms::MuseScore::cmd musescore.cpp 6240 0x431414
18 Ms::MuseScore::cmd musescore.cpp 6063 0x430628
19 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 524 0x5e7da8
20 void doActivate(QObject *, int, void * *) 0x68b978bb
...
In reply to That score stems from… by Jojo-Schmitz
Okay, it's submitted to the issue tracker as issue #313799
In reply to Okay, it's submitted to the… by interiot
Thanks for #313799: Deleting a staff with multi-staves instrument containing a note in cross-staff notation crashes the program