[MusicXML import] Crash by importing a file with breath mark after grace note

• Feb 20, 2017 - 18:32
Reported version
2.1
Type
Functional
Severity
S2 - Critical
Status
closed
Project
Tags

Version 2.0.3 and currents 2.1 dev. ba40e88 and 3.0 dev. / Windows 7

See: https://musescore.org/en/node/175816


Comments

Stack trace using a recent master (same for both files):

0 org.musescore.MuseScore 0x000000010d03285f Ms::Measure::getSegment(Ms::Segment::Type, int) + 31 (measure.cpp:699)
1 org.musescore.MuseScore 0x000000010c95f7d6 Ms::MusicXMLParserPass2::notations(Ms::Note*, Ms::ChordRest*, int, Ms::MusicXmlTupletDesc&, bool&) + 22742 (importmxmlpass2.cpp:5819)
2 org.musescore.MuseScore 0x000000010c946b29 Ms::MusicXMLParserPass2::note(QString const&, Ms::Measure*, Ms::Fraction, Ms::Fraction, Ms::Fraction&, QString&, QList&, int&, Ms::Beam*&, QVector&, int&) + 14361 (importmxmlpass2.cpp:4530)
3 org.musescore.MuseScore 0x000000010c93c79e Ms::MusicXMLParserPass2::measure(QString const&, Ms::Fraction) + 2606 (importmxmlpass2.cpp:2088)
Crash caused by null pointer exception.

Title [MusicXML import] Crash by importing a file from Finale [MusicXML import] Crash by importing a file with breath mark after grace note