Double-clicking volta in 1.x-created score causes crash

• Mar 13, 2012 - 17:58
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Scores with Dal Segno al Coda do not play correctly in 1.1 and 1.2 if the jump to coda is within a repeated segmet. So I loaded the 1.1 score in musescore 2.0. It plays as if the voltas aren't there but jumps to coda as it should. When double clicking on an vota sign musescore crashes:
Debug: Segment(0x204e77f0): cannot remove spannerBack Volta 0x206a8de8, size 1
warning: HEAP[mscore.exe]:
warning: Invalid allocation size - 80000010 (exceeded 7ffdefff)
terminate called after throwing an instance of 'std::bad_alloc'

If I remove all the voltas and insert them from new the score is finally played correctly.
So, I assume another issue with reading 1.1 files because of complaints reading like this:
Debug: :line:461 col:13 beginText:Volta:museScore:: Unknown Node , type 1


Comments

Title [Trunk] Double-clicking on volta of non-2.0 score causes crash [Trunk] Double-clicking volta in non-2.0 score causes crash
Title [Trunk] Double-clicking volta in non-2.0 score causes crash [Trunk] Double-clicking volta in 1.1-created score causes crash

I don't think I can reproduce with a 1.2 score - the volta doesn't appear (will perhaps file a report).

I think I can possibly conclude if the score was created in 1.1, it'll crash regardless of being saved in 1.2.

1. Open attached score (possibly created in 1.1, but saved in 1.2).
2. Double-click on volta.

Result: Crash.

Using MuseScore 2.0 Nightly Build (5663) - Mac 10.7.4.

Attachment Size
1.1-created score.mscz 1.52 KB
Title [Trunk] Double-clicking volta in 1.1-created score causes crash Double-clicking volta in 1.1-created score causes crash
Title Double-clicking volta in 1.1-created score causes crash Double-clicking volta in 1.x-created score causes crash

I can reproduce with a 1.2 score - not sure why the volta didn't appear the first time (perhaps I did something wrong).

1. Open attached score (produced in 1.2).
2. Double-click on volta.

Result: Crash.

Using MuseScore 2.0 Nightly Build (5663) - Mac 10.7.3.