A Musescore File (Score) is crashing my musescore every time i open it
Hello,
My Name is Jacob De Foy, i'm a small time composer that has been working on a project for a very long time.
as of right now, we have reached the final Movement of our production, However, the Score used for the last movement will not load into the muse score application. to be specific, before i re downloaded Musescore 3, i was using the Alpha Version of Musescore 3.5. i was writing more music on that score late one night, and decided it time to go to bed. the next morning tried to open Musescore 3.5, but it would not open past where it would say "Restoring Session". I was confused for a very long time thinking on what it could be, so i decided since i had already sen a recent copy of the score to my friend before hand, I would delete all contents of the score from my device, because i would be able to get it back from my friend later, thanks to this, my Musescore was able to start again, so i obtained the file i had gotten from my friend that i had just deleted off of my device, and tried opening it in Musescore again. The same had happened to me, the application had crashed without ever loading in the score. when i opened the application again, an icon that did not appear on Musescore 3.5 said "Would you like to Restore your session" as similar things have happened to me before, i clicked "no". and the application was able to load once again, without the score in it. i asked my friend if he could load the file through his Musescore. but the same had happened to him as well. If there is anyone that can help, you would have my sincere Gratitude, as this piece is very important to me and my friends
- Jacob De Foy
Comments
Please share that score
In reply to Please share that score by Jojo-Schmitz
Here it is, if possible, please refrain from sharing.
Thank you.
In reply to Here it is, if possible,… by Jake DeFoy
It indeed crashes 3.4.2. 3.5 Alpha and also the latest development build.
In reply to Here it is, if possible,… by Jake DeFoy
Stack tace:
1 Ms::Drumset::noteHeads drumset.h 74 0xfdf392
2 Ms::Note::noteHead note.cpp 883 0x9a56e2
3 Ms::Note::bboxRightPos note.cpp 917 0x9a5897
4 Ms::Score::layoutChords2 layout.cpp 661 0x96318e
5 Ms::Score::layoutChords1 layout.cpp 239 0x961a62
6 Ms::Score::getNextMeasure layout.cpp 2776 0x96decf
7 Ms::Score::collectLinearSystem layoutlinear.cpp 177 0xb5b851
8 Ms::Score::layoutLinear layoutlinear.cpp 192 0xb5b8e8
9 Ms::Score::doLayoutRange layout.cpp 4596 0x9796bc
10 Ms::Score::update cmd.cpp 302 0xaa4226
11 Ms::Score::update score.h 751 0xeb634a
12 Ms::readScore file.cpp 2495 0x4c3de8
13 Ms::MuseScore::readScore file.cpp 383 0x4b070e
14 Ms::MuseScore::openScore file.cpp 361 0x4b05ce
15 Ms::MuseScore::doLoadFiles file.cpp 338 0x4b03e0
16 Ms::MuseScore::openFiles file.cpp 303 0x4affc1
17 Ms::MuseScore::cmd musescore.cpp 6163 0x42fb9e
18 Ms::MuseScore::cmd musescore.cpp 5954 0x42eaab
19 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 513 0x59f427
20 QMetaObject::activate(QObject *, int, int, void * *) 0x68a947c8
...
In reply to Stack tace: 1 Ms::Drumset:… by Jojo-Schmitz
Looks like #305293: Crash on load if percussion staff with no drumset uses custom notehead
In reply to Looks like #305293: File… by Jojo-Schmitz
Fixed in MuseScore 3.5 Beta (shortly)
In reply to Here it is, if possible,… by Jake DeFoy
The score used quite a lot of soundfonts and also MDL
In reply to Here it is, if possible,… by Jake DeFoy
Seems it got taken from here:
https://musescore.com/user/2715391/scores/6027637
In reply to Seems it got taken from here… by Jojo-Schmitz
yes, that is the first movement of our project, and that is my wind writer Greg. i look at the issue you had just recently posted, but couldn't really if you were telling me how to fix it. is it just an unfix able?
In reply to Seems it got taken from here… by Jojo-Schmitz
yes, that is the first movement of our project, and that is my wind writer Greg. i look at the issue you had just recently posted, but couldn't really if you were telling me how to fix it. is it just an unfix able?
In reply to yes, that is the first… by Jake DeFoy
So far it seems not easily fixable
In reply to So far it seems not easily… by Jojo-Schmitz
so how would i be able to fix it?
In reply to so how would i be able to… by Jake DeFoy
Looking for a backup, an earlier version maybe?
In reply to Looking for a backup, an… by Jojo-Schmitz
How do I know that this song occur again to the back up file I have
In reply to Looking for a backup, an… by Jojo-Schmitz
Or more so, how can I prevent this from happening again?
In reply to Or more so, how can I… by Jake DeFoy
As long as it isn't know what causes is there's not much you can do to prevent it.
Except for having frequent backups
In reply to As long as it isn't know… by Jojo-Schmitz
I'm sorry, i'm confused as to what you were trying to say, could you please restate your answer?
In reply to I'm sorry, i'm confused as… by Jake DeFoy
The cause for the crash is not understood, so there's no way to tell you how to avoid it.
In reply to The cause for the crash is… by Jojo-Schmitz
For what it's worth, opening this file with version 2.3.2 gives a "XML read error at line 4329 column 18: KeySig" error when you click on the Details button.
In reply to For what it's worth, opening… by [DELETED] 29378932
Interesting thought, but doesn't seem to help here, of course MuseScore 2.x doesn't read 3.x files.
That error message is perfectly normal for MuseScore 2.x with opening any musescore 3.x file
In reply to Or more so, how can I… by Jake DeFoy
The cause appears to be a staff that was created as a percussion staff but at some point it lost its drumset definition. Shouldn't cause a crash, of course, but anyhow, it's a problem with the score for sure. Did you by chance uncheck the "Drumset" box in the Mixer for the percussion staff? Don't do that , not sure why we even have that box really.
Anyhow, it was easy enough to put a temporary workaround in place in the code and save a fixed version of the score, so I've attached it below.
In reply to The cause appears to be a… by Marc Sabatella
Thank you, this helps alot, the percussion staff uses a soundfont called raq paq, which are soundfonts thay I made and use for every show I make
In reply to The cause appears to be a… by Marc Sabatella
Is there a way for me to still use this sound font with a drumset layout without this issue occuring again
In reply to Is there a way for me to… by Jake DeFoy
Is the soundfont set up to be used for drumsets? If so, leave the drumset box checked. If not use a standard staff rather than a percussion staff.
In reply to Is the soundfont set up to… by Marc Sabatella
every time i import the soundfont into the drumset, i have to go into the drumset settings and load in a seperate drm file which allows it to be used as a drumset.
In reply to every time i import the… by Jake DeFoy
I'm not following. You don't import a soundfonts into a drumsets, you simply load it into MuseScore as a whole, in View / Synthesizer. Then you tell MuseScore to use that soundfont for a given instrument, in View / Mixer. If the soundfont was designed to be used with percussion instruments - it has the special drumset flag set, I guess, and uses a different sound for each pitch - then that's all there is to it. If the soundfont was not designed to be used with percussion instruments, then you can't use it with one as far as I know. You would need to create a standard staff to use with that soundfont.
The drm file is just something that specifies how different pitches should be displayed. If your soundfont is a true percussion soundfont, and your staff is a true percussion staff, then you can load any drm file you like. Otherwise you can't.
In reply to I'm not following. You don… by Marc Sabatella
My apologies, i had use the wrong to term to describe loading in soundfonts. the soundfont is a true percussion soundfont, its just weird because in the 4 months of using this soundfont, this has never occurred, and i am wondering why that might be
In reply to My apologies, i had use the… by Jake DeFoy
Maybe you never accidentally unchecked the Drumset box in the Mixer before?
In reply to Maybe you never accidentally… by Marc Sabatella
i think ive always unchecked the box because for the longest time, that's how i thought the only way to be able to load in the raq paq was by unchecking the box and applying it through the non-drumset mixer
In reply to Maybe you never accidentally… by Marc Sabatella
to add, the raq paq does not appear in the list of drumset soundfonts, is there a way to make that happen?
In reply to to add, the raq paq does not… by Jake DeFoy
Does it appear in the list of soundfonts for pitched staves? That’s why I asked if it was truly set up for percussion. I am guessing it was not. But you’d have to consult the documentation for your soundfont editor to understand more about how to make sure that happens. Meanwhile, I said, if it is not a true percussion soundfont (or more accurately, does not contain a drum “kit”), you need to use a pitched staff.
In reply to Does it appear in the list… by Marc Sabatella
was the staff not pitched before? and when you mean "pitched staff", you mean a staff that has the functions of a drum-set sound font but instead is being displayed by a pitched staff?
In reply to was the staff not pitched… by Jake DeFoy
I don't know what might have been before, I only what it is not: the staff was defined to be a percussion stuff but it had no drumset definition. That's not a valid combination.
By pitched staff, yes, I mean a staff you add using a pitched instrument of your choice - trumpet, timpani, guitar, kazoo, doesn't matter - but use your soundfont with. If your soundfont sounds like percussion even though it isn't actually defined as a percussion soundfont, that should do it.
You say you;ve used this soundfont before - how did you set it up then? Same approach should work now. Feel free to attach one such score (that actually works) if you're having trouble remembering.
In reply to I don't know what might have… by Marc Sabatella
Thank you for both of your guys help, this really has done alot.👍