MS 3.1 Beta crash in Spanner::endCR() on unassigned track2
Reported version
3.x-dev
Type
Functional
Frequency
Once
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project
1) Open score "Fur Sarah" from musescore.com: https://musescore.com/user/14456/scores/26650 in MS 3.1 beta
2) See it crash
Crashreport has been sent yesterday. Score has also been attached for convenience.
Attachment | Size |
---|---|
Fur_Sarah.mscz | 11.57 KB |
Fix version
3.1.0
Comments
Stack trace:
1 Ms::toChordRest scoreElement.h 422 0x971bea
2 Ms::Spanner::endCR spanner.cpp 772 0x974a0b
3 Ms::Score::layoutSystemElements layout.cpp 3757 0x8dd2ba
4 Ms::Score::collectSystem layout.cpp 3548 0x8db4bd
5 Ms::LayoutContext::collectPage layout.cpp 4093 0x8df5e4
6 Ms::LayoutContext::layout layout.cpp 4397 0x8e13e6
7 Ms::Score::doLayoutRange layout.cpp 4383 0x8e12cd
8 Ms::Score::update cmd.cpp 220 0x9f78fd
9 Ms::readScore file.cpp 2347 0x673a6d
10 Ms::MuseScore::readScore file.cpp 346 0x660ec2
11 Ms::MuseScore::openScore file.cpp 324 0x660d82
12 Ms::MuseScore::loadFiles file.cpp 304 0x6609f9
13 Ms::MuseScore::cmd musescore.cpp 5927 0x50bdf0
14 Ms::MuseScore::cmd musescore.cpp 5735 0x50adf8
15 Ms::MuseScore::qt_static_metacall moc_musescore.cpp 855 0x40bddd
16 QMetaObject::activate(QObject *, int, int, void * *) 0x68a9338a
17 QActionGroup::hovered(QAction *) 0x26904db2
18 QActionGroup::qt_static_metacall(QObject *, QMetaObject::Call, int, void * *) 0x2690573c
19 QMetaObject::activate(QObject *, int, int, void * *) 0x68a9338a
20 QAction::activate(QAction::ActionEvent) 0x26903e0e
...
Something to do with a cross-staff slur having no end on a Chord/Rest?
MuseScore 3.0.5 does not crash on it, but reveals that the score stems from MuseScore 1.1, stoneage ;-)
Apparently it is enough already to open and save that score with MuseScore 1.3 or 2.3.2 or 3.0.5
So only the original score from MuseScore 1.1 causes the 3.1 Beta to crash
Which is of course a regression, but workarounds do exist
Thanks for the analysis. That's an easy workaround.
See https://github.com/musescore/MuseScore/pull/4927
Fixed in branch master, commit 697668e189
fix #287806: fix a crash in Spanner::endCR() on unassigned track2
Fixed in branch master, commit d11463de18
_Merge pull request #4927 from dmitrio95/287806-endCR-track2-crash
fix #287806: fix a crash in Spanner::endCR() on unassigned track2_
Automatically closed -- issue fixed for 2 weeks with no activity.