Copy-paste tremolo with slur causes crash

• Dec 23, 2018 - 01:07
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project

Go to measure 83. Copy the tremolo measure from Vl. I. Move over one measure to the hidden staff in the next system, paste. Crash.

Works fine when I paste to the visible flute staff, crashed when I pasted to invisible trumpet staff.

Edited: Crashed when I pasted to visible bassoon staff. I copied a different tremolo measure and tried that, no crash. Something with that measure in particular? No idea why it's crashing, needs a debugger.

Attachment Size
Dvorak_Symphony_No._8_Mvt4.mscz 50.57 KB

Comments

Title Crash on pasting. Copy-paste tremolo with slur causes crash

OS: Windows 7 SP 1 (6.1), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4747, revision: 96c1f7b

Steps:
1) Default score
2) In first measure, add two half notes with tremolo + slur (necessary condition)
3) Copy-paste this measure in measure 2

Result: crash

See:

Video_2018-12-23_043941.gif

Status PR created fixed

Fixed in branch master, commit ceafb34d91

fix #280503: disable generating play events before layout

The disabled code was introduced in ab9774ec4098512068b8ef708167d9aa6e702c50
and is actually used only when slurs are added or removed.
It is not clear whether slurs playback actually needs this code as
playback itself does not seem to alter with this change, and other
slurs-related code from the mentioned commit is probably not present
now.

Fix version
3.0.1