Musescore closing down on pressing 'play' on old(ish) file
OS: Windows , Arch.: x86_64, MuseScore version (32-bit): 2.3.1, revision: 0899e9d
Hi all,
my latest version of Mscore is working absolutely fine. Decided to pull a score out from the dusty corner of my computer and have a listen. It shut Musescore down. Tried again and pressed the 'Rewind' button rather than the Play button. Same result. To eliminate my computer from the mix, a friend downloaded Musescore to his (new) computer, then the file in question. It shut down Musescore in exactly the same annoying way.
Methinks it must be something in the file. I can't remember which format I am supposed to upload for someone to have a butchers.
Comments
The *.mscz file
This is the offending file!
In reply to This is the offending file! by onscuba
This file appears to be corrupted and shouldn't be used.
In reply to This file appears to be… by [DELETED] 25874821
Sure? No message about any corruption though
In reply to This is the offending file! by onscuba
Can't be that old, it got last saved with 2.3.1.
But indeed crashes when starting playback in 2.3.1 and in 2.2.1.
Not in 2.0.3 or 2.1 though, so yet another 2.2 regression?
Crashes due to due a failed assertion:
Fatal: ASSERT: "!_endElement || _endElement->type() == Element::Type::MEASURE" in file ...\MuseScore\libmscore\spanner.cpp, line 771 (:0, )
In reply to Can't be that old, it got… by Jojo-Schmitz
Try this (ignore the error)
In reply to TrY this (ignore the error)y by Shoichi
Amazing! Thank you. What did you do so I'll know for the future?
Also, I think the file must have been a bit corrupt as there were lots of tied notes where the second note had 'jumped' the octave and the tie just went randomly onwards.
In reply to Amazing! Thank you. What did… by onscuba
With my usual tools: A hammer a screwdriver and a wire ;-)
I opened the file with a previous version (2.2.1) deleted the parts exported as xml.
Open with 2.3.1 even if it shows an error
In reply to Can't be that old, it got… by Jojo-Schmitz
Hi Jojo
I tried to save it today in "new" version to see if that would help. It didn't of course!
In reply to Hi Jojo… by onscuba
Do you still have the old version and can attach it here?
(like recovered from the backup file, losing the trailing comma and the leading dot)
In reply to Do you stil have the old… by Jojo-Schmitz
Sorry Jojo, I do not understand where to find a backup version. Is that somewhere inside the programme rather than where I store my scores?
In reply to Sorry Jojo, I do not… by onscuba
just next to where the mscz file is. You may need to enable hidden files to be shown. See https://musescore.org/en/node/52116
In reply to Sorry Jojo, I do not… by onscuba
is this the one?
In reply to is this the one? by onscuba
oops was I supposed to remove the dot?
In reply to oops was I supposed to… by onscuba
That should be the file, yes, rename the leading dot and trailing comma away, Otherwise it can't get downloaded from the site
In reply to is this the one? by onscuba
You need the file that does not start with the . and end with the ,
Edit: you need to remove the . and , so it can be downloaded.
In reply to You need the file that does… by mike320
not this time, I asked for the backup...
Edit: exactly
In reply to not this time, I asked for… by Jojo-Schmitz
It doesn't take a lot but now I am confused. Am I supposed to be renaming the file without the dot and comma and re-attaching it. Or does the dot and comma signify that the one I sent earlier is the backup and therefore the one that you asked for? Sorry for taking up your time.
In reply to It doesn't take a lot but… by onscuba
here is what the bad ties and weird octave jumps look like
In reply to here is what the bad ties… by onscuba
Those ties look like what happens if you select a note to tie but the next note is not of the same pitch. This is normal, the feature exists to facilitate notation of arpeggiate-and-hold figures. The octave jumps look like something that may have resulted from a bug in transposition that was fixed years ago, but older scores created before that fix would not automatically get fixed.
In reply to It doesn't take a lot but… by onscuba
I'd like to see that dot/coma file, but renamed, so without dot and comma, as otherwise I can't download it from musescore.org
In reply to I'd like to see that dot… by Jojo-Schmitz
here is the file (copied and name changed.
In reply to here is the file (copied and… by onscuba
OK, that file got created (at least last saved) with MuseScore 2.0.1
The code for that bogus volta:
The crash seems to be triggered by a volta from measures 11-12 that, instead of being attached to the measures themselves, is attached to notes within it. That isn't supposed to be possible, but somehow it happened, probably due to a bug in the version you originally created this with. Would be nice to figure out how that happened so we can see if it's still possible to create a file that is corrupt in this way. We should also look into how to automatically fix this problem in existing scores.
Meanwhile, you can fix the file by removing that volta and re-adding it.
In reply to The crash seems to be… by Marc Sabatella
Thanks Marc. As you so correctly worked out, the volta is fixed and it now plays. However, that doesn't explain why there are those unexplained 8ve jumps (in either direction) and the ties disappearing into the wilderness.
I'm currently going through and deleting the ties, dropping/raising the 8ve and then re-tieing. A pain but at least its recoverable.
I won't ask how you worked out it was the volta that was the problem as I am certain it's way beyond my level of understanding. Thanks again.
In reply to Thanks Marc. As you so… by onscuba
Don't know whether this of interest to the MusescoreElfs but the program seems to know what it it should be 'playing' despite what it is showing in the score. ie it doesn't play the spurious octaves that are shown in the score.
See #274690: Playback of a score starting with a volta fails and leads to crash
In reply to See #274690: Playback of a… by Jojo-Schmitz
Hi Jojo
I have no idea whether or not this is helpful but looking thru' my backup drives I found this which might help date the version it was created in??
In reply to Hi Jojo… by onscuba
This seems to be an even older version (02/11/2014) than the one you attached further up (2015-06-19), mind to renam (to lose . and comma) and attach here too?
In reply to This seems to be an even… by Jojo-Schmitz
this?
In reply to this? by onscuba
Yep. Created (or last saved) with MuseScore 2.0.0
In reply to This seems to be an even… by Jojo-Schmitz
FWIW, 2014 was before the release of 2.0. So if this file was created originally using an experimental nightly build, I think we can put this to rest as "that's just what happens when you try using experimental nightly builds for real work". If it was created originally using 1.3, that's another matter. Could still be a bug in 1.3 that was fixed long ago. I still can't say what specifically about the way the volta is represented in the file is triggering the problem, though.
In reply to FWIW, 2014 was before the… by Marc Sabatella
Ah, I didn't check the exact commit, so we'll possible it was done in some development version.
In reply to Ah, I didn't check the exact… by Jojo-Schmitz
thank you for your time jojo
In reply to FWIW, 2014 was before the… by Marc Sabatella
thank you for your time Marc