Integer division by zero exception in Fraction::ticks()
Reported version
3.0
Type
Functional
Frequency
Once
Severity
S1 - Blocker
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
Steps to reproduce:
- Untitled Score
- Switch to Continuous View
- Try to scroll the score to see more of the score to the right side of the screen (higher measure numbers) via any method (keyboard: PgUp or End; mouse: Shift + wheel or click and drag)
Result: Debugger catches exception of type int division by zero. Probably crashes if you run release or a nightly.
Comments
See https://github.com/musescore/MuseScore/pull/4703.
Fixed in branch master, commit dca69f233a
fix #284383: Integer division by zero exception in Fraction::ticks()
Fixed in branch master, commit 95ce138cdc
_Merge pull request #4703 from mattmcclinch/284383-stafflines-parent
fix #284383: Integer division by zero exception in Fraction::ticks()_
Automatically closed -- issue fixed for 2 weeks with no activity.