Crash when changing the numerical value of Fretboard Diagram “Maximum shift above” and then delete chord symbol

• Jun 19, 2020 - 09:26
Reported version
3.x-dev
Type
Development
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

OS: macOS High Sierra (10.13),
Arch.: x86_64, MuseScore version (64-bit): 3.5.0.27580,
revision: b5add95

Step to reproduce:

1.Add Fretboard Diagram
2.Change the numerical value of “Maximum shift above” via Format->Style->Fretboard Diagrams
3.Delete Chord Symbol above the Fretboard Diagram

Crash

Attachment Size
fretboard2.mscz 3.16 KB

Comments

Regression No Yes

Confirmed
Sort of a regression (not 100% though, as that setting just didn't exist in 3.4, and also does not (yet) in master)

Stack trace:
1 Ms::alignHarmonies layout.cpp 3379 0x983826
2 Ms::Score::layoutSystemElements layout.cpp 4257 0x9895b9
3 Ms::Score::collectSystem layout.cpp 3740 0x985725
4 Ms::Score::doLayoutRange layout.cpp 4668 0x98bce4
5 Ms::Score::update cmd.cpp 302 0xab7d06
6 Ms::Score::endCmd cmd.cpp 260 0xab79a6
7 Ms::Score::cmd cmd.cpp 4210 0xacc697
8 Ms::ScoreView::cmd scoreview.cpp 2742 0x5fa7d5
9 Ms::ScoreView::cmd scoreview.cpp 1988 0x5f2a45
10 Ms::MuseScore::cmd musescore.cpp 6567 0x4326fa
11 Ms::MuseScore::cmd musescore.cpp 5966 0x42ee3b
12 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 518 0x59fccf
13 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
14 Ms::ScoreTab::actionTriggered moc_scoretab.cpp 225 0x5be3f8
15 Ms::ScoreTab::qt_static_metacall moc_scoretab.cpp 110 0x5bde80
16 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
17 QActionGroup::hovered(QAction *) 0x2ae94db2
18 QActionGroup::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2ae9573c
19 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
20 QAction::activate(QAction::ActionEvent) 0x2ae93e0e
...

Fixed in branch 3.x, commit 91ebd6a163

_Merge pull request #6236 from Jojo-Schmitz/fretboard-harmony-crash

fix #306964: Crash when change the numerical value of Fretboard Diagram “Maximum shift above”_

Title Crash when change the numerical value of Fretboard Diagram “Maximum shift above” Crash when changing the numerical value of Fretboard Diagram “Maximum shift above”

Grammar.

Title Crash when changing the numerical value of Fretboard Diagram “Maximum shift above” Crash when changing the numerical value of Fretboard Diagram “Maximum shift above” and then delete chord symbol
Fix version
3.5.0