Crash when trying to open file with tied unison notes in different voices
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.
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
#142401: Crash on opening 2.0.3 file due to invisible ties is another variant of the same underlying problem, same stack trace, endless recursion
Fixed in branch master, commit 6697572af6
fix #142141: Crash when trying to open file with tied unison notes or invisible tie
Automatically closed -- issue fixed for 2 weeks with no activity.