MuseScore 3.1 Crashes after Playback
Reported version
3.1
Type
Functional
Frequency
Many
Severity
S1 - Blocker
Reproducibility
Always
Status
duplicate
Regression
No
Workaround
No
Project
MuseScore crashes after completion of playback. Crashes every time for any and all files attempted. OS is Fedora 29. Output is to ALSA.
Central RPM Build command is:
%cmake -DCMAKE_CXX_FLAGS="%{optflags} -fsigned-char" \
-DCMAKE_CXX_FLAGS_RELEASE="%{optflags} -std=c++11 -fPIC -O2 -DDEBUG -fsigned-char" \
-DBUILD_LAME=ON \
-DUSE_SYSTEM_FREETYPE="ON" \
-DBUILD_WEBENGINE="OFF" \
-DBUILD_CRASH_REPORTER="OFF" \
..
Comments
Correction, the simple single staff piano pieces I submitted for the "Breath Bug" play and complete successfully. The multi-staff organ pieces cause the crash after playback. The earlier submitted MidiBug file, attached again here, causes the crash.
Could you please try it also with
-DCMAKE_BUILD_TYPE=Release
?If the issue concerns only debug builds (this file also crashes only debug build for me) then this is a known issue (probably #284887: Crash on ending score playback) caused by an assertion statement which fails due to some rounding errors during conversions from integer ticks to fractions and back. This should not harm release builds in any way but is certainly better to get fixed.
Yes, adding the build flag -DCMAKE_BUILD_TYPE=Release fixed the problem.