Crash when pasting a note to a multi-measure rest symbol

• Sep 9, 2020 - 16:58
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

Select a single note (not a range) and copy, then select a multi-measure rest symbol (again not a range) and paste causes crash.


Comments

Stack trace:
1 std::vector::operator[] stl_vector.h 816 0x103db70
2 Ms::Segment::element segment.h 117 0xfe5c67
3 Ms::findLinkedChord edit.cpp 4138 0x91c7ad
4 Ms::Score::undoAddElement edit.cpp 4890 0x920c82
5 Ms::Score::setNoteRest cmd.cpp 789 0xac1a1b
6 Ms::ChordRest::drop chordrest.cpp 517 0x8f4ed4
7 Ms::Rest::drop rest.cpp 288 0x9ec4c3
8 Ms::Score::cmdPaste paste.cpp 1023 0xb239e0
9 Ms::ScoreView::normalPaste scoreview.cpp 2034 0x5f3f11
10 Ms::ScoreView::::operator()(Ms::ScoreView *, const QByteArray &) const scoreview.cpp 2120 0x5f4346
11 std::_Function_handler>::_M_invoke(const std::_Any_data &, Ms::ScoreView *&&, const QByteArray &) std_function.h 316 0x60e7cb
12 std::function::operator()(Ms::ScoreView *, QByteArray const&) const std_function.h 706 0x104c00d
13 Ms::ScoreView::cmd scoreview.cpp 2826 0x5fbe97
14 Ms::ScoreView::cmd scoreview.cpp 2077 0x5f416b
15 Ms::MuseScore::cmd musescore.cpp 6630 0x432a8c
16 Ms::MuseScore::cmd musescore.cpp 6052 0x42f351
17 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 518 0x5a1822
18 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
19 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 225 0x5bff5e
20 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 110 0x5bf9e6
...