MusicXML crash on a particular file
MuseScore 2.0.3 and 2.1 nightly and 101541c7f8
https://musescore.org/sites/musescore.org/files/acemasiran--aranagme--y…
MuseScore 2.0.3 and 2.1 nightly and 101541c7f8
https://musescore.org/sites/musescore.org/files/acemasiran--aranagme--y…
Comments
Cause: two wavy-line number=1 type=start but no type=stop.
Probably not really critical, as it is caused by a very specific form of incorrect MusicXML.
Obviously should not crash MuseScore, will improve the error handling.
Cause found: in case of two wavy line starts, the error handler incorrectly deletes the wavy line, but uses it later anyway. To be fixed shortly.
A new request for MusicXML: #169911: Support "tick" and "short" bar-style in MusicXML
Fixed in branch master, commit 5b06160904
fix #167071 MusicXML import crash on overlapping wavy lines
needed for 2.1 too I guess
Fixed in branch 2.1, commit 9033905c77
fix #167071 MusicXML import crash on overlapping wavy lines
What a fine job you did!
Two more files makes MuseScore crash. Do you have an idea of why?
Kind regards
Mogens
The 2nd file doesn't crash in 2.1, 82110fc, Windows 7. The first though does crash.
Same for master, c2ef50f64
The latter dies with a failed assertion:
Fatal: Mscore: ticks_beat(): bad divisor 7 (...\libmscore\sig.cpp:26, int Ms::ticks_beat(int))
Disableing that check seems to get the file imported, opening that with 2.x,ignore the version mismatch, save again and open again results in corruption though, check the attached MuseScore files
saving the XML with that 'fixed' 3.0 and opening that in 2.x works. Attached the xml
Thanks again - a big help. I see that my program should check that beat-type is 1,2,4,8,..etc. and generate error if not. (My program converts .mu2 files to MusicXML). When I correct this it works.
More strange with tahir--turku--nimsofyan--bagda_gulu--ankara.xml.
I can import the file into Finale, save it and read it into Musescore. But the whole idea with my converter is that the notepitch .. values are float-numbers to give the right tone. So I need Musescore to printout the score (unfortunenately the alter values are not preserved in MuseScore). And my program plays it (with microtones).
I shall install the newest version of MuseScore and then hopefully the second file also works.
(I have posted another report about microtones and accidentals for the MusicXML import)
Regards
Mogens
You'd get the 2.1 nighly build including the fix for the first file from https://musescore.org/en/download#Nightly-versions
And if need be please open a new issue and let this one here rest in peace :-)
The nightly build worked
It was a Crash -> critical, even it it is fixed now
Automatically closed -- issue fixed for 2 weeks with no activity.