[vmkit-commits] J3 crushes on HelloWorld

Minas Abrahamyan minas.subs at gmail.com
Wed Jul 14 01:31:37 PDT 2010


In both versions, 32 bit and 64-bit I now have VMkit is crushing:

[bin]$ java HW
Hello, world!
[bin]$ ./j3 HW
I received a SIGSEGV: either the VM code or an external
native method is bogus. Aborting...
Segmentation fault (core dumped)
[bin]$

Didn't look deep inside of 32bit version, but in 64bit it fails as:
(gdb) bt
#0  0x0000000000ae1ba3 in j3::JnjvmClassLoader::loadClassFromAsciiz
(this=0x0,
    asciiz=0x7ffff7b524f8 "gnu/classpath/Pointer64", doResolve=true,
doThrow=true) at JnjvmClassLoader.cpp:537
#1  0x0000000000b057c5 in FindClass (env=0x1c35910, asciiz=0x7ffff7b524f8
"gnu/classpath/Pointer64")
    at Jni.cpp:75
#2  0x00007ffff7b4fdcd in JNI_OnLoad (vm=<value optimized out>,
reserved=<value optimized out>) at jcl.c:73
#3  0x0000000000b24fe0 in callOnLoad (res=0x7ffff027e0b0, loader=0x1c326b0,
vm=0x1c35578)
    at ClasspathVMRuntime.inc:95
#4  0x0000000000b250cd in Java_java_lang_VMRuntime_nativeLoad
(str=0x7ffff039ede0, javaLoader=0x0)
    at ClasspathVMRuntime.inc:126
#5  0x00007ffff7ef3a51 in ?? ()
#6  0x00007ffff0104e76 in ?? ()
#7  0x00000001200fdbd0 in ?? ()
#8  0x00000001200fdbd0 in ?? ()
#9  0x00007ffff7ef4447 in ?? ()
#10 0x00007ffff01fa618 in ?? ()
#11 0x0000000000000000 in ?? ()
==
No symbols now yet, but hope it could somehow help.

/** cat HW.java */
public class HW {
  public static void main(final String args[]) {
    System.out.println("Hello, world!");
  }
}


-Minas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/vmkit-commits/attachments/20100714/c68c1b2a/attachment.html>


More information about the vmkit-commits mailing list