Crash by deleting lyrics containing hyphens

• Nov 2, 2016 - 09:28
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

GIT commit: 4316435 / Windows7

1) "My First Score"
2) Enter some notes and lyrics (with at least an hyphen) in the first measure.

Or, load the test file at this step: lyrics test.mscz

3) Select the lyrics eg by extending the selection (Shift + drag)
expanding.jpg
4) Ctrl + X

Result: crash
crash lyrics.jpg
- You can get the same crash with Ctrl key. But only by clicking three times: 1) on "ly" 2) on the hyphen - even it is already hightlihgted, maybe the problem? - and 3) on "rics"

By omitting to re-select the hyphen: no crash

- No crash also via select (the measure) -> right-click on a syllabe -> Select -> All similar elements in Selection -> Ctrl + X


Comments

Confirmed. Stack trace:

1 ZNK14QNetworkCookie5valueEv 0x69736f78
2 ?? 0x28b980
3 Ms::Selection::deselectAll select.cpp 273 0x790bdb
4 Ms::Score::deselectAll score.h 733 0xd194cc
5 Ms::Score::cmdDeleteSelection edit.cpp 2559 0x7bf141
6 Ms::ScoreView::cmd scoreview.cpp 3231 0x413724
7 Ms::MuseScore::cmd musescore.cpp 4944 0x4a019b
8 Ms::MuseScore::cmd musescore.cpp 4498 0x49dfbe
9 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 830 0x69aee8
10 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a08942
11 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 193 0x6a1217
12 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 95 0x6a0ee9
13 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a08942
14 ZN12QActionGroup7hoveredEP7QAction 0x1be25295
15 ?? 0x221509a8
16 ZN7QAction8activateENS_11ActionEventE 0x1be24248
17 ?? 0x28ce08
18 ?? 0x1e245690
19 ZN7QThread18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv 0x68a68380
20 ZN7QThreadD2Ev 0x6889adc0
...

Does not crash when using click and Ctrl-click to select s sylable