Crash when starting MuseScore after compare score.

• Apr 13, 2020 - 11:21
Reported version
3.x-dev
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
Yes
Workaround
Yes
Project

1) Start development version of MuseScore
2) Load score_1.mscz
3) load score_2.mscz
4) Start Score Comparison Tool
5) Exit MuseScore
6) Start MuseScore again
Now the program will crash during start up with a ASSERT in mscore/scoretab.cpp, line 171.

It seems the issue is introduced PR5846.

A work-around is to build a version built before PR5846, start it and close the Score Comparison Tool.
Or, remove the MuseScore3Development.ini file.

Attachment Size
score-1.mscz 3.94 KB
score-2.mscz 3.94 KB

Comments

Status PR created fixed

Fixed in branch 3.x, commit 340c9bc031

_Fix #303799 - Crash when starting MuseScore after compare score

Removed three IF_ASSERTS_FAILED because in these situations a failed
assertion is a valid condition which happens when MuseScore is started
with the Score Comparison tool open. In this case there are even no
files loaded so the assertions cannot be met._

Fix version
3.5.0