Changing measure duration creates corrupt score
Under certain circumstances modifying the actual duration of measures in Measure|Properties creates a file that MuseScore reports as corrupted when opening. Perhaps on changing 2 adjacent measures?
See attached image.
Running on MuseScore 2.1.0 unstable (compiled locally today) on Chromebook/Crouton/UbuntuTrusty, however have seen the same behavior on Windows 7 with MS 2.0.0 and earlier versions.
Steps to reproduce:
1) Create new file from template. Template is provided as attachment Church.mscz.
2) Set to 3/4 time.
3) Enter some music as shown in attachment "corrupt.png"
4) At measure 9, stop at note entry mode and change actual duration to 1 / 4
5) Enter note in measure 9
6) At measure 10, stop and change actual duration to 7/4.
7) Continue entering notes into measures 10 and 11.
8) Save file, exit the file, reopen the file, MuseScore reports corruption in measure 10.
Corrupted file is attached as 564c.mscz
Attachment | Size |
---|---|
corrupt.png | 29.72 KB |
564c.mscz | 14.74 KB |
Church.mscz | 9.61 KB |
Comments
Maybe a similar problem here https://musescore.com/user/3541/scores/864346
It's the drum track at 2/4 to 4/4 the voices split with a half note length. When trying to re-arrange the tracks I get an upload error https://musescore.com/user/3541/scores/883606
Hope to find a solution soon
I have one correction to what I posted earlier. I didn't actually use the Church.mscz as a template file. I actually used the template for "single instrument" that is provided with MuseScore.
I can reproduce the corruption.
The key seems to be the combination of the 7/4 actual duration and an empty measure, but the corruption is only detected if the original time signature is 3/4 rather than 4/4 (not sure about other time signatures).
I filed an issue: #61476: Corruption reading empty measure with 7/4 actual duration
Any solution to this issue yet? Kind of makes the program useless
In reply to Any solution to this issue by jscott1
Yes, it is fixed in the recent nightly builds
In reply to Yes, it is fixed in the by Jojo-Schmitz
Sorry - where/how do I find the "nightly builds"
In reply to Sorry - where/how do I find by jscott1
https://musescore.org/en/download#Nightly-versions
In reply to https://musescore.org/en/down by Jojo-Schmitz
I wouldn't advise to use nightly builds for anything serious. It's better to stick with 2.0.1 really. If you think that the inability to change the actual duration of a measure makes MuseScore useless, maybe there is another way to do what you want? The problem only occurs if the measure is more than 4/4 and starts with a whole rest. Changing the whole measure rest to a quarter note rest is enough to work around the problem.