MU 4.0.2 Crash - select title frame > previous in-staff element

• Mar 14, 2023 - 23:13

Win 10 and 11. MU 4.0.2-230651553, revision dbe7c6d.
Select title frame. Press Control+Alt+Shift+Left (select previous in-staff element). MU 4 crashes.
Please confirm before I create an issue on GitHub.
BTW: MU 3.6.2 crashes in the same way.


Comments

Stack trace in (a MinGW build of) Mu3:

1 Ms::SegmentList::first segmentlist.h 42 0x105a76c
2 Ms::Measure::first measure.h 149 0x10683be
3 Ms::System::prevSegmentElement system.cpp 1370 0xafc0ab
4 Ms::Element::prevSegmentElement element.cpp 1826 0x9aa665
5 Ms::ScoreView::::operator()(Ms::ScoreView *, const QByteArray &) const scoreview.cpp 2446 0x644a4f
6 std::_Function_handler>::_M_invoke(const std::_Any_data &, Ms::ScoreView *&&, const QByteArray &) std_function.h 297 0x661bc8
7 std::function::operator()(Ms::ScoreView *, QByteArray const&) const std_function.h 687 0x10d60dd
8 Ms::ScoreView::cmd scoreview.cpp 2890 0x64b461
9 Ms::ScoreView::cmd scoreview.cpp 2089 0x642b47
10 Ms::MuseScore::cmd musescore.cpp 6621 0x434218
11 Ms::MuseScore::cmd musescore.cpp 6048 0x430b62
12 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 610 0x5ef5bd
13 void doActivate(QObject *, int, void * *) 0x68b978bb
14 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 226 0x60ea28
15 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 111 0x60e497
16 void doActivate(QObject *, int, void * *) 0x68b978bb
17 QActionGroupPrivate::_q_actionTriggered() 0x32bb4cc2
18 QActionGroup::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x32bb5299
19 void doActivate(QObject *, int, void * *) 0x68b978bb
20 QAction::activate(QAction::ActionEvent) 0x32bb3df3
...

In reply to by Jojo-Schmitz

That would be great!
MU4 crashes also in these situations:
- Select last element, insert vertical frame
- Select last element, append vertical frame
- Select last element, append text frame
and press Control+Alt+Shift+Left
Are these situations covered by your fix as well?
Edit: sorry, I overlooked your post on GitHub. Again, thanks for your fantastic support!

Do you still have an unanswered question? Please log in first to post your question.