Copying passage with cross-staff slur causes a crash

• Oct 15, 2015 - 01:35
Reported version
2.1
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Steps to reproduce bug
1. Open the attached score.
2. Copy the bass clef and paste it into the empty measure.
MuseScore crashes.
Note: MuseScore did not crash when the treble clef was copied and pasted.

MuseScore version 2.0.2, revision dd4530e, nightly build. (Windows 10)

Attachment Size
Error.mscz 5.58 KB

Comments

Title Copying causes a crash Copying passage with cross-staff slur causes a crash

The crash occurs as we try to update the selection after the paste, and we are failing to find the start element for the copied slur. It's the second slur, which technically extends from the bottom to top staff, that causes the problem. Not sure why; other cross-staff slurs are fine, even when combined with cross-staff notation like this one is.

Status (old) active fixed

Crashes in 2.0.2, but not in nightly d349682. Marking as fixed.
After pasting:
NOT FOUND: 1

Note:
The slur probably shouldn't be there and is placed incorrectly. New bug?

Attachment Size
afterPasting2.png 81.52 KB
Status (old) fixed active

Still crashes for me; probably something system dependent.

EDIT: well, it crashes using a 2.0.3 build from a little while ago, not with a build from master, but I also get the wrong attachment of the slur. Maybe this is related to #81321: Slur anchor wrong?