--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: gcj-3.3: gcj segfaults with Jabref
- From: Vincent Fourmond <fourmond@dsvidf.cea.fr>
- Date: Thu, 28 Oct 2004 13:59:19 +0200
- Message-id: <E1CN8w3-0007fT-00@gaia>
Package: gcj-3.3
Version: 1:3.3.5-2
Severity: important
When I try to compile Jabref (get the source at http://jabref.sourceforge.net/), I get the
following error:
gaia ~/bin $ gcj Jabref-1.5.jar
antlr/PreservingFileWriter.java: In class `antlr.PreservingFileWriter':
antlr/PreservingFileWriter.java: In method `antlr.PreservingFileWriter.close()':
antlr/PreservingFileWriter.java:56: warning: exception handler inside code that is being
protected
gcj: Internal error: Segmentation fault (program jc1)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.
I don't really know wether this program, which has been designed for Sun's Java is fully
compatible with gcj, but there is one thing sure, that the compiler shouldn't segfault ;-) !
The same happens if I try with gcj 3.4 and I get some error code as well when I try to
launch it:
ang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
(/usr/lib/libgcj.so.4.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.4.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.4.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
(/usr/lib/libgcj.so.4.0.0)
at __libc_start_main (/lib/tls/libc-2.3.2.so)
Caused by: java.lang.InternalError: Unexpected exception while defining class
com.jgoodies.plaf.windows.ExtWindowsLookAndFeel
at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int,
java.security.ProtectionDomain) (/usr/lib/libgcj.so.4.0.0)
at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int,
java.security.CodeSource) (/usr/lib/libgcj.so.4.0.0)
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.4.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.4.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader)
(/usr/lib/libgcj.so.4.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.4.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.4.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.resolveClass0(java.lang.Class) (/usr/lib/libgcj.so.4.0.0)
...7 more
Caused by: java.lang.ClassNotFoundException:
com.sun.java.swing.plaf.windows.WindowsLookAndFeel not found in [file:Jabref-1.5.jar,
core:/]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.4.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.4.0.0)
at _Jv_ClassReader.handleClassBegin(int, int, int) (/usr/lib/libgcj.so.4.0.0)
at _Jv_ClassReader.parse() (/usr/lib/libgcj.so.4.0.0)
at _Jv_DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.4.0.0)
at java.lang.ClassLoader.defineClass0(java.lang.String, byte[], int, int,
java.security.ProtectionDomain) (/usr/lib/libgcj.so.4.0.0)
I don't quite understand a single thing in here, but I thought it might help... Meanwhile,
I'm sorry to say that I will have to revert to Sun's version of Java - sorry !!
Thanks for considering this report
Vincent Fourmond
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages gcj-3.3 depends on:
ii g++-3.3 1:3.3.5-2 The GNU C++ compiler
ii gcc-3.3-base 1:3.3.5-2 The GNU Compiler Collection (base
ii java-common 0.22 Base of all Java packages
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.2-3 GCC support library
ii libgcj4 1:3.3.5-2 Java runtime library for use with
ii libgcj4-common 1:3.3.5-2 Java runtime library for use with
ii zlib1g 1:1.2.2-1 compression library - runtime
-- no debconf information
--- End Message ---