Bug#376336: kaffe: Unable to run any programs

Dalibor Topic robilad at kaffe.org
Sun Jul 2 17:18:17 UTC 2006


On Sun, Jul 02, 2006 at 10:45:29AM +0200, Michael Koch wrote:
> On Sun, Jul 02, 2006 at 03:47:46AM -0400, Daniel Schepler wrote:
> > Package: kaffe
> > Version: 2:1.1.7-3
> > Severity: grave
> > 
> > On my i386 system:
> > 
> > frobnitz:/tmp# cat Test.java
> > public class Test {
> > public static void main (String args[]) {
> > System.exit(0);
> > }
> > }
> > frobnitz:/tmp# /usr/lib/kaffe/bin/javac Test.java
> > Internal error: caught an unexpected exception.
> > Please check your CLASSPATH and your installation.
> > java/lang/NullPointerException
> >    at gnu.classpath.SystemProperties.getProperty (SystemProperties.java:123)
> >    at java.lang.VMClassLoader.<clinit> (VMClassLoader.java:84)
> >    at java.lang.ClassLoader$StaticData.<clinit> (ClassLoader.java:155)
> >    at java.lang.ClassLoader.getSystemClassLoader (ClassLoader.java:797)
> >    at gnu.classpath.VMSystemProperties.postInit (VMSystemProperties.java:native)
> >    at gnu.classpath.SystemProperties.<clinit> (SystemProperties.java:114)
> >    at java.lang.Runtime.<init> (Runtime.java:100)
> >    at java.lang.Runtime.<clinit> (Runtime.java:88)
> >    at java.lang.System.loadLibrary (System.java:560)
> >    at gnu.java.nio.channels.FileChannelImpl.<clinit> (FileChannelImpl.java:86)
> >    at java.io.FileDescriptor.<clinit> (FileDescriptor.java:64)
> >    at java.lang.VMSystem.makeStandardInputStream (VMSystem.java:191)
> >    at java.lang.System.<clinit> (System.java:74)
> >    at java.lang.Object.hashCode (Object.java:174)
> >    at java.util.Hashtable.hash (Hashtable.java:816)
> >    at java.util.Hashtable.put (Hashtable.java:426)
> >    at java.security.Permissions.add (Permissions.java:112)
> > Aborted
> > frobnitz:/tmp# gcj -C Test.java
> > frobnitz:/tmp# kaffe Test
> > Internal error: caught an unexpected exception.
> > Please check your CLASSPATH and your installation.
> > java/lang/NullPointerException
> >    at gnu.classpath.SystemProperties.getProperty (SystemProperties.java:123)
> > [and so on as before]
> > frobnitz:/tmp# gij Test
> > frobnitz:/tmp#
> 
> Thanks for the report. The problem is that kaffe is built with GCC 4.1
> which is known to break kaffe because of some aliasing. Compilation of
> kaffe with GCC 4.0 wuld fix this but Matthias Klose told me that he will
> drop GCC 4.0 from etch/sid soon. Upstream is working on the needed fixes
> and will do a release when done. I really hope this is done soon.
> 

there is a very rough patch to fix kaffe's stack frame unwinding with
gcc 4.1.x for CVS head at http://www.kaffe.org/~robilad/gcc-4.1.rough.diff
I'll see if I can bring it down to just the necessary bits and pieces.

cheers,
dalibor topic

> 
> Cheers,
> Michael
> -- 
> http://www.worldforge.org/
> 
> 
> _______________________________________________
> pkg-java-maintainers mailing list
> pkg-java-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers




More information about the pkg-java-maintainers mailing list