harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Pavlenko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-4866) [drlvm][jit] VM crash instead of NPE
Date Thu, 27 Sep 2007 09:46:50 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrey Pavlenko updated HARMONY-4866:
-------------------------------------

    Attachment: Test.java

> [drlvm][jit] VM crash instead of NPE
> ------------------------------------
>
>                 Key: HARMONY-4866
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4866
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Andrey Pavlenko
>            Priority: Critical
>         Attachments: Test.java
>
>
> The attached test causes VM crash if DRLVM is running with "-server" argument.
> To reproduce the issue run the attached test with the following command:
> $HARMONY_HOME/bin/java -server Test
> Stack:
> java: /nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/jit/jit_runtime_support.cpp:2102:
void* rth_invokevirtual_addr_withresolve(Class*, unsigned int, ManagedObject*): Assertion
`obj!=__null' failed.
> SIGABRT in VM code.
> Stack trace:
> addr2line: '[vdso]': No such file
>   0: ?? (:-1)
>   1: abort (??:-1)
>   2: __assert_fail (??:-1)
>   3: rth_invokevirtual_addr_withresolve (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/jit/jit_runtime_support.cpp:2104)
>   4: 0xB687A663  <Generated stub>
>   5: ?? (??:-1)
>   6: Test$MyClass.test(Ljava/nio/ByteBuffer;)V (Test.java:16)
>   7: vm_invoke_native_array_stub (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/util/ia32/base/invoke_native_stub_ia32.asm:41)
>   8: JIT_execute_method_default(void*, _jmethodID*, jvalue*, jvalue*) (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/util/ia32/base/ini_iA32.cpp:199)
>   9: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/em/src/DrlEMImpl.cpp:514)
>  10: ExecuteMethod (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/em/src/em_intf.cpp:43)
>  11: vm_execute_java_method_array(_jmethodID*, jvalue*, jvalue*) (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/jit/ini.cpp:62)
>  12: call_static_method_no_ref_result (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/jni/jni_method.cpp:1157)
>  13: CallStaticVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, jvalue*) (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/jni/jni_method.cpp:1565)
>  14: CallStaticVoidMethodV(JNIEnv_External*, _jobject*, _jmethodID*, char*) (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/jni/jni_method.cpp:1549)
>  15: CallStaticVoidMethod(JNIEnv_External*, _jobject*, _jmethodID*, ...) (/nfs/ims/proj/drl/mrt3/users/apavlen1/work/harmony/svn/drlvm/vm/vmcore/src/jni/jni_method.cpp:1539)
>  16: main_runJavaMain (../shared/main.c:1324)
>  17: invocation (../shared/main.c:740)
>  18: gpProtectedMain (../shared/main.c:389)
>  19: main (../shared/cmain.c:146)
>  20: __libc_start_main (??:-1)
>  21: _start (../sysdeps/i386/elf/start.S:105)
>  22: Test.main([Ljava/lang/String;)V (Test.java:-1)
> <end of stack trace>
> Aborted

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message