[musicXML import (DOM parser)] segmentation fault when reading MarshallFine-ViolinSonata4-Typeset.xml
See http://https://musescore.org/en/node/65146.
Reading the attached file using the DOM parser results in a null pointer exception. Status set to "postponed" for the time being. If 2.0.2 indeed ships with the pull parser, set to "won't fix", else to "critical".
Debugger info including stack trace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x0000000100439ac6 in Ms::addTextToNote (txt=@0x7fff5fbfa838, style=Ms::FINGERING, score=0x10a084200, note=0x0) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:4693
4693 note->add(t);
(gdb) bt
#0 0x0000000100439ac6 in Ms::addTextToNote (txt=@0x7fff5fbfa838, style=Ms::FINGERING, score=0x10a084200, note=0x0) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:4693
#1 0x0000000100436217 in Ms::MusicXml::xmlNotations (this=0x7fff5fbfddf0, note=0x0, cr=0x1179007b0, trk=0, tick=22080, ticks=720, e=@0x7fff5fbfb438) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:4970
#2 0x0000000100423013 in Ms::MusicXml::xmlNote (this=0x7fff5fbfddf0, measure=0x1178e2520, staff=0, partId=@0x7fff5fbfc778, beam=@0x7fff5fbfc848, currentVoice=@0x7fff5fbfc7c0, e=@0x7fff5fbfc770, graceNotes=@0x7fff5fbfc7b8, alt=@0x7fff5fbfc870) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:5901
#3 0x0000000100416831 in Ms::MusicXml::xmlMeasure (this=0x7fff5fbfddf0, part=0x115b6d2b0, e=@0x7fff5fbfcfc0, number=16, measureLen={_numerator = 3, _denominator = 4}, currKeySig=0x7fff5fbfcff0) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:2494
#4 0x00000001004108a0 in Ms::MusicXml::xmlPart (this=0x7fff5fbfddf0, e=@0x7fff5fbfdc40, id=@0x7fff5fbfdc30) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:2114
#5 0x00000001004091bb in Ms::MusicXml::scorePartwise (this=0x7fff5fbfddf0, ee=@0x7fff5fbfdd58) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:1398
#6 0x0000000100408a26 in Ms::MusicXml::import (this=0x7fff5fbfddf0, s=0x10a084200) at /Users/lvi/build/MuseScore-2.0.0/mscore/importxml.cpp:749
Comments
Duplicate of #59226: [Musicxml import] crash if notations on rest, fixed on May 14th.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.
Automatically closed -- issue fixed for 2 weeks with no activity.