[Sablevm-user] bug report -- cannot run 'HelloWorld' test
Brought to you by:
egagnon
|
From: Purtell, A. <And...@NA...> - 2000-07-27 18:55:44
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I downloaded SableVM and Sablepath, and attempted to run the 'HelloWorld'
test as shown on the project home page:
Running on RedHat 6.2 (Glibc 2.1, Kernel 2.2.16)
versions:
SableVM 0.1.4
Sablepath 0.1.1
Glibc 2.1
libffi 1.20
popt 1.5
libgmp 3.0.1
SableVM version 0.1.4
...
creating HelloWorld
creating java/lang/Object
...
Hello from native!
...
executing java/lang/String arraycopy
Ljava/lang/Object;ILjava/lang/Object;II)V
executing java/lang/String <init> ([C)V
executing java/lang/System loadLibrary (Ljava/lang/String;)V
creating java/lang/Runtime
java/lang/Runtime created
executing java/lang/Runtime <clinit> ()V
executing java/lang/Runtime <init> ()V
creating [Ljava/lang/String;
[Ljava/lang/String; created
executing java/lang/Object <init> ()V
executing java/lang/Runtime <init> ()V
executing java/lang/Runtime getLibraryPath ()Ljava/lang/String;
native: Java_java_lang_Runtime_getLibraryPath
executing java/lang/Runtime <init> ()V
Program received signal SIGSEGV, Segmentation fault
_svmf_interpreter (env=0x40164104) at interpreter.c:1913
1912 _svmf_object_instance *obj = stack[frame->stack_size - params].addr;
1913 _svmt_method_info *method =
1914 ((_svmt_method_info **) obj->vtable)[vtable_offset];
(gdb) p obj
$1 = (_svmt_object_instance *) 0x16b23ab4 <--- bogus address
(gdb) p *frame
$2 = {previous_offset = 50, end_offset=51, method=0x405c733e,
pc = 0x405c8638, stack_size = 1}
(gdb) p params
$3 = 1
(gdb) p stack[0]
$4 = {jint = 380779199}, jfloat = 2.8794525e-25, addr=0x16b23abf}
Not sure how much help this is... If anyone wants further information,
let me know.
Andrew Purtell
NAI Labs at Network Associates, Inc.
Los Angeles, CA
PGP Fingerprint: 5A21 10DB 92B0 CE20 80B4 90D7 A89C D464 AA0A A616
The difference between theory and practice in practice is larger
than the difference between theory and practice in theory. -- Steve
Crocker
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1
Comment: Crypto Provided by Network Associates <http://www.nai.com>
iQA/AwUBOYCFDqic1GSqCqYWEQLaBACgr7Csv1LYl+SUP1+ovTg4P3kDa34An3Dv
Q7Vf+Mo96dAFxtPLIHkAv3ef
=pTZO
-----END PGP SIGNATURE-----
|