Crash when deleting or changing a time signature in a multimeasure rest
I have a score, a portion of which I included as an attachment, that has a time signature in a multi-rest measure (see attachment). If I try to delete the time signature (highlight and hit delete key) I get a CTD and the crash reporter comes up. Also, when the multi-rest measure setting is on, I can't do anything to the time signature (change it in the inspector). I am using Version 3.5.2 but It also happens with any version 3.5.x. I put it as a level 3 bug (Major) rather than level 2 (Critical) only because there is an easy workaround and this is a unique circumstance.
Steps to reproduce:
1. Create a score with multi-rest measures
2. Change the time signature in the multi-rest measure
3. Try to delete the time signature (delete key) or change the time signature (inspector)
4. Program CTD.
Workaround:
Do not put a time signature in a multi-rest measure or, alternatively, turn off the multi-rest measure feature.
Attachment | Size |
---|---|
Test_score-LCDD.mscz | 7.39 KB |
Comments
You are the only report of this so Frequency was once and severity of crashes is always Critical.
I have confirmed the crash so I updated the Frequency to few.
In reply to You are the only report of… by mike320
OK. Thanks. I misunderstood what frequency meant.
Stack trace:
1 Ms::ScoreElement::linkList scoreElement.cpp 605 0xb5eded
2 Ms::Score::undoRemoveElement edit.cpp 5103 0x93cbee
3 Ms::Score::cmdRemoveTimeSig edit.cpp 943 0x924b4a
4 Ms::Score::deleteItem edit.cpp 1667 0x9292a1
5 Ms::Score::cmdDeleteSelection edit.cpp 2514 0x92e14f
6 Ms::Score::::operator()(Ms::Score *, Ms::EditData &) const cmd.cpp 4182 0xaf468a
7 std::_Function_handler>::_M_invoke(const std::_Any_data &, Ms::Score *&&, Ms::EditData &) std_function.h 297 0xb06cff
8 std::function::operator()(Ms::Score *, Ms::EditData&) const std_function.h 687 0x106704d
9 Ms::Score::cmd cmd.cpp 4209 0xaf64b3
10 Ms::ScoreView::cmd scoreview.cpp 2831 0x60721b
11 Ms::ScoreView::cmd scoreview.cpp 2077 0x5fece7
12 Ms::MuseScore::cmd musescore.cpp 6659 0x433d8a
13 Ms::MuseScore::cmd musescore.cpp 6081 0x430664
14 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 524 0x5abef2
15 void doActivate(QObject *, int, void * *) 0x68b9994b
16 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 226 0x5cacb4
17 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 111 0x5ca723
18 void doActivate(QObject *, int, void * *) 0x68b9994b
19 QActionGroupPrivate::_q_actionTriggered() 0x2fac4cc2
20 QActionGroup::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2fac5299
...
See https://github.com/musescore/MuseScore/pull/6853
Fixed in branch 3.x, commit 7bd67ac38a
Fix #312869: Crash when deleting or changing a time signature in a multimeasure rest
Automatically closed -- issue fixed for 2 weeks with no activity.