Opening MuseScore without score and Show Play Panel enabled causes crash
Hi,
Steps to reproduce:
1. Activate options:
Edit - Preferences - General - Programme start - Start empty
Edit - Preferences - General - Windows - Show Play panel
2. With next restart of MuseScore occurs crash with error:
AppName: nightly.exe AppVer: 0.0.0.0 ModName: nightly.exe
ModVer: 0.0.0.0 Offset: 00253410
v.2.0.0, build: ef996b4, Win XP SP3
Thanks,
Tom
Comments
Confirmed - thanks for the report, Tom!
See attached log.
Using MuseScore 2.0 Nightly Build (3fb5ace) - Mac 10.7.5.
This crashes because line 534 in mscore/seq.cpp (
cs->tempomap()->setRelTempo(msg.realVal);
) has a null value for "cs", since there is no current score.Preceding this line with
if(cs)
prevents the crash, and doesn't appear to cause any other untoward effects.
Does this warrant a pull request?
Fixed in 0185850b3e
Automatically closed -- issue fixed for 2 weeks with no activity.