My first score - crash

• Jun 23, 2016 - 03:21
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project
Tags

nightly 5062d11
0. Start with My First Score open
1. File > Parts > new all
2. (stay in main score or navigate to part score) "N"
3. "C"

Result: Crash


Comments

Status (old) active duplicate

Since PR 2733 fixes this, I mark it as duplicate of #117766: Crash when editing first measure of loaded score with multi measure rests

I also found the reason why there's no crash if the score is created from scratch:
If a score is loaded and edited, for each part Score::doLayoutRange() is called and crashes for parts that have a multi measure rest.
If the score is newly created, Score::doLayoutRange() is only called for the master score, that doesn't have the multi measure rest as default. For the parts Score::doLayout() is called and no crash happens.
If you enable multi measure rests in the master score before editing it, it will also crash with a newly created score.