[trunk] MuseScore aborts when saving certain file as xml or mxl
trunk rev. 5078 fails when using Score.save( somefile, "xml"). (using WinXP SP3)
It does create the xml file though, but that files can't get opened later in MuseScore, so it apparently dies in the middle of writing the file.
Same problem with .mxl files
Exporting the same file via the menu fails too, for xml and mxl. Offending file (Noten.mscz) attached
Another file (Auld Lang Syne.mscz) it does eport as xml without aborting, but dies when reading the xml it just generated before (Auld Lang Syne.xml).
Attachment | Size |
---|---|
Noten.mscz | 2.48 KB |
Auld Lang Syne.mscz | 4.65 KB |
Auld Lang Syne.xml | 95.23 KB |
Comments
Problem reproduced (trunk rev 5088). On Noten.mscz, MuseScore segfaults immediately after writing the last note in the lower staff in measure 3, producing an incomplete XML file. Save as mcsx works OK.
A stacktrace shows it crashes in exportxml.cpp, function directionMarker.
Stil happens, with r5106
Is on my list of things to do, but has not been fixed yet. Please be patient. I'll update the issue if I have news to report.
sorry I didn't want to appear pushy...
No problem.
Fixed in revision 5116.
Caused by simple bug: missing "break" in "switch" statement.
Well, it does't abort anymore, but exports junk, when exporting as pdf
In r5148. Guess I'll have to open a new issue for this.
Done: #14228: [trunk] Exported PDF and print produces junk
Automatically closed -- issue fixed for 2 weeks with no activity.