Inserting measures can cause corruption
OS: macOS 13.0, Arch.: x86_64, MuseScore version (64-bit): 4.0.0-223472200, revision: 5485621
To reproduce:
-
Open score below
-
Insert 9 measures after measure 38
Insert measures here:
Result:
-
Save
-
Close and Reopen the file. It now reports corruption
One thing I noticed in the score is that in many cases the reported measure number/beat number in the lower left corner is incorrect. That leads me to believe that the file is already corrupt in a way that is not being detected by musescore. See the screenshot below.. Unfortunately I do not know how the file got into this state. It started its life as a MuseScore 3 file that was converted to MuseScore 4. The latest version of the musecore 3 version I have does not have the wierd measure numbering behavior, which makes me think that the issue was introduced some time after the conversion happened.
Notice how it says beat 13 even though there are only 6 beats per measure in the selected measure. In addition, the selected measure is actually measure 9, not measure 6.
There are no good workarounds for this issue. The best one I have come up with is to export the file to MusicXML, import it into MuseScore 3, insert the measures there, fix the corruption there, and then open it back up in MuseScore 4. I was unable to fix the resulting corruption inside MuseScore 4.
Attachment | Size |
---|---|
Flying_Song - IH Orchestra Version - issue repo.mscz | 364.45 KB |
Comments
I hope this isn't why my own score won't process on the website because I did insert measures a few times.
My other MuseScore 4 projects weren't like this.
Separate, but possibly related issue: https://musescore.org/en/node/341657
Your #341657: "Oops! Please try again. If the error occurs, please contact our Support Team. Thank you for understanding!" On One Specific Score. probably is related to that
see #340918: CRASH: "Insert Measure After Selection" (results in corrupt file)