[Kaffe] Still crashing
Fabien Renaud
renaud at nentec.de
Mon May 10 08:50:02 PDT 2004
Hello,
I edited a lot jthread.c (with the new version from CVS) and I had still
the same result.
And I remember what Dalibor said to me : "your SP_OFFSET seems to be not
correct"
I compile sp_offset.c and run it on my machine. And the value that
everybody said right (20) was wrong.
It´s 8 on my ARM Xscale !!
Now I have another problem (I have the same with sableVM) :
When I want to run a class, the vm doesn´t check in class path. I tried
with the env var and with -classpath option.
To success I have to move my class in BOOTCLASSPATH
Cheers,
Fabien
Fabien Renaud wrote:
> Hi everybody !
>
> I cross compiled kaffer for my arm machine. And I have a problem
> during class loading :
> kaffe-bin -v helloworld Loading
> java/lang/Object.class(/home/java/kaffe/jre/lib/rt.jar) [compressed]
> Loading java/io/Serializable.class(/home/java/kaffe/jre/lib/rt.jar)
> [compressed]
> Loading java/lang/Cloneable.class(/home/java/kaffe/jre/lib/rt.jar)
> [compressed]
> Loading java/lang/Class.class(/home/java/kaffe/jre/lib/rt.jar)
> [compressed]
> ...
> ...
> Loading
> kaffe/lang/AppClassLoader$JarSource.class(/home/java/kaffe/jre/lib/rt.jar)
> [compressed]
> Loading
> kaffe/lang/AppClassLoader$Source.class(/home/java/kaffe/jre/lib/rt.jar)
> [compressed]
> Loading
> kaffe/lang/AppClassLoader$DirSource.class(/home/java/kaffe/jre/lib/rt.jar)
> [compressed]
> Loading
> gnu/java/io/PlatformHelper.class(/home/java/kaffe/jre/lib/rt.jar)
> [compressed]
> Internal error: caught an unexpected exception.
> Please check your CLASSPATH and your installation.
> java/lang/NullPointerException
>
> With gdb I have these informations :
>
> kpoint 1, 0x400cc81c in jthread_create ()
> from /home/java/kaffe/jre/lib/arm/libkaffevm-1.1.4.so
> (gdb) s
> Single stepping until exit from function jthread_create,
> which has no line number information.
> *__GI___getpagesize () at ../sysdeps/unix/sysv/linux/getpagesize.c:28
> 28 ../sysdeps/unix/sysv/linux/getpagesize.c: No such file or
> directory.
> in ../sysdeps/unix/sysv/linux/getpagesize.c
> (gdb)
> 27 in ../sysdeps/unix/sysv/linux/getpagesize.c
> (gdb)
> 28 in ../sysdeps/unix/sysv/linux/getpagesize.c
> (gdb)
> 43 in ../sysdeps/unix/sysv/linux/getpagesize.c
> (gdb)
> 0x400cc840 in jthread_create ()
> from /home/java/kaffe/jre/lib/arm/libkaffevm-1.1.4.so
> (gdb)
> Single stepping until exit from function jthread_create,
> which has no line number information.
> _setjmp () at ../sysdeps/arm/bsd-_setjmp.S:27
> 27 ../sysdeps/arm/bsd-_setjmp.S: No such file or directory.
> in ../sysdeps/arm/bsd-_setjmp.S
> Current language: auto; currently asm
> (gdb) p srcp
> No symbol "srcp" in current context.
> (gdb)
> No symbol "srcp" in current context.
> (gdb) s
> 28 in ../sysdeps/arm/bsd-_setjmp.S
> (gdb) __sigsetjmp () at ../sysdeps/arm/setjmp.S:27
> 27 ../sysdeps/arm/setjmp.S: No such file or directory.
> in ../sysdeps/arm/setjmp.S
> (gdb)
> 30 in ../sysdeps/arm/setjmp.S
> (gdb)
> __sigjmp_save (env=0x0, savemask=0) at ../sysdeps/generic/sigjmp.c:29
> 29 ../sysdeps/generic/sigjmp.c: No such file or directory.
> in ../sysdeps/generic/sigjmp.c
> Current language: auto; currently c
> (gdb) 30 in ../sysdeps/generic/sigjmp.c
> (gdb) 35 in ../sysdeps/generic/sigjmp.c
> (gdb) 0x400cca40 in jthread_create ()
> from /home/java/kaffe/jre/lib/arm/libkaffevm-1.1.4.so
> (gdb)
> Single stepping until exit from function jthread_create,
> which has no line number information.
> memcpy (dstpp=0x3, srcpp=0x0, len=44268) at
> ../sysdeps/generic/memcpy.c:33
> 33 ../sysdeps/generic/memcpy.c: No such file or directory.
> in ../sysdeps/generic/memcpy.c
> (gdb)
> 35 in ../sysdeps/generic/memcpy.c
> (gdb)
> 34 in ../sysdeps/generic/memcpy.c
> (gdb)
> 40 in ../sysdeps/generic/memcpy.c
> (gdb)
> 43 in ../sysdeps/generic/memcpy.c
> (gdb)
> 44 in ../sysdeps/generic/memcpy.c
> (gdb)
> 43 in ../sysdeps/generic/memcpy.c
> (gdb)
> 44 in ../sysdeps/generic/memcpy.c
> (gdb)
> 55 in ../sysdeps/generic/memcpy.c
> (gdb)
> _wordcopy_fwd_aligned (dstp=1859748, srcp=0, len=32)
> at ../sysdeps/generic/wordcopy.c:38
> 38 ../sysdeps/generic/wordcopy.c: No such file or directory.
> in ../sysdeps/generic/wordcopy.c
> (gdb)
> 80 in ../sysdeps/generic/wordcopy.c
> (gdb)
>
> Program received signal SIGSEGV, Segmentation fault.
> _wordcopy_fwd_aligned (dstp=1859748, srcp=0, len=32)
> at ../sysdeps/generic/wordcopy.c:80
> 80 in ../sysdeps/generic/wordcopy.c
> (gdb)
> _wordcopy_fwd_aligned (dstp=5988360, srcp=1074629160, len=24)
> at ../sysdeps/generic/wordcopy.c:82
> 82 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 83 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 100 in ../sysdeps/generic/wordcopy.c
> (gdb) 101 in ../sysdeps/generic/wordcopy.c
> (gdb) 103 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 104 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 106 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 107 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 109 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 110 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 112 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 113 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 115 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 116 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 118 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 124 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 119 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 122 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 121 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 124 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 97 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 98 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 100 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 101 in ../sysdeps/generic/wordcopy.c
> ...
> ...122 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 121 in ../sysdeps/generic/wordcopy.c
> (gdb)
> 124 in ../sysdeps/generic/wordcopy.c
> (gdb)
> *__GI___mempcpy (dstpp=0x5b6064, srcpp=0x400d8a88, len=3)
> at ../sysdeps/generic/mempcpy.c:63
> 63 ../sysdeps/generic/mempcpy.c: No such file or directory.
> in ../sysdeps/generic/mempcpy.c
> (gdb)
> 66 in ../sysdeps/generic/mempcpy.c
> (gdb)
> _IO_default_xsputn (f=0xbffff6d4, data=0x400d8a88, n=99) at genops.c:463
> 463 genops.c: No such file or directory.
> in genops.c
> (gdb)
> 458 in genops.c
> (gdb) s
> 473 in genops.c
> (gdb)
> 475 in genops.c
> (gdb)
> 477 in genops.c
> (gdb)
> 481 in genops.c
> (gdb)
> 482 in genops.c
> (gdb)
> _IO_vfprintf (s=0xbffff6d4,
> format=0x400d8a28 "Internal error: caught an unexpected
> exception.\nPlease check your CLASS
> at vfprintf.c:1322
> 1322 vfprintf.c: No such file or directory.
> in vfprintf.c
>
>
> Someone has an idea ?
>
> Cheers,
>
> Fabien
>
>
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
>
>
More information about the kaffe
mailing list