[Gc] segfault with CACAO on OpenSolaris

Christian Thalinger twisti at complang.tuwien.ac.at
Mon Aug 18 14:24:50 PDT 2008

On Mon, 2008-08-18 at 20:38 +0000, Boehm, Hans wrote:
> In the GC7.1 tar file, line 179 in thread_local_alloc.c is a
> GC_err_printf call that isn't normally compiled in for a standard
> build.  Can you get the source context, and some information about
> which access is faulting?

It seems the free list is broken.  I added another print before the
GC_FAST_MALLOC_GRANS printing tiny_fl too:

GC_malloc(88) : 1, tiny_fl=fffffd7ffedee580
GC_malloc(88) = 5d7780 : 1
GC_malloc(72) : 1, tiny_fl=fffffd7ffedee580
GC_malloc(72) = 5fc5f0 : 1
GC_malloc(104) : 1, tiny_fl=fffffd7ffedee580
GC_malloc(104) = 601e00 : 1
GC_malloc(152) : 1, tiny_fl=fffffd7ffedee580
GC_malloc(152) = 5b7b40 : 1
GC_malloc(80) : 1, tiny_fl=fffffd7ffedee580
GC_malloc(80) = 5fc5a0 : 1
GC_malloc(72) : 1, 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=0xfffffd7ffed06afd
LOG: [0x0000000000000005] 
LOG: [0x0000000000000005] Dumping the current stacktrace:
	at java.lang.VMProcess.nativeSpawn([Ljava/lang/String;[Ljava/lang/String;Ljava/io/File;Z)V(Native Method)
	at java.lang.VMProcess$ProcessThread.spawn(Ljava/lang/VMProcess;)V(VMProcess.java:203)
	at java.lang.VMProcess$ProcessThread.run()V(VMProcess.java:140)
	at java.lang.VMThread.run()V(VMThread.java:120)
LOG: [0x0000000000000005] Exiting...

Unfortunately tsd is optimized away, so I have to recompile it.  Will do
that tomorrow.

- twisti

More information about the Gc mailing list