[kaffe] SIGSEGV running kaffe

Mark and Janice Juszczec juszczec at hotmail.com
Mon Dec 29 07:41:02 PST 2003


Hi folks

A little update on my tracking down the cause of the SIGSEGV when kaffe 
tries to run a class on my mipsel-linux pda.

I've temporarily ruled out using gdbserver.  I've only got 1 serial port and 
its running a shell.  I've got to research how to start gdbserver after boot 
with no command prompt.  Any suggestions?

In the meantime, I ran:

/bin # kaffe-bin -ss 1M -ms 1M -mx 2M -as 1M -cp /bin -vmdebug ALL 
FirstClass

and got the output below.

Any suggestions about what I'm looking for?  A cursory glance at the 
alloc/malloc information doesn't make the problem jump out at me.  I was 
hoping it would be as simple as trying to malloc something at 
0xfffffffffffff or some other such screwy address.  Alas, fate has not been 
so kind.

Mark


You cannot debug the JIT in interpreter mode
pagealloc(1048576) => 0x1001d000
1048576 unused bytes in heap addr range
gc_system_alloc: 1048576 byte at 0x10014d48
gc_primitive_free: Prepending (1048576,0x10014d48) beginning of freelist
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014d48
gc_heap_malloc: small block 56 at 0x10014d48 free 0x1001d090
gc_primitive_alloc: 16384 bytes from freelist @ 0x10014d70
gc_heap_malloc: freelist 56 at 0x10014d48 free 0x1001d0c8
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014e10
gc_heap_malloc: small block 328 at 0x10014e10 free 0x10022010
allocating new thread, stack base 0x10022148-0x10022148
resumeThread 0x10022018
disable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014e38
gc_heap_malloc: small block 36 at 0x10014e38 free 0x100230c8
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_primitive_alloc: 8192 bytes from freelist @ 0x10014e60
gc_heap_malloc: large block 4104 at 0x10024008
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_primitive_alloc: 4096 bytes from freelist @ 0x10014eb0
gc_heap_malloc: small block 13 at 0x10014eb0 free 0x100261c8
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_heap_malloc: freelist 40 at 0x10014e38 free 0x100230f0
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_heap_malloc: freelist 40 at 0x10014e38 free 0x10023118
enable stop for thread  0x10022018
disable stop for thread  0x10022018
enable stop for thread  0x10022018
disable stop for thread  0x10022018
gc_heap_malloc: freelist 16 at 0x10014eb0 free 0x100261d8
enable stop for thread  0x10022018
disable stop for thread  0x10022018

_________________________________________________________________
Enjoy a special introductory offer for dial-up Internet access — limited 
time only! http://join.msn.com/?page=dept/dialup





More information about the kaffe mailing list