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

Bug#337263: marked as done (gij-4.0: segfaults on arm)



Your message dated Mon, 20 Feb 2006 13:25:01 +0100
with message-id <17401.46365.852022.483468@gargle.gargle.HOWL>
and subject line Bug#337263: gij-4.0: segfaults on arm
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: 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


--- End Message ---
--- Begin Message ---
Version: 4.0.2-9

Lennert Buytenhek writes:
> > > These patches seem to fix this problem.  I haven't tested the resulting
> > > gij very extensively, but it can at least execute "hello world" type
> > > stuff now.
> > 
> > thanks, committed to the debian svn archives (4.0 and and 4.1). Do you
> > forward these upstream?
> > 
> > Andreas, please can you check these for armeb as well?
> 
> gij 4.0.2-9 works fine on armeb where it would fail before.

--- End Message ---

Reply to: