Strange crash when opening a Musescore 2 file

• Mar 6, 2020 - 02:17
Reported version
3.4
Type
Performance
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
duplicate
Regression
No
Workaround
Yes
Project

When I open the score below, both Musescore 3.4 and the nightly builds crash. What's wrong? I can open it in Musescore 2. Is it a compatibility problem?
The score is here:
https://musescore.com/user/158781/scores/4993929

Regards,
Haipeng


Comments

Load the score into MuseScore 2, insert a system break after measure 520, and save the file. You will then be able to load the score into MuseScore 3.4, but it does take much longer than loading into MuseScore 2, and it will warn you that the file is corrupt. But you can ignore the warning and edit the score anyway. The glissando in measure 521 was causing a problem during layout since its end element did not yet have a system, but forcing it to not span multiple systems makes the problem go away.

Severity S1 - Blocker S2 - Critical
Workaround No Yes

Not a blocker (as you can use MuseScore 2) and also with a Workaround (see above)

Stack trace:
1 std::vector::end stl_vector.h 591 0xfc68a0
2 Ms::System::firstMeasure system.cpp 1015 0xa20c7a
3 Ms::Glissando::layout glissando.cpp 277 0x906d1b
4 Ms::LayoutContext::collectPage layout.cpp 4306 0x94a4e6
5 Ms::LayoutContext::layout layout.cpp 4515 0x94b684
6 Ms::Score::doLayoutRange layout.cpp 4503 0x94b5d0
7 Ms::Score::doLayout layout.cpp 4341 0x94a86b
8 Ms::MasterScore::read206 read206.cpp 4046 0xb174bd
9 Ms::MasterScore::read1 scorefile.cpp 960 0xaa5191
10 Ms::MasterScore::loadCompressedMsc scorefile.cpp 822 0xaa448b
11 Ms::MasterScore::loadMsc scorefile.cpp 874 0xaa486b
12 Ms::MasterScore::loadMsc scorefile.cpp 865 0xaa4747
13 Ms::readScore file.cpp 2271 0x4dfbef
14 Ms::MuseScore::readScore file.cpp 350 0x4cd7a6
15 Ms::MuseScore::openScore file.cpp 328 0x4cd666
16 Ms::MuseScore::loadFiles file.cpp 305 0x4cd262
17 Ms::MuseScore::cmd musescore.cpp 6030 0x42f43a
18 Ms::MuseScore::cmd musescore.cpp 5828 0x42e43b
19 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 514 0x6330d9
20 void doActivate(QObject *, int, void * *) 0x68be03cd
...