Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 93981 invoked from network); 28 Sep 2007 13:00:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Sep 2007 13:00:12 -0000 Received: (qmail 12010 invoked by uid 500); 28 Sep 2007 13:00:02 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 11919 invoked by uid 500); 28 Sep 2007 13:00:02 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 11908 invoked by uid 99); 28 Sep 2007 13:00:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 06:00:02 -0700 X-ASF-Spam-Status: No, hits=-98.8 required=10.0 tests=ALL_TRUSTED,DNS_FROM_DOB,RCVD_IN_DOB X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Sep 2007 13:00:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EF0A87141FE for ; Fri, 28 Sep 2007 05:59:50 -0700 (PDT) Message-ID: <10410424.1190984390976.JavaMail.jira@brutus> Date: Fri, 28 Sep 2007 05:59:50 -0700 (PDT) From: "Mikhail Fursov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-4866) [drlvm][jit] Lazy resolution invokes fails if object is NULL In-Reply-To: <28043194.1190886290568.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Fursov resolved HARMONY-4866. ------------------------------------- Resolution: Fixed committed revision r580334 regression test added. > [drlvm][jit] Lazy resolution invokes fails if object is NULL > ------------------------------------------------------------ > > Key: HARMONY-4866 > URL: https://issues.apache.org/jira/browse/HARMONY-4866 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Andrey Pavlenko > Assignee: Mikhail Fursov > Priority: Critical > Attachments: 4866.patch, 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 > 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) > > Aborted -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.