Crash when creating parts if a rest on a wrong staff after using cross-staff notation

• May 2, 2019 - 19:43
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Many
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Tags
  1. Create parts
  2. Export parts to PDF
  3. Crash occurs amidst tge export process

The application also crashes for instance when changing tabs (to move to different parts).

Thanks for your help,
Hartmut


Comments

Title Crash after creating parts Crash after creating parts when rest on a wrong staff
Status active needs info

The crash is due to a quarter rest (measure 40, last staff) which is in a wrong location. It should be in the third staff.
rest.jpg

Change this location (with Ctrl + Shift + Up), and the issue is solved.
rest1.jpg
See: a Gestillte Sehnsucht - Op. 911 - Guitar and Voice.mscz

@Hartmut Janssen Do you remember anything about this measure that could explain why the file arrived in this state?

Title Crash after creating parts when rest on a wrong staff Crash creating parts when rest on a wrong staff
Status needs info active

Ok, understood. So this score: Brahms_-_Gestillte_Sehnsucht.mscz

It contains the sources of the error. The feature of the cross-staff notation was used at some point between the unique staff of the piano and that of the cello (which was copied-pasted I guess from the staff of the piano in F clef). Then, it can go wrong if you create parts, or if you copy and paste elsewhere.
It can be reproduced, for example, like this:

Steps:

1) Create a new piano score (test file: test cross rest.mscz)
2) On the second beat (say an eighth note and its eighth rest), use Ctrl + Shift + Down to switch this second beat to the second staff (the test file at this step: test1 cross rest.mscz )
3) Add a second instrument, say a guitar: test cross rest1.mscz
4) Copy the first measure of the piano (entirely, that is, first and second staff)
5) Paste on the first measure of the guitar

----------------> Crash

Title Crash creating parts when rest on a wrong staff Crash when creating parts if a rest on a wrong staff after using cross-staff notation
Fix version
3.1.0