On Mon, 28 Apr 2008 10:41:27 -0700 Mark Glines <[EMAIL PROTECTED]> wrote:
> On Sun, 27 Apr 2008 17:24:53 -0700 > chromatic <[EMAIL PROTECTED]> wrote: > > > Here's another proposed patch for testing on various platforms. I'm > > trying to get rid of some dodgy casts (which likely don't help C++ > > and processors with stricter alignment than 32-bit x86). I'd also > > like to remove unnecessary members from a few structs. This is the > > next step. > > > > Are there any weird errors or unexpected crashes on anything more > > exotic than 32-bit x86 GNU/Linux? > > This seems to cause memory corruption on linux/amd64. Only two tests > fail, the rest pass, but those are failing pretty gloriously. See > attached log. gdb's backtrace is a bit easier to read. (gdb) bt #0 0x00002b16911a2185 in raise () from /lib/libc.so.6 #1 0x00002b16911a3630 in abort () from /lib/libc.so.6 #2 0x00002b16911db96b in __libc_message () from /lib/libc.so.6 #3 0x00002b16911e0b9d in malloc_printerr () from /lib/libc.so.6 #4 0x00002b16911e2575 in _int_free () from /lib/libc.so.6 #5 0x00002b16911e28a6 in free () from /lib/libc.so.6 #6 0x00002b168ddebf6c in mem_sys_free (from=0x95d960) at src/gc/memory.c:251 #7 0x00002b168ddef475 in parrot_hash_destroy (interp_unused=0x60a080, hash=0x95d960) at src/hash.c:778 #8 0x00002b168df2a441 in Parrot_Hash_destroy (interp=0x60a080, pmc=0x981238) at ./src/pmc/hash.pmc:121 #9 0x00002b168ddea44d in Parrot_dod_free_pmc (interp=0x60a080, pool_unused=0x60b750, p=0x981238) at src/gc/dod.c:674 #10 0x00002b168ddea36b in Parrot_dod_sweep (interp=0x60a080, pool=0x60b750) at src/gc/dod.c:640 #11 0x00002b168ddead53 in Parrot_dod_ms_run (interp=0x60a080, flags=4) at src/gc/dod.c:1103 #12 0x00002b168ddeaec8 in Parrot_do_dod_run (interp=0x60a080, flags=4) at src/gc/dod.c:1169 #13 0x00002b168ddf6cd2 in Parrot_really_destroy (interp=0x60a080, exit_code_unused=0, arg_unused=0x0) at src/inter_create.c:346 #14 0x00002b168dde31e1 in Parrot_exit (interp=0x60a080, status=0) at src/exit.c:89 #15 0x0000000000400c3e in main (argc=1, argv=0x7fff1d0d70c0) at src/main.c:66 Mark