This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #29 from howarth at nitro dot med dot uc dot edu  2009-12-05 07:03 -------
The proposed patch to properly implement passing -allow_stack_execute on
SYSTEMSPEC...

http://gcc.gnu.org/ml/java/2009-12/msg00027.html

eliminates the crashes in gcj when compiling java code provided that r154282
and r154283
are regressed so that the FSF libgcc's unwinder is used.  When r154282 and
r154283 is left
in place, we run into two different crashes for darwin9 and darwin10 when gcj
compiles java
code. In the darwin9 case, the crash appears as...

(gdb) r testme.java
-fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/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-//ccamdOl5.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccaNqaGi.jar
Starting program:
/sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin9.8.0/4.5.0/ecj1 testme.java
-fbootclasspath=/sw/share/java/ecj/ecj.jar:./:/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-//ccamdOl5.zip -fzip-target
/var/folders/1C/1CdoNxmNFHyOIjNBLNuJh++++TM/-Tmp-//ccaNqaGi.jar
warning: posix_spawn failed, trying execvp, error: 86
Reading symbols for shared libraries ++++.+. done

Program received signal SIGABRT, Aborted.
0x00007fff810c3f16 in __kill ()
(gdb) bt
#0  0x00007fff810c3f16 in __kill ()
#1  0x00007fff81134f6d in abort ()
#2  0x000000010001342b in _Jv_Throw (value=0x10483e6c0) at
../../../gcc-4.5-20091204/libjava/exception.cc:128


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]