Crash when Timeline is shown with enabled multimeasure rests

• Jul 8, 2017 - 13:01
Reported version
3.0
Type
Functional
Severity
S2 - Critical
Status
closed
Project

Current 3.0. dev. 90efb7f/ Windows10

1) "Untitled" score
2) Create parts -> New all -> Ok
3) Hit F12 (for opening Timeline)
4) Click on the tab for viewing part

Result: crash

- No matter if Navigator is also enabled (by default), or not (if you have unticked it before in View): same result with or without


Comments

This issue is related to multimeasure rests.

Indeed, if you swap the steps #3 and #4 (ie View part -> then hit F12), you get the same crash.

But if you do: View part -> press M (for disable multimeasure rests) -> Hit F12: it works.

But by pressing again M -> you receive again a crash

Title Crash in parts when Timeline is displayed with enabled multimeasure rests Crash when Timeline is showed with enabled multimeasure rests

Well, in fact, I observe the "minimal" issue is only the association Timeline/Multimeasure rests.
No need to create parts.

1) "Untitled" score
2) Press M
3) Hit F12
Result: crash

Or so,
1) "Untitled" score
2) Hit F12
3) Press M

---> crash

Confirmed. Working on it now. Error found in Timeline::updateView(double, double). sys is found null with multimeasure rests but is not checked for null before using it. Upon using multimeasure rests, the visible measures is not updated on the timeline to show measures included in the multimeasure rest.

Title Crash when Timeline is showed with enabled multimeasure rests Crash when Timeline is shown with enabled multimeasure rests