Crashing after tying a whole note chord to the next measure

• Jul 8, 2020 - 04:35
Reported version
3.x-dev
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Always
Status
duplicate
Regression
Yes
Workaround
Yes
Project

Steps:

  1. Create a whole note chord in the Synth. 1 part

  2. Use the hotkey to automatically create and tie the same chord in the next measure

  3. It crashes

OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.5.0.12237, revision: b5add95


Comments

Latest development build (self build in Debug mode) crashes on opening that sample score. Actually it dies of a failed assertion (on save/autosave it seems):

Fatal: ASSERT: "_lidLocalIndices.contains(lid)" in file \libmscore\xml.h, line 276

So the score seems corrupt somehow

In a non-Debug build it won't abort on that assertion, but would certainly fails somewhere later, your case here is just one example

Regression No Yes
Workaround No Yes

Doesn't crash in 3.4.2, so is a regression
removing the parts solves the crash, so there's a workaround (which might be the real fix, as with a corrupt part anything can happen)