Musescore 3 crashes when trying to open specific score, what to do?

• Sep 9, 2019 - 22:41

Hello dear list!

I was working on a score today, had to restart my computer at some point, and I can no longer open the score I was working on. I can open other scores, but with this one Musescore immediately crashes. I ran in terminal and get a segmentation fault.
Is there any thing I can do to salvage the days work? I did a whole bunch of things that is probably causing the problem, I'm guessing changing the staff type very often ...
Any help would be appreciated,
many thanks in advance,


In reply to by Shoichi

Thank you very much for your reply, unfortunately no luck.

I found out what seems to cause the crash though, it has to do with staff type changes and moving the offset values of one staff. For example If I want to start with one line, and then a few bars later change to five lines, then I want the line of the previous staff to align with the third line of the next staff, thus changing the offset. Musescore doesn't like this for some reason and immediately crashes when trying to open the file :S
I hope this feature will be more stable in the future, it's quite nice and I often deal with staff type changes. For now I'll just do what I've been doing previously, export to svg and do all the extra tweaking in inkscape.

In reply to by Jorge Eduardo Jonas

It crashes for me on Windows 7, with MuseScore 3.2.3 and the latest development build
Stack trace:
1 Ms::Fraction::operator+ fraction.h 198 0xe1e170
2 Ms::MeasureBase::endTick measurebase.h 128 0xe1293c
3 Ms::Staff::staffTypeListChanged staff.cpp 1003 0x947fc2
4 Ms::Measure::add measure.cpp 911 0x8c865b
5 Ms::MeasureBase::readProperties measurebase.cpp 547 0x8c4735
6 Ms::Measure::read measure.cpp 2048 0x8ce945
7 Ms::Score::readStaff scorefile.cpp 301 0x9e6445
8 Ms::Score::read read301.cpp 45 0xa5586e
9 Ms::MasterScore::read read301.cpp 277 0xa5705f
10 Ms::MasterScore::read301 read301.cpp 329 0xa57357
11 Ms::MasterScore::read1 scorefile.cpp 962 0x9ea1e7
12 Ms::MasterScore::loadCompressedMsc scorefile.cpp 822 0x9e951a
13 Ms::MasterScore::loadMsc scorefile.cpp 874 0x9e9875
14 Ms::MasterScore::loadMsc scorefile.cpp 865 0x9e9788
15 Ms::readScore file.cpp 2270 0x65d87c
16 Ms::MuseScore::readScore file.cpp 349 0x64c336
17 Ms::MuseScore::openScore file.cpp 327 0x64c1fc
18 Ms::MuseScore::loadFiles file.cpp 304 0x64beaa
19 Ms::MuseScore::cmd musescore.cpp 6098 0x508fd0
20 Ms::MuseScore::cmd musescore.cpp 5906 0x508188

As such it seems a known issue, see #291969: Crash on load of score with staff type change on measure 1

In reply to by Marc Sabatella

Hi! Thanks for your reply! that works!

What I'm doing now is setting the instrument as a one line instrument from the beginning, and then when 5 lines are needed I change.

If using one line and changing to five lines, it aligns with the upper line, is there a way to change this default behavior? so that it aligns with the third line instead? (as in the attached score)

Many thanks in advance,

Attachment Size
Screenshot_2019-09-10_16-28-12.png 555.69 KB

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