[Etoys] OggVorbisCodec crash

Karl karl.ramberg at comhem.se
Sat Dec 8 12:55:01 EST 2007


Takashi Yamamiya wrote:
> Hi Kerl,
>
> I can reproduce it. Thank you!
>
> This is my excuse. OggPlugin is made for SoundRecoder which uses
> SequentialSound as internal sound buffer. So I didn't care that
> such huge chunk of data is passed to the plugin a time.
> It should be handled as primitiveFailed at least.
> VM crash is a bug anyway.
So one must send smaller chunks to the plugin. Do you have workaround ?
Karl
>
> Cheers,
> - Takashi
>
> karl wrote:
>> karl wrote:
>>> Takashi Yamamiya wrote:
>>>> Hi Kerl,
>>>>
>>>> Which version of VM do you use?
>>>> I use Squeak3.7.1 (release) for windows and it works fine.
>>>> I rescued those files at http://tinlizzie.org/olpc/OggPlugin/
>>>> But the files are same as http://metatoys.org/pub/
>>> Hi Takashi,
>>> I tested now with the 3.7.1 VM and it still crashes.
>>> See attached crash dump log.
>>>
>>> It could be that I use the plugin in a wrong way but it do work on mac.
>>>
>>> I use the code
>>> aSampledSound compressWith: OggVorbisCodec.
>>>
>>> The sampled sound is 1.6 megabyte. 
>>
>> I tested again on a Mac and it crashes too with a large SampledSound 
>> to encode to OggVorbisCodec.
>> OggSpeexCodec works.
>> Karl
>
>



More information about the Etoys mailing list