On 2013/02/11 08:18, Stuart Cassoff wrote:
> On 02/11/13 07:32, Stuart Henderson wrote:
> > On 2013/02/11 07:17, Stuart Cassoff wrote:
> >> On 02/11/13 05:11, Stuart Henderson wrote:
> >>> On 2013/02/10 21:11, Stuart Cassoff wrote:
> >>>> Is it too late for this to go in?
> >>>
> >>> We don't have a proper working diff, Thunderbird mangled the one you
> >>> sent (stripped trailing spaces on lines in the manpage diff)
> >>> and not sure what's going on with sqCamera-linux.c at all, might also
> >>> be whitespace, might be something else.
> >>
> >>
> >> Tres bien, Monsieur.
> >> Voila la diffe, inlinee et attache.
> > 
> > Hmm... I still get a coredump every time on amd64 when I try and play
> > any sounds (including without the malloc.conf flags)..
> > 
> 
> Do you get a coredump as well with Scratch 1.3?
> 
> Scratch is little more than a Squeak image.
> I believe the (sound) problem is in Squeak.
> 
> 
> Stu
> 
> 

Yes, the things which I have tried so far work equally well in
1.3 and 1.4.0.7 (i.e. most things work, but as soon as I play sound
it segfaults which is then trapped and then the trap handler
SIGABRTs and dumps core).

$ scratch
fcntl(F_SETOWN, getpid()): Inappropriate ioctl for device

Segmentation fault

10434876 [] in SoundPlayer class>playLoop
10423676 Semaphore>critical:
10423584 SoundPlayer class>playLoop
10434572 [] in SoundPlayer class>startPlayerProcessBufferSize:rate:stereo:
10434664 [] in BlockContext>newProcess
Abort trap (core dumped) 


...


$ gdb `which squeak`
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-unknown-openbsd5.3"...
(gdb) set args -plugins /usr/local/share/scratch/Plugins 
/usr/local/share/scratch/Scratch.image
(gdb) r
Starting program: /usr/local/bin/squeak -plugins 
/usr/local/share/scratch/Plugins /usr/local/share/scratch/Scratch.image
fcntl(F_SETOWN, getpid()): Inappropriate ioctl for device

Program received signal SIGSEGV, Segmentation fault.
0x00000c443ac567e1 in slotSizeOf (oop=1259916424) at gnu-interp.c:21773
21773           header = longAt(oop);
(gdb) bt
#0  0x00000c443ac567e1 in slotSizeOf (oop=1259916424) at gnu-interp.c:21773
#1  0x00000c443ad1d4e5 in primitiveSoundPlaySamples ()
    at 
/usr/obj/ports/squeak-vm-3.10.1/Squeak-3.10-1/platforms/unix/src/vm/intplugins/SoundPlugin/SoundPlugin.c:227
#2  0x00000c443ac2ee25 in dispatchFunctionPointer (
    aFunctionPointer=0xc443ad1d3db) at gnu-interp.c:4014
#3  0x00000c443ac2cb09 in callExternalPrimitive (functionID=0xc443ad1d3db)
    at gnu-interp.c:3025
#4  0x00000c443ac4704a in primitiveExternalCall () at gnu-interp.c:14370
#5  0x00000c443ac2ee25 in dispatchFunctionPointer (
    aFunctionPointer=0xc443ac469fc) at gnu-interp.c:4014
#6  0x00000c443ac38187 in interpret () at gnu-interp.c:7829
#7  0x00000c443ac2a507 in main (argc=4, argv=0x7f7ffffe1de0, 
    envp=0x7f7ffffe1e08)
    at 
/usr/obj/ports/squeak-vm-3.10.1/Squeak-3.10-1/platforms/unix/vm/sqUnixMain.c:1413
(gdb) print oop
$1 = 1259916424

...

So some people have audio working with this? Which arch?
Smells like an LP64 issue...

Reply via email to