[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

howarth at nitro dot med dot uc dot edu gcc-bugzilla@gcc.gnu.org
Mon Nov 9 00:44:00 GMT 2009



------- Comment #1 from howarth at nitro dot med dot uc dot edu  2009-11-09 00:44 -------
A backtrace of the segfault under i686-apple-darwin10 for gcc trunk is...

gdb /sw/lib/gcc4.5/libexec/gcc/i686-apple-darwin9/4.5.0/ecj1
...
(gdb) r testme.java
-fbootclasspath=./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar -fsource=1.5
-ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccCFc8VX.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccBrG88S.jar
Starting program: /sw/lib/gcc4.5/libexec/gcc/i686-apple-darwin9/4.5.0/ecj1
testme.java -fbootclasspath=./:/sw/lib/gcc4.5/share/java/libgcj-4.5.0.jar
-fsource=1.5 -ftarget=1.5 -fzip-dependency
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccCFc8VX.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccBrG88S.jar
Reading symbols for shared libraries ++++.+. done

Program received signal SIGABRT, Aborted.
0x94cc2e42 in __kill ()
(gdb) bt
#0  0x94cc2e42 in __kill ()
#1  0x94cc2e34 in kill$UNIX2003 ()
#2  0x94d3523a in raise ()
#3  0x94d41679 in abort ()
#4  0x038de502 in _Jv_Throw (value=<value temporarily unavailable, due to
optimizations>) at ../../../gcc-4.5-20091107/libjava/exception.cc:128
#5  0x039359bb in _ZN4java4lang5Class7forNameEJPS1_PNS0_6StringES2_
(className=<value temporarily unavailable, due to optimizations>, caller=<value
temporarily unavailable, due to optimizations>) at Class.java:133
Previous frame inner to this frame (gdb could not unwind past this frame)

We don't seem to have any significant failures in the libjava testsuite for
i686-apple-darwin9/10 or x86_64-apple-darwin9/10 builds of gcc 4.4.2 or trunk
though. This problem seems unique to gcj and it is unclear if gcj is well
tested in the libjava testsuite.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41991



More information about the Gcc-bugs mailing list