Crash when switching voices if notes are tied

• Jul 16, 2020 - 11:16
Reported version
3.4
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

To reproduce:
1. Open the attached file Crash_Boom_Bang.mscw
2. Switch to voice two (I used Cmd+Opt+2 for that).

The document has been created with two staffs, Soprano and Alto, and a Part has been added that includes Soprano voice 1 and Alto voice 2. The Soprano and Alto voices have been Imploded. This is an odd combination of things, but one that I managed to accidentally create (and then experimentally tried to recreate for a while after).

Also attached is the backtrace generated for this file on my Mac running macOS 10.14.6


Comments

Frequency Many Once
Severity S4 - Minor S2 - Critical
Status active needs info

I can't reproduce. What note(s) exactly should get switched to voice 2, and in score or in part?

Stack trace:
1 Ms::ScoreElement::isNote scoreElement.h 261 0xff1f50
2 Ms::ChangeSpannerElements::flip undo.cpp 2279 0xab9622
3 Ms::UndoCommand::redo undo.cpp 165 0xab098c
4 Ms::UndoStack::push undo.cpp 307 0xab122d
5 Ms::Score::undo score.cpp 3650 0x9fe45a
6 Ms::Score::undoChangeSpannerElements edit.cpp 5123 0x921f51
7 Ms::Score::changeVoice score.cpp 4435 0xa01bfe
8 Ms::ScoreView::changeVoice scoreview.cpp 4307 0x605046
9 Ms::ScoreView::::operator()(Ms::ScoreView *, const QByteArray &) const scoreview.cpp 2575 0x5f753f
10 std::_Function_handler>::_M_invoke(const std::_Any_data &, Ms::ScoreView *&&, const QByteArray &) std_function.h 316 0x614b18
11 std::function::operator()(Ms::ScoreView *, QByteArray const&) const std_function.h 706 0x10659bd
12 Ms::ScoreView::cmd scoreview.cpp 2805 0x5fc717
13 Ms::ScoreView::cmd scoreview.cpp 2056 0x5f49eb
14 Ms::MuseScore::cmd musescore.cpp 6618 0x432aea
15 Ms::MuseScore::cmd musescore.cpp 6040 0x42f3af
16 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 518 0x5a15c2
17 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
18 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 225 0x5bfcfe
19 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 110 0x5bf786
20 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
...

Title Crash when switching voices in document using parts with single voice selection Crash when switching voices if notes are tied
Workaround No Yes

Workaround is to delete the tie prior to the voice change.
Not related to parts pr single voice parts at all

Fix version
3.5.1