Crash on MusicXML import of score with marcato, tenuto and staccato in the same note #19186
Labels
crash
Issues involving a crash of MuseScore
MusicXML
P1
Priority: High
regression
Regression on a prior release
Issue type
Crash or freeze
Bug description
Importing a MusicXML previously exported from MuseScore causes crash
Steps to reproduce
Or
Result in either case:
Crash!
(Instead of taking the files from musescore.org you can take them from the attached)
music388-389.zip
Screenshots/Screen recordings
No response
MuseScore Version
4.1.1, should be in 4.1.0 too, Happens in 3.7 also
Regression
Yes, this used to work in MuseScore 3.x and 4.0 and now is broken
Operating system
Windows 11
Additional context
Suspected code came in via #16828, as far as I can tell the crash happens in
bool MusicXMLParserNotations::skipCombine(const Notation& n1, const Notation& n2)
, in any of the first 3 statementsApparently MuseScore is trying to combine Marcato, Tenuto and Staccato rather than just 2 of them (Marcato and Staccato or Marcato and Tenuto)
The text was updated successfully, but these errors were encountered: