Crash on pasting trill lines with accidental

• Nov 30, 2021 - 04:20
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
Yes
Project

**Regression unknown

Here are the steps to reproduce, given you have created any score (no unpitched percussion)
1) Enter any note on your instrument
2) Put a trill line over it
3) Set an accidental on the trill line
4) Copy the trill line with the accidental
5) Paste anywhere
The program will crash upon pasting.

Using my attached "HAZMAT" score:
1) Copy one of the trill lines
2) Paste anywhere
The program will crash.

Attachment Size
Trill_Line_Crash_Test.mscz 6.91 KB

Comments

Title Attempting to Copy and Paste Trill Lines Crashes the Program Crash on pasting trill lines with accidental

Confirmed. I got the crash by selecting the line and hitting Ctrl+C to copy, then clicking a new note and Ctrl+V to paste. Only if the line has an accidental. As far as I know, this operation isn't actually supported - lines in general can't be copied and pasted, although apparently a special case was made for hairpins? But it shouldn't crash. And it would be nice to someday support more direct copy/paste of lines.

And it crashes without a stack trace, and is not an assertion failure either !?!?!

"Famous last words":
pure virtual method called
MuseScore 3.exe wurde mit dem Rückgabewert 3 beendet (exit code 3)