Crash when deleting a horizontal frame if corrupt part

• Mar 5, 2019 - 00:11
Reported version
3.0
Priority
P1 - High
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Always
Status
duplicate
Regression
Yes
Workaround
Yes
Project

Open the MCSZ file attached.
Delete horizontal frame between section C and the coda. This occurs either by clicking and pressing the delete key, or by right clicking and selecting Delete.

Attachment Size
Iko_Iko.mscz 38.21 KB

Comments

Priority P1 - High

Confirmed for this score, but unable to reproduce in others. Not obvious what the trigger is, debugger didn't catch the crash either.

Title Crashes when I delete a horizontal frame Crash when deleting a horizontal frame if corrupt part
Frequency Many Few
Severity S1 - Blocker S2 - Critical

In fact, the main problem is not the removal of the frame, but corruption - image below - in parts (last measure).
parts.jpg
By saving a part, for example, Iko_Tenor_Saxophone.mscz , it crashes at the opening.
Delete the parts, and no more issue, the frame is cleared as expected.
So the question is rather how did corruption get to that place?
I leave the title almost as such, but it will evolve when the origin of corruption is understood (the real subject)

Workaround No Yes

The fact the file is corrupted does not surprise me. I was encountering a lot of the widely reported issues, like crashing at startup, extraneous key signatures, parts reverting to concert key. So, I was reinstalling prior versions to try to get around these problems. In 3.0.4, I created a new file, loaded my style, then cut and pasted the bars from the corrupted file into a new file, and now it's all fine. So, my short term problem is fixed.

We don't fully understand the issue, but since it seems to be related to a corrupt score, the workaround is presumably to fix the corruption. Feel free to attach your score here so we can assist, and maybe it will also help us understand the root cause of the issue.

Fix version 3.1.0

There is no corruption being reported. And no crash in lates build from the master branch, nor with 3.1 RC, so I guess we can mark this fixed.

Fix version
3.1.0