Crash opening score related to staffTypeChange
Reported version
3.0
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Always
Status
duplicate
Regression
Yes
Workaround
Yes
Project
klik to open the file
musescore 3 opens
musescore gives an error previous session had en error
musescore closes itself again
tried to open it in musescore 2
musescore error: it is written in a newer version can not open it
if i click ignore
new musescore error; wrong format
Attachment | Size |
---|---|
gitaar_werk_v3.mscz | 21.91 KB |
Comments
confirmed, MuseScore 3.0.2 on Windows 10 crashes on it
Stack trace:
1 Ms::MeasureBase::endTick measurebase.h 123 0xd5181d
2 Ms::Staff::staffTypeListChanged staff.cpp 982 0x8cf2a5
3 Ms::StaffTypeChange::setProperty stafftypechange.cpp 207 0x9cc098
4 Ms::ScoreElement::readProperty scoreElement.cpp 354 0x99ba21
5 Ms::ScoreElement::readProperty scoreElement.cpp 362 0x99bad3
6 Ms::Element::readProperties element.cpp 538 0x8055fa
7 Ms::StaffTypeChange::read stafftypechange.cpp 68 0x9cb579
8 Ms::MeasureBase::readProperties measurebase.cpp 535 0x85bfc7
9 Ms::Measure::read measure.cpp 2017 0x864f75
10 Ms::Score::readStaff scorefile.cpp 302 0x963f64
11 Ms::Score::read read301.cpp 45 0x9c8c84
12 Ms::MasterScore::read read301.cpp 275 0x9ca4ad
13 Ms::MasterScore::read301 read301.cpp 327 0x9ca7a9
14 Ms::MasterScore::read1 scorefile.cpp 963 0x967c73
15 Ms::MasterScore::loadCompressedMsc scorefile.cpp 823 0x966f80
16 Ms::MasterScore::loadMsc scorefile.cpp 875 0x9672db
17 Ms::MasterScore::loadMsc scorefile.cpp 866 0x9671ee
18 Ms::readScore file.cpp 2244 0x609b0a
19 Ms::MuseScore::readScore file.cpp 341 0x5f89f2
20 Ms::MuseScore::openScore file.cpp 319 0x5f88b7
...
In reply to (No subject) by Jojo-Schmitz
How can I fix it or have a workaround?
It was a score for single Guitar (and created with the 3.0.2) ? Or other source?
What can you say about a staff type change in this score? What did you want to do?
In reply to It was a score for single… by cadiz1
Indeed a guitar piece, two bars however
First created in MS 2, then converted to MS 3 when downloaded,
I worked for some time in MS 3 before I received the error.
two bars?
In reply to two bars? by Jojo-Schmitz
Like this attachment, I don't know if it matters.
By extracting the mscx file and deleting the staff type change (line 176) it seems to work.
In reply to By extracting the mscx file… by kuwitt
Great!! You are my heroes!!
Thank you so much
:-D
issue can be closed
You're welcome. But in case it happens again and you've steps to reproduce, please reopen this issue again to exclude a bug.
A similar, probably even idenical issue just came up in https://musescore.org/en/node/292256, so I'm reopening this here, as it never really got resolved
Actually this here as well as that other probably are due to #291969: Crash on load of score with staff type change on measure 1