[squeak-dev] Re: SoundPlayer VM Crash

Martin martin.troielli at gmail.com
Thu Feb 18 17:55:40 UTC 2010


Many thanks for the information. Unfortunately the problem is difficult to  
reproduce programatically it only happened after many hours of running. We  
will try to change the Direct Sound preferences and the highIOPriority to  
see if it crashes again.

Best regards,
Martin

On Thu, 18 Feb 2010 13:22:17 -0300, Andreas Raab <andreas.raab at gmx.de>  
wrote:

> Martin wrote:
>> We are experiencing a VM Crash in our production system. It happens  
>> after between 3-5hs since is running. It seems to be related to the  
>> SoundPlayer but it's used extensively through the system and we cannot  
>> track what happens. I attached the crash dump files where we found the  
>> errors. It seems to be related to the SoundPlayer  
>> class>startPlayerProcessBufferSize:rate:stereo:sound: method, have  
>> somebody experienced something similar?
>
> It looks like it's crashing somewhere in the sound player's play loop,  
> and fairly reliably so. If you can repeat the problem, could you try the  
> following:
> - Launch your application
> - Press F2 to get to the VM preferences
> - Go to "Display and Sound" and toggle the Direct Sound preference
> This will take a slightly different path in the VM. If this crashes as  
> well, please send me the crash.dmp. If it doesn't crash you can use that  
> as a workaround; the problem is then likely in the low-level interface  
> to DSound.
>
> BTW, one other thing you might try that might be helpful is to change  
> SoundPlayer class>>startPlayerProcessBufferSize:rate:stereo:sound: to  
> give the player process highIOPriority. The default player priority is  
> too low if you have other preemptive activities related to sound.
>
> Cheers,
>    - Andreas
>
>


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Squeak-dev mailing list