[squeak-dev] SoundPlayer VM Crash

Martin martin.troielli at gmail.com
Thu Feb 18 16:11:03 UTC 2010


Thanks Levente. This method call is included into a block that controls an  
ending step and needs to run concurrently at the system. I think we could  
put a semaphore to avoid this, but I though that it was already handled by  
the SoundPlayer itself.

Best regards,
Martin

On Thu, 18 Feb 2010 12:55:35 -0300, Levente Uzonyi <leves at elte.hu> wrote:

> On Thu, 18 Feb 2010, Martin wrote:
>
>> Yes, it's forked.
>
> You shouldn't. There should only be one sound player process at a time.  
> If you call this method concurrently, there's a slight chance that two  
> or more processes will exists at the same time which will lead to a  
> crash.
> Why are you forking this process?
>
>
> Levente
>
>>
>> Martin
>>
>> On Thu, 18 Feb 2010 12:35:03 -0300, Levente Uzonyi <leves at elte.hu>  
>> wrote:
>>
>>> On Thu, 18 Feb 2010, Martin wrote:
>>>
>>>> ups! sorry, here they are...
>>>  Are you forking the process which sends  
>>> #startPlayerProcessBufferSize:rate:stereo:sound: to SoundPlayer?
>>>   Levente
>>>
>>>>  On Thu, 18 Feb 2010 12:12:44 -0300, Levente Uzonyi <leves at elte.hu>  
>>>> wrote:
>>>>
>>>>> On Thu, 18 Feb 2010, Martin wrote:
>>>>>
>>>>>> Hi All,
>>>>>> 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 seems like you forgot to attach the files.
>>>>>  Levente
>>>>>
>>>>>> Thanks in advance,
>>>>>> Martin
>>>>>>
>>>>>
>>>>   -- Using Opera's revolutionary e-mail client:  
>>>> http://www.opera.com/mail/
>>>
>>
>>
>> -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>>
>


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



More information about the Squeak-dev mailing list