Crash when select Realize Chord Symbols by right clicking chord symbol with Fretboard Diagram
Reported version
3.x-dev
Type
Development
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
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:
- Put Fretboard Diagram from palette
- Right-click Chord Symbol and select Realize Chord Symbols
- Press OK.
Crash
Attachment | Size |
---|---|
fretboard1.mscz | 2.85 KB |
Fix version
3.5.0
Comments
No stack trace, and no real crash but rather a failed assertion:
Fatal: ASSERT: "e == 0 || e->isSegment()" in file ...\libmscore\scoreElement.h, line 539
basically a
toSegment()
call on something that isn't a segment. Need to find out where that call is...Stack trace (with breakpoint at musescore.cpp, line 3929):
1 Ms::mscoreMessageHandler musescore.cpp 3929 0x42164a
2 operator<<(QDebug, QOperatingSystemVersion const&) 0x68899daa
3 QMessageLogger::fatal(const char *, ...) const 0x68c12068
4 qt_assert(const char *, const char *, int) 0x68c11c09
5 Ms::toSegment scoreElement.h 539 0xab7162
6 Ms::Score::cmdRealizeChordSymbols cmd.cpp 3185 0xac5426
7 Ms::MuseScore::realizeChordSymbols musescore.cpp 5887 0x42e745
8 Ms::ScoreView::objectPopup scoreview.cpp 395 0x5e7d05
9 Ms::ScoreView::contextMenuEvent events.cpp 1004 0x626567
10 QWidget::event(QEvent *) 0x2aea6d3e
11 Ms::ScoreView::event events.cpp 106 0x622770
12 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x2ae67bdc
13 QApplication::notify(QObject *, QEvent *) 0x2ae6f5b6
14 QCoreApplication::forwardEvent(QObject *, QEvent *, QEvent *) 0x68a68fe8
15 QDesktopWidget::qt_metacall(QMetaObject::Call, int, void * *) 0x2aeba79b
16 QDesktopWidget::qt_metacall(QMetaObject::Call, int, void * *) 0x2aebd223
17 QApplicationPrivate::notify_helper(QObject *, QEvent *) 0x2ae67bdc
18 QApplication::notify(QObject *, QEvent *) 0x2ae6ec23
19 QCoreApplication::sendSpontaneousEvent(QObject *, QEvent *) 0x68a694a8
20 QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent *) 0x61976e54
...
BTW, Chord Symbol is sticked to Fretboard Diagram already when I put them from palette.
Is it a new default Fretboard Diagram setting in v3.5?
I mean, If I decide to put Fretboard Diagram after entered Chord Symbols,
Chord Symbols are duplicated, and it’s not nice.
That probably is a diffent bug, please report separately
In reply to That probably is a diffent… by Jojo-Schmitz
yes
In reply to yes by kazuma yamamoto
Here it is
#306825: Suggestion to adopt existing chord symbols (if present) when adding fret diagrams
see https://github.com/musescore/MuseScore/pull/6222
Fixed in branch 3.x, commit e07821c6e9
fix #306816: Crash when select Realize Chord Symbols by right clicking chord symbol with Fretboard Diagram
Fixed in branch 3.x, commit 600f93e3d8
_Merge pull request #6222 from Jojo-Schmitz/fretboard-chord-crash
fix #306816: Crash when select Realize Chord Symbols by right clicking chord symbol with Fretboard Diagram_
Automatically closed -- issue fixed for 2 weeks with no activity.