I'm just about to walk out the door to work, but before I go I'll send the stack trace I get running my spoon VM on my squeak-dev+naiad image, just in case it provides a valuable clue. The VM dies in the GC. I'll investigate further over the weekend, with luck.
(The location of the SEGV, gnu-interp.c:11796, corresponds to the first occurrence of the line "header2 = longAt(oop1);" in the function markAndTrace() in interp.c.)
Regards, Tony
~/Squeak/spoon/building-from-scratch/sq3.9-7067dev07.09.1$ gdb /opt/spoon/bin/squeak GNU gdb 6.6-debian Copyright (C) 2006 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 "i486-linux-gnu"... Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". (gdb) run sq3.9-7067dev07.09.1.image Starting program: /opt/spoon/bin/squeak sq3.9-7067dev07.09.1.image Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread -1210169680 (LWP 18218)] Error while reading shared library symbols: Cannot find new threads: generic error
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210169680 (LWP 18218)] markAndTrace (oop=2022687948) at gnu-interp.c:11796 11796 header2 = longAt(oop1); (gdb) bt #0 markAndTrace (oop=2022687948) at gnu-interp.c:11796 #1 0x0805eddf in markAndTraceInterpreterOops () at gnu-interp.c:12250 #2 0x0805eedd in markPhase () at gnu-interp.c:12289 #3 0x0805f5d4 in fullGC () at gnu-interp.c:5101 #4 0x0805fa65 in sufficientSpaceAfterGC (minFree=2504) at gnu-interp.c:23434 #5 0x0806312c in primitiveNew () at gnu-interp.c:17703 #6 0x08054207 in dispatchFunctionPointer (aFunctionPointer=0x80630f0) at gnu-interp.c:4130 #7 0x08066cee in interpret () at gnu-interp.c:8104 #8 0x08052b0a in main (argc=Cannot access memory at address 0x1 ) at /home/tonyg/Squeak/spoon/building-from-scratch/sq3.9-7067dev07.09.1/Squeak-3.9-8/platforms/unix/vm/sqUnixMain.c:1388 (gdb)