mscore crash after finished with playback under certain circumstances

• Jul 1, 2019 - 11:40
Reported version
3.1
Type
Functional
Frequency
Once
Severity
S3 - Major
Reproducibility
Once
Status
duplicate
Regression
No
Workaround
No
Project

Don't know whether crash is reproducible.
First I did have an issue with a delay in the sound during playback. The playback cursor was about 4 quarter notes further than the sound. I pressed F11 and started playback again in that panel, which delayed the sound even more; about 8 quarter notes. When stopping playback the sound continues still during this delay. Probably after exiting and restarting mscore and starting playback the delay did not occur. Playback finished at the end of the score, and at that moment I got a crash. Backtrace from drkonqi is attached.
Currently I still have the delay of the 4 quarter notes. In menu item Preferences->I/O I changed from PulsAudio to ALSA and back used the Restart button to no avail. After a stop and start of mscore and starting playback I sometimes only have the delayed playback, but the next time I have the direct sound, which sounds distorted, and at the same time the delayed sound. This makes it unusable.

Attachment Size
mscore-20190701-105603.kcrash.txt 9.58 KB

Comments

Seems this is where it happens:

#9 QMessageLogger::fatal (this=this@entry=0x7ffc2d0ecc80, msg=msg@entry=0x7f964d840ec0 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:888
#10 0x00007f964d562ed3 in qt_assert (assertion=assertion@entry=0x1c104b8 "tick <= lastMeasure()->endTick()", file=file@entry=0x1c10368 "/home/abuild/rpmbuild/BUILD/MuseScore-3.1/libmscore/score.cpp", line=line@entry=3749) at ../../include/QtCore/../../src/corelib/global/qlogging.h:91