[MusicXML import (pull parser)] floating point exception when reading FOR THE FALLEN.xml
After fixing #64946: [MusicXML import (pull parser)] abort when reading FOR THE FALLEN.xml, the file still does not import: it causes a floating point exception.
Comments
Debugger output:
Error at line 13171 col 10: calculated duration invalid, using specified duration (261/256)
TDuration(261/256): not implemented
Program received signal EXC_ARITHMETIC, Arithmetic exception.
0x0000000100a1435c in Ms::Fraction::ticks (this=0x7fff5fbfc5d8) at /Users/lvi/dev/MuseScore/libmscore/fraction.cpp:196
196 return (_numerator * MScore::division * 4 + (_denominator/2)) / _denominator;
(gdb) bt
#0 0x0000000100a1435c in Ms::Fraction::ticks (this=0x7fff5fbfc5d8) at /Users/lvi/dev/MuseScore/libmscore/fraction.cpp:196
#1 0x000000010043228a in Ms::fillGapsInFirstVoices (measure=0x116673d60, part=0x116603470) at /Users/lvi/dev/MuseScore/mscore/importmxmlpass2.cpp:287
#2 0x000000010042715c in Ms::MusicXMLParserPass2::measure (this=0x7fff5fbfced0, partId=@0x7fff5fbfccc8, time={_numerator = 302, _denominator = 4}) at /Users/lvi/dev/MuseScore/mscore/importmxmlpass2.cpp:2003
Pull request #2076
Fixed in branch master, commit a0a7db8b5e
fix #65341
Fixed in branch 2.0.2, commit 0f7ba3246a
fix #65341
Automatically closed -- issue fixed for 2 weeks with no activity.