Crash in a score with tremolo in invisible staff in multi-measure rest
Reported version
3.2
Priority
P1 - High
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project
1) Create a score with two instruments, say, Voice and Violin.
2) In Violin staff put two notes with a tremolo between them.
3) In Instruments dialog make Violin staff invisible.
4) Enable MM rests (M).
5) Save/close/reopen a score (test file at this stage: 03_tremolo_invisible_staff_mmrest1.mscz ).
6) Do one of the following:
- Press "Play"
- Press M
Result: crash (or, more precisely, a fatal message "Chord::tremoloChordType(): inconsistency 0x0 - 0x0, this is 0x561731df7c40").
A workaround is to enter a note input mode, fill that MM rest with notes and undo everything to the initial state. That doesn't help though if processing a score via a command-line.
Attachment | Size |
---|---|
03_tremolo_invisible_staff_mmrest1.mscz | 3.84 KB |
Fix version
3.3.0
Comments
See https://github.com/musescore/MuseScore/pull/5206.
Fixed in branch master, commit 754ddfd307
fix #291698: ensure consistent state of two-notes tremolo after file reading
Fixed in branch master, commit 223d900f6e
_Merge pull request #5206 from dmitrio95/291698-connect-tremolo-on-read
fix #291698: ensure consistent state of two-notes tremolo after file reading_
Automatically closed -- issue fixed for 2 weeks with no activity.