Crash when creating parts if a rest on a wrong staff after using cross-staff notation
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Many
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
- Create parts
- Export parts to PDF
- 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
Attachment | Size |
---|---|
Gestillte Sehnsucht - Op. 911 - Guitar and Voice.mscz | 98.65 KB |
Fix version
3.1.0
Comments
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.
Change this location (with Ctrl + Shift + Up), and the issue is solved.
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?
In reply to The crash is due to a… by cadiz1
Thanks for your help, Cadiz1. This has solved the problem.
The issue was caused by the fact, that I am too lazy to type in an entire piece. Therefore I downloaded the file from https://musescore.com/jose-daniel-martinez/scores/3646271and altered it to suit it for my guitar ensemble. How I've managed to create such a bug in my score along the way I don't really know.
Thanks again,
Hartmut
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
See https://github.com/musescore/MuseScore/pull/4997.
Fixed in branch master, commit 5aa7cca1da
fix #288609: Crash when creating parts if a rest on a wrong staff after using cross-staff notation
Fixed in branch master, commit 60546fcfd8
_Merge pull request #4997 from mattmcclinch/288609-paste-staff
fix #288609: Crash when creating parts if a rest on a wrong staff after using cross-staff notation_
Automatically closed -- issue fixed for 2 weeks with no activity.