Crash when trying to open file with tied unison notes in different voices

• Nov 23, 2016 - 15:07
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Win 7 / eb36276

The attached file was created in 2.0.3. If you try to load it in the nightly you get a crash. I have isolated the issue to any one of two measures which contain tied unison notes in different voices.

tied_unison_note_crash.png

Attachment Size
crash_tied_unison_notes.mscz 10.5 KB

Comments

Looks like an infinite recursion, stack trace:
1 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07d
2 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
3 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
4 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
5 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
6 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
7 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
8 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
9 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
10 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
11 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
12 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
13 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
14 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
15 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
16 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
17 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
18 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
19 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
20 Ms::SpannerSegment::setVisible spanner.cpp 175 0x83e07f
...

Looks familiar, ISTR having had that exact recursion in another issue, would need to find it again

Ah, found it, not an issue, but a topic in the forum: https://musescore.org/en/node/141421

There I wrote:
Theres a recent code change that seems to trigger that endless recursion, in 4e0b0dba