Crash on entry of empty Nashville number
Reported version
3.x-dev
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project
Introduced by the chord symbol playback facility, we don't handle empty Nashville numbers correctly.
1) click any note or rest in any score with chord symbol playback enabled
2) Add / Text / Nashville Number
3) enter "1"
4) press space, verify you hear the playback
5) press space again - crash as we try to play the empty chord
FIx seems simple, only generate notes is rootTpc is valid.
Fix version
3.5.1
Comments
Chord symbol playback didn't exist in 3.4.
Yes, sorry, forgot to toggle that. More importantly, failed to note this is an assertion failure only, so only an issue in debug builds.
This PR fixes it as well as the issue I was investigating when I discovered this: https://github.com/musescore/MuseScore/pull/6351
Fixed in branch 3.x, commit 2c02b29b64
_fix #308064: assertion failure on empty nashville number
Resolves: https://musescore.org/en/node/308064
Playback of Nashville numbers was not handling empty elements
(for example, when hitting space without typing anything).
Fixed to check for this and skip realization._
Automatically closed -- issue fixed for 2 weeks with no activity.