Crash when inserting notes in voice 2 when first rest is deleted

• Apr 28, 2019 - 08:34
Reported version
3.0
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

You will need two adjacent measures.
In the second measure:
1) Insert two eighth rests in voice 1.
2) Insert a quarter rest into voice 2. MuseScore will automatically fill in the remainder of voice 2 with rests.
3) Delete the first quarter rest.

In the first measure:
1) Insert any note of any duration or pitch in voice 2 (as long as it would not tie over into the next measure).
2) Repeat the previous step until MuseScore attempts to place a note in the second measure, upon which MuseScore crashes.

See the attached file for more examples.

Attachment Size
crash multiple voices deleted rest.mscz 17.65 KB

Comments

Confirmed.
For some reason, the crash occurs if entering notes (last steps), eg two whole notes in voice 2, with computer keyboard. But works with mouse.
With virtual keyboard, no crash, but it refuses to enter the second whole note.
Complementary/minimal test file: test voices.mscz

Fix version
3.1.0