Musescore 3.6 crashes when opening score with clef change right before final barline

• Jan 16, 2021 - 14:48
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
No
Project

Trying to open Sorcerers Apprentice part 1.mscz causes Musescore 3.6 to crash immediately, across separate Macs. File still opens in Musescore 3.5.2

Part 2, that has the same instruments, opens as expected in 3.6.

OS: macOS 10.16, Arch.: x86_64, MuseScore version (64-bit): 3.6.0.487915347, revision: 1977cb3


Comments

Title Musescore 3.6 crashes when opening large orchestration created in Musescore 3.4.2 Musescore 3.6 crashes when opening score with clef change right before final barline
Status PR created fixed

Fixed in branch 3.x, commit 9f68f340b8

_Fix #315627 - Musescore 3.6 crashes when opening large orchestration created in Musescore 3.4.2

Solve a crash in case nextMeasure() returns a nullptr instead of a pointer to a measure._

Fix version
3.6.1