Particular .mscz file crashes MuseScore 3.0.5 before it can open

• Apr 30, 2019 - 05:02
Reported version
S3 - Major

Upon double-clicking a particular .mscz file, Musescore begins to open (showing the logo and version number) but then abruptly crashes. In subsequent attempts to open the file, a pop-up box offers to reopen windows from the last session. Whether accepted or declined the program crashes. There is also a second pop-up box offering to restore the last session, and nothing happens when an option on that box is selected. (I've attached a screenshot for reference.)

If Musescore is opened first, and then the .mscz file is opened from Musescore, the program crashes.

The program first crashed while I was working on the score, so this version of the piece updated and I didn't have a chance to manually make any backups elsewhere.

The file is attached below as "Elle".

Attachment Size
PopUps.png 916.64 KB
Elle.mscz 36.3 KB


See for how to recover backup files MuseScore created for you automatically.

Latest development build crashes on it too.

Stack trace:
1 Ms::ChordRest::staffMove chordrest.h 113 0xdc2910
2 Ms::Measure::stretchMeasure measure.cpp 3261 0x8a06c7
3 Ms::Score::collectSystem layout.cpp 3535 0x87e213
4 Ms::LayoutContext::collectPage layout.cpp 4103 0x881f98
5 Ms::LayoutContext::layout layout.cpp 4407 0x883b8e
6 Ms::Score::doLayoutRange layout.cpp 4393 0x883a8d
7 Ms::Score::update cmd.cpp 220 0x98265f
8 Ms::readScore file.cpp 2345 0x646bfa
9 Ms::MuseScore::readScore file.cpp 346 0x63519c
10 Ms::MuseScore::openScore file.cpp 324 0x635061
11 Ms::MuseScore::loadFiles file.cpp 304 0x634d56
12 Ms::MuseScore::cmd musescore.cpp 5931 0x4f518e
13 Ms::MuseScore::cmd musescore.cpp 5739 0x4f4353
14 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 855 0x40a1d6
15 ZN11QMetaObject8activateEP7QObjectiiPPv 0x68c81805
16 ZN12QActionGroup7hoveredEP7QAction 0x26304ee5

Looks like a tremolo between 2 notes where the 2nd note doesn't exist?

After some code mods I can load the score and see this:
I don't understand how a whole note can possible fit into a 3/4 measure, or how a tremolo between 2 half notes can?

Attached a 'fixed' score with those tremolos removed, it loads in 3.0.5 again

Attachment Size
Elle2.mscz 35.44 KB

OK, it seems to be just one of the tremolos to be the culprit, the very first in the score, in measure 140.
Attached the score with just that one removed. No visible difference between the 2 in the 'fixed' MuseScore version (which avoids the layout in this particular case, so this is probably to be expected). The Score Comparison Tool though does mention "Measure 140: removed element Tremolo"

Attachment Size
Elle.mscx 173.73 KB

In reply to by Jojo-Schmitz

Thank you so much for the prompt help! Sorry I've not been able to respond sooner. The modified files are working for me.

Looking back at the files that you modified I think I know what happened. I moved those tremolos (in 4/4 time) to late in the score because I wasn't sure if/when I wanted to use that section. I forgot that this bit was there and changed time signatures to 3/4 earlier in the score. I guess the 4/4 notation couldn't fit itself into 3/4.

Fix version