A Musescore File (Score) is crashing my musescore every time i open it

• Jun 7, 2020 - 07:26

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


In reply to 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 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 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 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 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.

Do you still have an unanswered question? Please log in first to post your question.