Crash when saving after deleting contents of measure
Reported version
3.x-dev
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
active
Regression
No
Workaround
No
Project
1) Using the attached score, go to measure 37 on the Clarinet 2 stave
2) Select the entire measure
3) Press 'delete' to delete the contents of the measure
4) Save the score
Result: crash.
Attachment | Size |
---|---|
La_Fille_Aux_Cheveux_de_Lin_v2.mscz | 87.16 KB |
Comments
Confirmed. In a debug build it dies of a failed assertion:
Fatal: ASSERT: "_lidLocalIndices.contains(lid)" in file ...\libmscore\xml.h, line 277
and indeed 3.4.2 does not crash on this. OTH 3.5RC doesn't either.
So not sure that this is a regression, the crash due to a failed assertion would not affect any release build, and also that
Q_ASSERT()
is in since 907a4dcc, to fix #296426: Text attached to mmrest preceded by another mmrest ending with custom barlines loses custom position on reload, so in 3.4 already