Musescore crashes upon copy-pasting tremolo across bar lines

• Dec 21, 2020 - 21:35
Reported version
3.5
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project

1) Create a tremolo that alternates between two notes
2) Move the notes such that their duration causes the tremolo notes to cross a bar line

Expected behaviour: either Musescore obliges and allows the tremolo to be played, OR Musescore forbids the action and displays an error message (as is the case with trying to add tuplets between bar lines)

Actual behaviour: Musescore crashes.


Comments

And if I try to paste it in a way so that one of the notes would cross the barline, like paste a half-note tremolo on the last quarter rest of a measure, I do get the error message that this is a forbidden action for a tremolo

This crashes for me in latest 3.x:

  1. Fill measure 1 with two quarter notes and two quarter rests.
  2. Select the first quarter note and apply the "16th between notes" tremolo.
  3. Copy the first two beats and paste onto beat 4.

It crashes here because _tremolo->chord2() is NULL. Checking for NULL before dereferencing prevents the crash, but indeed the result does not look nice.

Frequency Few  
Status active needs info

I'm not sure. It may just be another way to achieve a tremolo that has no second chord.