← Back to team overview

scratch team mailing list archive

Re: 64 bit Squeak VM 4.0.3-2202 running Scratch with pulse plugin causes crashe on sound playback / recording

 

On 07.06.2011, at 14:04, Amos Blanton wrote:

> Recording and playback work with the pulse-audio plugin from the repositories on 32 bit systems. (Great!)
> 
> Unfortunately, I receive a crash when running Scratch with the 64 bit VM / pulse-audio plugin:
> 
> But pressing play on the meow sound causes this to happen:
> Segmentation fault
> 10307732 [] in SoundPlayer class>playLoop
> 10296532 Semaphore>critical:
> 10296440 SoundPlayer class>playLoop
> 10307428 [] in SoundPlayer class>startPlayerProcessBufferSize:rate:stereo:
> 10307520 [] in BlockContext>newProcess
> Aborted
> 
> Recording gives this error:
> 
> Segmentation fault
> 10307732 [] in SoundPlayer class>playLoop
> 10296532 Semaphore>critical:
> 10296440 SoundPlayer class>playLoop
> 10307428 [] in SoundPlayer class>startPlayerProcessBufferSize:rate:stereo:
> 10307520 [] in BlockContext>newProcess
> Aborted
> 
> Sayamindu mentioned browsing the code and seeing a data structure that might bork when compiled for 64 bit processors. 
> 
> Bert, Derek - Should I file this bug against the Debian or Ubuntu package, or is there somewhere else we should report it?

Do not compile the VM for 64 bits. This is still very experimental, only a few plugins have been made 64-bit clean. 

IMHO Debian should not package this as a 64 bit version, but rather make a Squeak VM package that pulls in the needed 32 bit libs as a dependency.

- Bert -



References