dynamically loading libgcj (still) SEGFAULTS

Bryce McKinlay bryce@waitaki.otago.ac.nz
Sun Sep 23 22:16:00 GMT 2001


Jeff Sturm wrote:
>>On 2001年9月24日, Johannes Zellner wrote:
>>>(gdb) run
>>Starting program: /home/joze/fred
>>dlopen: loaded "libgcjgc.so"
>>dlopen: loaded "libz.so"
>>(no debugging symbols found)...(no debugging symbols found)...(no
>>debugging symbols found)...(no debugging symbols found)...
>>Program received signal SIGSEGV, Segmentation fault.
>>0x40158182 in GC_mark_from () from /home/joze/local/lib/libgcjgc.so
>>>>FWIW your test program works fine on my RH 6.2 box.
>Interesting. It does still crash for me on RH 7.1. The problem here 
seems to be that the GC crashes when it is invoked from a libgcj that is 
in the process of being dlopen()ed. It is called from 
_Jv_RegisterClasses and most of the other static initializers.
This issue came up a while back - see 
http://gcc.gnu.org/ml/java/2001-01/msg00590.html
regards
Bryce.


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /