Opening attached 1.1 score causes crash

• Feb 4, 2012 - 18:14
Type
Functional
Severity
S2 - Critical
Status
closed
Project

When loading an existing 1.1 score, the nightly build (r5264) crashes before any display. Offending file attached.

Attachment Size
SEX STUDIES in English Folk-Song.mscz 14.18 KB

Comments

Verified. It sure crashes in the trunk.
However, I've opened tens of 1.1. files and they always load, never crash. Maybe the original 1.1 file was already corrupt in some way...

Do all these notes have no stems on purpose??
Because if not, that will be a problem related to the stable versions and not the trunk.
I believe the original 1.1. file was already corrupt.

(Running Windows xp, r.5264)

Title Existing 1.1 score won't load - causes (nearly) immediate crash [Trunk] Opening 1.1 score causes crash

Confirmed.

We'll probably change the title if we establish there's a bug in 1.1, or close it if the file is corrupt (and perhaps file a report).

Using MuseScore 2.0 Nightly Build (5286) - Mac 10.6.8.

SEX studies or SIX studies ;-)

Anyway, opening the score gives a lot of debug output and finally crashes in beam:layout():

Debug: Internal Error: no Chord/Rest for lyrics
Debug: Internal Error: no Chord/Rest for lyrics
Debug: cannot place HairPin at tick 0 - 25680
Debug: cannot place HairPin at tick 0 - 32640
Debug: cannot place HairPin at tick 0 - 41760
Debug: cannot place HairPin at tick 0 - 127680
Debug: cannot place HairPin at tick 0 - 132000
Debug: cannot place HairPin at tick 0 - 138000
Debug: cannot place HairPin at tick 0 - 176880
Debug: cannot place HairPin at tick 0 - 177600
Debug: cannot place HairPin at tick 0 - 178080
Debug: cannot place HairPin at tick 0 - 179520
Debug: cannot place HairPin at tick 0 - 180000
Debug: cannot place HairPin at tick 0 - 180720
Debug: cannot place HairPin at tick 0 - 186720
Debug: cannot place HairPin at tick 0 - 190560
Debug: cannot place HairPin at tick 0 - 224640
Debug: cannot place HairPin at tick 0 - 230480
Debug: cannot place HairPin at tick 0 - 230960
Debug: cannot place HairPin at tick 0 - 233360
Debug: cannot place HairPin at tick 0 - 233840
Debug: cannot place HairPin at tick 0 - 235760
Debug: cannot place HairPin at tick 0 - 249200
Debug: cannot place HairPin at tick 0 - 266240
Debug: cannot place HairPin at tick 0 - 273680
Debug: cannot place HairPin at tick 0 - 281120

Debug: layoutX: empty segment(0x1f6265e0)ChordRest: measure: tick 0 ticks 480
Debug: nticks==0 segmente 7, segmentIdx: 4, segTick: 480 nsegTick(0x0) 480
Debug: layoutX: empty segment(0x1f623128)ChordRest: measure: tick 480 ticks 2400
Debug: nticks==0 segmente 7, segmentIdx: 4, segTick: 2880 nsegTick(0x0) 2880
Debug: layoutX: empty segment(0x1f6265e0)ChordRest: measure: tick 0 ticks 480
Debug: nticks==0 segmente 7, segmentIdx: 4, segTick: 480 nsegTick(0x0) 480
Debug: layoutX: empty segment(0x1f623128)ChordRest: measure: tick 480 ticks 2400
Debug: nticks==0 segmente 7, segmentIdx: 4, segTick: 2880 nsegTick(0x0) 2880
Debug: layoutX: empty segment(0x1f6265e0)ChordRest: measure: tick 0 ticks 480
Debug: nticks==0 segmente 7, segmentIdx: 4, segTick: 480 nsegTick(0x0) 480
Debug: layoutX: empty segment(0x1f623128)ChordRest: measure: tick 480 ticks 2400
Debug: nticks==0 segmente 7, segmentIdx: 4, segTick: 2880 nsegTick(0x0) 2880
Debug: layoutX: empty segment(0x1f66b5a0)ChordRest: measure: tick 44640 ticks 3360
Debug: nticks==0 segmente 5, segmentIdx: 2, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66b5a0)ChordRest: measure: tick 44640 ticks 3360
Debug: nticks==0 segmente 5, segmentIdx: 2, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66b5a0)ChordRest: measure: tick 44640 ticks 3360
Debug: nticks==0 segmente 7, segmentIdx: 2, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66b5a0)ChordRest: measure: tick 44640 ticks 3360
Debug: nticks==0 segmente 7, segmentIdx: 2, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66c950)ChordRest: measure: tick 48000 ticks 0
Debug: nticks==0 segmente 5, segmentIdx: 2, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66fcd8)ChordRest: measure: tick 48000 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66c950)ChordRest: measure: tick 48000 ticks 0
Debug: nticks==0 segmente 5, segmentIdx: 2, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66fcd8)ChordRest: measure: tick 48000 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66c950)ChordRest: measure: tick 48000 ticks 0
Debug: nticks==0 segmente 5, segmentIdx: 2, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f66fcd8)ChordRest: measure: tick 48000 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 48000 nsegTick(0x0) 48000
Debug: layoutX: empty segment(0x1f6a7740)ChordRest: measure: tick 87840 ticks 1920
Debug: nticks==0 segmente 6, segmentIdx: 3, segTick: 89760 nsegTick(0x0) 89760
Debug: layoutX: empty segment(0x1f6a7740)ChordRest: measure: tick 87840 ticks 1920
Debug: nticks==0 segmente 6, segmentIdx: 3, segTick: 89760 nsegTick(0x0) 89760
Debug: layoutX: empty segment(0x1f70dec8)ChordRest: measure: tick 187440 ticks 1440
Debug: nticks==0 segmente 9, segmentIdx: 6, segTick: 188880 nsegTick(0x0) 188880
Debug: layoutX: empty segment(0x1f70dec8)ChordRest: measure: tick 187440 ticks 1440
Debug: nticks==0 segmente 9, segmentIdx: 6, segTick: 188880 nsegTick(0x0) 188880
Debug: layoutX: empty segment(0x1f70dec8)ChordRest: measure: tick 187440 ticks 1440
Debug: nticks==0 segmente 9, segmentIdx: 6, segTick: 188880 nsegTick(0x0) 188880
Debug: layoutX: empty segment(0x1f73ddd0)ChordRest: measure: tick 224480 ticks 1360
Debug: nticks==0 segmente 10, segmentIdx: 5, segTick: 225840 nsegTick(0x0) 225840
Debug: layoutX: empty segment(0x1f73ddd0)ChordRest: measure: tick 224480 ticks 1360
Debug: nticks==0 segmente 10, segmentIdx: 5, segTick: 225840 nsegTick(0x0) 225840
Debug: layoutX: empty segment(0x1f73ddd0)ChordRest: measure: tick 224480 ticks 1360
Debug: nticks==0 segmente 10, segmentIdx: 5, segTick: 225840 nsegTick(0x0) 225840
Debug: layoutX: empty segment(0x1f7a9500)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7a9500)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7b6008)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7b6008)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7ba8f8)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7ba8f8)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7bf430)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7bf430)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7c3cc8)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7c3cc8)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7c85e8)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080
Debug: layoutX: empty segment(0x1f7c85e8)ChordRest: measure: tick 310080 ticks 0
Debug: nticks==0 segmente 2, segmentIdx: -1, segTick: 310080 nsegTick(0x0) 310080

NOT FOUND: 01

Attachment Size
14782.png 87.12 KB
Status (old) closed active

however: a corrupt score shouldn't case MuseScore to crash, should it?
Esp. as it open in 1.2 without crashing.

"a corrupt score shouldn't case MuseScore to crash, should it?"

Well ideally, no, but it seems to happen on a regular basis :)

Maybe the dev team should look at MuseScore escaping from a corrupt score with an error message without crashing?

I well know that is harder than it sounds!