Leaving Edit Mode and playing causes crash

Project:MuseScore
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

1. Open attached score.
2. Double-click note (entering 'edit mode').
3. Click on the score (exiting 'edit mode').
4. 'Play' immediately and repeatedly.

Result: Crash.

Discussion: Sometimes you don't have to click repeatedly, it'll just crash if you stop playback.

Using MuseScore 2.0 Nightly Build (5511) - Mac 10.7.3.

AttachmentSize
Leaving Edit Mode and playing causes crash.mscz36.98 KB
#1

Persistence maybe required for this somewhat difficult-to-reproduce crash. I managed in 5511, but am now struggling.

It could be the answer as to why crashes occur when stopping playback. I wonder if it's something to do with the soundfont, and if it's connected to this: #13528: Closing score during load of navigator pages causes crash

I attach a crash log from a previous version (5483), when I managed to reproduce (using another score).

AttachmentSize
Leaving Edit Mode and playing causes crash (Crash Log).zip 20.16 KB
#2

An alternative way to reproduce (perhaps the title could be changed once we know what's wrong):

1. Open score.
2. Drag note somewhere.
3. Play repeatedly.

Result: Crash.

Discussion: See crash log.

Using MuseScore 2.0 Nightly Build (5511) - Mac 10.7.3.

AttachmentSize
Dragging note and playing causes crash (Crash Log).zip 19.69 KB
#3

According to this last log, it's a crash in the synth


1 net.sourceforge.mscore 0x0103692b FluidS::Fluid::process(unsigned int, float*, float*, float) + 43
2 net.sourceforge.mscore 0x00ff9c21 MasterSynth::process(unsigned int, float*, float*) + 145
3 net.sourceforge.mscore 0x001ac0ce Seq::process(unsigned int, float*, float*) + 1166
4 net.sourceforge.mscore 0x00343270 paCallback(void const*, void*, unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*) + 64
5 libportaudio.2.dylib 0x05434f5b Pa_GetSampleSize + 6843
6 libportaudio.2.dylib 0x054359e9 Pa_GetSampleSize + 9545
7 libportaudio.2.dylib 0x05439e7c PaMacCore_Initialize + 9852

#4

This is apparently another way to reproduce with the same result (can't remember exactly, but these maybe the steps):

1. Open score.
2. 'Mixer'
3. 'Play'.
4. Change sound.
5. 'Stop'.

Result: Crash.

Discussion (see crash log).

Using MuseScore 2.0 Nightly Build (5528) - Mac 10.7.3.

#5
#6
#7
Status:active» fixed

I believe it's fixed.

Using MuseScore 2.0 Nightly Build (a8a7c0b) - Mac 10.7.4.

#8
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

Syndicate content