Crash when generating parts in attached score

• Feb 6, 2014 - 00:35
Type
Functional
Severity
S2 - Critical
Status
closed
Project

I've been trying the parts feature in the nightly builds for ages, but it seems to crash 80% of the time. I've managed to distill one of my files to a minimal format that still crashes. See attachment.
Unlike another recently reported issue, this one contains no text boxes. It had a title box until I deleted it, but it still crashes the parts generator.

Open attached file.
File | Parts | New all
Ok
Crash

Nightly build, version 9fd8764
Mac OS X

Attachment Size
Crash3.mscz 5.82 KB

Comments

On my system, the crash is due to a call to abort() from inside Qt:

"ASSERT failure in QList::at: "index out of range", file C:/Qt/5.2.0/mingw48_32/include/QtCore/qlist.h, line 472"

with nothing useful on the stack (but I assume it really is somewhere within SLine::layout as the stack track above implies)

When the volta is removed, the generation of parts no more crashes; tested with 9fd8764 Windows 8.1 (self-compiled debug build).
It is probably related to the volta line and multimeasure rests.
I tried to set "break MM rest" on the measure following the volta, but strangely these measures do not seem to retain the "break MM rest" option, i.e. after checking this box and closing the measure properties, if you look again at their properties this box is not checked.

With the latest nightly builds, generating parts for file Crash3 works correctly.
However I will attach a new file, Crash4, which still crashes when you do File | Parts | New all | Ok
Something improved, but it's still flaky and not usable.

Attachment Size
Crash4.mscz 4.85 KB