Change a preference or workspace from a MIDI file results in crash
Reported version
3.0
Priority
P0 - Critical
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
No
Project
OS: Windows 10 (10.0), Arch.: x86_64, MuseScore version (64-bit): 3.0.0.4785, revision: c1a5e4c
Steps:
1) Default "Untitled" score -> enter some notes : test.mscz
2) export in MIDI format: test.mid
(or probably any other imported MIDI file)
3) Reload this MIDI file in 3.0
4) Edit -> Preferences
5) Tick any option (eg "Show Tours", "Show Navigator") or untick "Show start center" or change language etc.
6) Ok
---> the program dies
Fix version
3.0.1
Comments
Issue appears on last July 10
Not sure, but maybe in the previous "big" commit? https://github.com/musescore/MuseScore/pull/3741/files/ea0c5c7fa037b95e…
Same crash in step#4 if toggling workspace eg Basic to Advanced (instead of editing a preference).
Editing title in consequence.
This PR should fix the issue: https://github.com/musescore/MuseScore/pull/4499.
Fixed in branch master, commit 632c469e5f
fix #280623: notify importmidi of reloading instrument templates
Fixed in branch master, commit 37283bb755
Merge pull request #4499 from dmitrio95/280623-importmidi-changeprefs-crash
fix #280623: notify importmidi of reloading instrument templates
Automatically closed -- issue fixed for 2 weeks with no activity.