Crash by opening the Instruments dialog box after parts deletion and undo

• Jun 27, 2016 - 10:05
Reported version
2.1
Type
Functional
Severity
S2 - Critical
Status
closed
Project

2.0.3 and with currently nightly master ff9b56d / Windows7

1) "My First Score"
2) File -> Parts -> New all -> Ok
3) File -> Parts -> Delete -> Ok
4) Undo
5) File -> Parts -> Delete -> Ok

6) Press "I"

Result: crash

- The steps #2 + #3 + #6 are working

- Discovered by working on this thread: https://musescore.org/en/node/115626#comment-524991


Comments

stack trace:
1 Ms::ScoreElement::score scoreElement.h 55 0xda2734
2 Ms::InstrumentsWidget::genPartList instrwidget.cpp 465 0x464fc7
3 Ms::InstrumentsDialog::genPartList instrdialog.cpp 160 0x461674
4 Ms::MuseScore::editInstrList instrdialog.cpp 187 0x46176d
5 Ms::MuseScore::cmd musescore.cpp 4391 0x49b7bd
6 Ms::MuseScore::cmd musescore.cpp 4288 0x49b0d4
7 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 825 0x692e42
8 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68a08842
9 ZN12QActionGroup7hoveredEP7QAction 0x1b0b5295
10 ?? 0x210b3918
11 ZN7QAction8activateENS_11ActionEventE 0x1b0b4248
12 ?? 0x28ce68
13 ?? 0x1d7219d8
14 ZN7QThread18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv 0x68a67dd0
15 ZN7QThreadD2Ev 0x6889aa20
16 ZN7QObject11customEventEP6QEvent 0x68a06850
17 ZN26QAbstractDynamicMetaObjectD2Ev 0x68a06820
18 ZN7QObject10timerEventEP11QTimerEvent 0x68a06830
19 ZN7QObject10childEventEP11QChildEvent 0x68a06840
20 ZN7QObject11eventFilterEPS_P6QEvent 0x68a06860
...