[Gc] segfault with CACAO on OpenSolaris

Christian Thalinger twisti at complang.tuwien.ac.at
Tue Aug 19 10:59:06 PDT 2008


On Mon, 2008-08-18 at 21:59 +0000, Boehm, Hans wrote:
> It would be good to understand whether that's the first allocation
> from a thread, or whether the failing allocation is in a threads that
> previously succeeded.  It may be that a thread is somehow getting
> created without setting up the free list structure.  Does 0xc8
> correspond to a tsd value of zero?

Yes, it's the first allocation on that thread and tsd is zero:

<snip>
thread=1: GC_malloc(72): tsd=fffffd7ffedede38, tiny_fl=fffffd7ffededf00
thread=1: GC_malloc(72) = 5fc5f0 : 1
thread=1: GC_malloc(104): tsd=fffffd7ffedede38, tiny_fl=fffffd7ffededf00
thread=1: GC_malloc(104) = 601e00 : 1
thread=1: GC_malloc(152): tsd=fffffd7ffedede38, tiny_fl=fffffd7ffededf00
thread=1: GC_malloc(152) = 5b7b40 : 1
thread=1: GC_malloc(80): tsd=fffffd7ffedede38, tiny_fl=fffffd7ffededf00
thread=1: GC_malloc(80) = 5fc5a0 : 1
thread=5: GC_malloc(72): tsd=0, tiny_fl=c8
LOG: [0x0000000000000005] We received a SIGSEGV and tried to handle it, but we were
LOG: [0x0000000000000005] unable to find a Java method at:
LOG: [0x0000000000000005] 
LOG: [0x0000000000000005] PC=0xfffffd7ffed0c46e

- twisti



More information about the Gc mailing list