Remove tuplets after inserting measures causes corruption/crash

• May 8, 2018 - 07:13
Reported version
3.1
Type
Functional
Frequency
Few
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

2.2.1 version (also in currents 2.3 dev. and 3.0 dev.) / Windows7

1) Default "Untitled" score
2) Create eg triplets in a measure, no matter which one
triplets.jpg
3) Select this measure -> Add -> Measure -> Insert one measure
4) Select and remove the triplets
Result: corruption

Intermediate result
triplets1.jpg
Final result:
triplets3.jpg
As expected :
5) click near the "double" barline ---> crash

  • From what I see, all figures of tuplets are impacted

  • And by inserting more than one measure (eg 4 - image below - or more), you get:
    four measures.jpg

  • First noticed in this thread: https://musescore.org/en/node/272169


Comments

With a little surprise, I note that this issue was already active with version 2.1.
Further investigation in progress.

Well, more and more surprised that this issue has not yet been reported.
Indeed, after checking, as far back as I go back in time, I note systematically the same problem.

See the screencast below, produced with this nightly (May 2014): e581255

Tuplets insert measures.gif

Status (old) patch (code needs review) fixed
Status fixed

Fixed in branch master, commit 4e14bbcc3c

fix #272172: Remove tuplets after inserting measures causes corruption/crash
fix #272185: Delete a measure containing some tuplets + rest leads to corruption after inserting a measure

Status closed active
Reported version 2.1  
Regression No
Workaround No

I am marking this as "active" again, since the original steps once again cause the same errors to occur. Furthermore, this is the same issue described in https://musescore.org/en/node/311919. The cause is clear; the one line from the fix that actually made all the difference was removed some time ago, as pointed out here. All that is needed is to add it back in.

Fix version
3.6.0