[Bug java/41375] Compiling native executable without -findirect-dispatch causes random SEGVs
--- Comment #3 from aph at gcc dot gnu dot org 2009-10-19 09:01 --- Works for me on GNU/Linux: ClassNotFoundException: java.lang.ClassNotFoundException: my.other.class not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} Exception in thread main java.lang.ExceptionInInitializerError at java.lang.Class.initializeClass(libgcj.so.10) at MyProxy.main(a.out) Caused by: java.lang.NullPointerException at MyProxy.clinit(a.out) at java.lang.Class.initializeClass(libgcj.so.10) ...1 more -- aph at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||WORKSFORME http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41375
[Bug java/41375] Compiling native executable without -findirect-dispatch causes random SEGVs
--- Comment #1 from yuri at tsoft dot com 2009-09-16 12:12 --- I should also add that one of the classes has native methods, and crash occurs shortly after the first such method is invoked. This may or may not be a factor in the issue. Testcase is quite large and I can't submit it here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41375
[Bug java/41375] Compiling native executable without -findirect-dispatch causes random SEGVs
--- Comment #2 from yuri at tsoft dot com 2009-09-16 20:01 --- Created an attachment (id=18599) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18599action=view) Java proxy example that crashes without -findirect-dispatch Try making an executable with -findirect-dispatch and run some large application through it's 'main' method. I get SEGV from inside this application. FreeBSD-72-STABLE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41375