Crash in a score with tremolo in invisible staff in multi-measure rest

• Jul 3, 2019 - 10:09
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

Comments

Fix version
3.3.0