[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#278642: marked as done (gcj-3.3: gcj segfaults with Jabref)



Your message dated Sat, 23 Sep 2006 20:44:16 +0200
with message-id <17685.32896.975912.506990@gargle.gargle.HOWL>
and subject line gcj-3.3: gcj segfaults with Jabref 
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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 ---
--- Begin Message ---
Version: 4.1.1-13

No segfault, at least with the 2.1 jabref from the archive.

--- End Message ---

Reply to: