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

Bug#337263: gij-4.0: segfaults on arm



Package: gij-4.0
Version: 4.0.2-2
Severity: important

On armeb (and the same thing appears to be happening on regular arm),
gij doesn't seem to work at all -- trying to run any .class file just
results in a interpreter segfault accessing memory location 00000000,
which is caught and reported as a java.lang.NullPointerException.

This prevents a successful build of db4.2 in sid.

# cat hello.java 
public class hello {
        public static void main(String args[]) {
        }
}
# gcj -C hello.java 
# gij hello
Exception in thread "main" java.lang.NullPointerException
   at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.6.0.0)
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
# 


-- System Information:
Debian Release: testing/unstable
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: armeb (armv5teb)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-git4
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gij-4.0 depends on:
ii  gcc-4.0-base              4.0.2-2        The GNU Compiler Collection (base 
ii  libc6                     2.3.5-6.1armeb GNU C Library: Shared libraries an
ii  libgcj6                   4.0.2-2        Java runtime library for use with 
ii  zlib1g                    1:1.2.3-6      compression library - runtime

gij-4.0 recommends no packages.

-- no debconf information



Reply to: