Crash on score containing drum track with no drumset
OS: Windows , Arch.: x86_64, MuseScore version (32-bit): 2.2.9, revision: 3543170
As reported in https://musescore.org/en/node/273498
1) open attached score
Result: crash
There are two drumset staves with no drumset. This causes a crash in renderTremolo() as we try to deal with the tremolo. If you fix that, you get another in Note::ppitch() of the same ilk. I think the solution is to protect both passages with "if (ds)" - works for me, anyhow - but maybe there are other cases to consider.
Attachment | Size |
---|---|
Concerto #1.mscz | 52.65 KB |
Comments
Probably also here, the origin is known.
For the record, the attached file opens as expected on last May, 15 : e4d5396
And crashes the next day with: 368ee48
https://github.com/musescore/MuseScore/pull/3737
Fixed in branch 2.3, commit 399839c908
fix #273507: Crash on score containing drum track with no drumset
Fixed in branch 2.3, commit fa4e76eb2c
Merge pull request #3737 from lasconic/fix-273507
fix #273507: Crash on score containing drum track with no drumset
Automatically closed -- issue fixed for 2 weeks with no activity.