Deleting a single note causes file corruption

• Jul 18, 2020 - 21:13
Reported version
3.4
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
duplicate
Regression
No
Workaround
No
Project

Steps to reproduce:
1) Open the attached file in Musescore 3.5 RC
2) Delete the note D in the first beat of bar 7. (Select the note and hit "Del")
3) "Save as" to a new file
4) Close the file and reopen

=> The file is corrupted

Note 1:
Musescore 3.4 Crashes directly when deleting

Attachment Size
Corruption on delete.mscz 21.29 KB

Comments

Title Deleting a single note cases file corruption Deleting a single note causes file corruption
Status active duplicate
Reported version 3.5 3.4

That score crashes in 3.4.2 already, when simply saving it (or waiting for autosave to happen)
3.5 does not crash then BTW.
This is due to a corrupt part, delete that and regenerate it

See #292064: Crash on save of a score with corrupt parts

In reply to by Jojo-Schmitz

Is there a way to know when a part gets corrupted? (Or when I have a corrupted part in an existing file?) Obviously there is no error or warning message when the file is opened.

I get corrupted parts quite often, and I really want to help you to track it down. But If I do not know if any of the part is corrupted, it is very tricky to reproduce the root cause..