MXML export: crash with score starting with a multi-measure rest.

• Sep 20, 2014 - 08:50
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Context: Commit 151403416 (2014-09-18) self-compiled under Linux Mint 14.

Steps:

  1. Load the attached sample score test_mmrest2xml_1.mscx (a very simple score with just some MM-rests and one note);
  2. Export to MusicXML.

Result: the programme crashes.

Notes:

The crash happens within the m->system()->page() function called at:
    https://github.com/musescore/MuseScore/blob/master/mscore/exportxml.cpp…
as, in this context, some of the measures making up the MM-rest measure have no parent and then system() returns null.

Note that this does not happen if the MM-rest is not at the beginning of the system, as the other sample score attached, test_mmrest2xml_2.mscx, shows up.

Thanks,

M.

Attachment Size
test_mmrest2xml_1.mscx 23.27 KB
test_mmrest2xml_2.mscx 23.13 KB

Comments