Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 3827 invoked from network); 28 Nov 2007 13:43:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 13:43:19 -0000 Received: (qmail 24480 invoked by uid 500); 28 Nov 2007 13:43:07 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 24459 invoked by uid 500); 28 Nov 2007 13:43:06 -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 24450 invoked by uid 99); 28 Nov 2007 13:43:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 05:43:06 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 28 Nov 2007 13:43:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3E2AE714241 for ; Wed, 28 Nov 2007 05:42:43 -0800 (PST) Message-ID: <26209174.1196257363203.JavaMail.jira@brutus> Date: Wed, 28 Nov 2007 05:42:43 -0800 (PST) From: "Alexey Varlamov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Resolved: (HARMONY-5063) [drlvm][jit][encoder] Assertion in encoder. In-Reply-To: <13583752.1194027830555.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-5063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexey Varlamov resolved HARMONY-5063. -------------------------------------- Resolution: Fixed Applied at revision: 598998 > [drlvm][jit][encoder] Assertion in encoder. > ------------------------------------------- > > Key: HARMONY-5063 > URL: https://issues.apache.org/jira/browse/HARMONY-5063 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Linux x86-64 > Reporter: Pavel Afremov > Assignee: Alexey Varlamov > Attachments: H5063.patch > > > Turning on capability flag can_pop_frame on linux x86-64 leads to strange intermittent asserts in code emitter which is called from JET. > No JVM TI functions called in this case, They have assert(0) in begin. Looks like, that in TI mode can_pop_frame capability requires additional support from the JET and during compilation of this supporting code assertion is happened. > Changes: > Index: vm/vmcore/src/jvmti/jvmti_capability.cpp > =================================================================== > --- vm/vmcore/src/jvmti/jvmti_capability.cpp (revision 589494) > +++ vm/vmcore/src/jvmti/jvmti_capability.cpp (working copy) > @@ -79,7 +79,7 @@ > 1, // can_get_owned_monitor_info > 1, // can_get_current_contended_monitor > 1, // can_get_monitor_info > - 0, // can_pop_frame > + 1, // can_pop_frame > 0, // can_redefine_classes > 1, // can_signal_thread > 1, // can_get_source_file_name > Output: > /nfs/ims/proj/drl/mrt2/users/pnafremo/work/H64/drlvm/vm/port/src/encoder/ia32_em64t/enc_base.cpp:742: static const EncoderBase::OpcodeDesc* EncoderBase::lookup(Mnemonic, const EncoderBase::Operands&): Assertion `found' failed. > SIGABRT in VM code. > To reproduce assertion run DRLVM with TI agent. I used following sequence of action: > 1. Ran smoke tests using command : buils.sh smoke.test, > 2. Ran jvmti tests using command : buils.sh jvmti.test, > 3. Ran Hi smoke test without TI agent > $ ./build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/java -cp ./build/lnx_em64t_gcc_debug/tests/smoke.tests/classes/ Hi > 4. Ran Hi smoke test with TI agent > $ ./build/lnx_em64t_gcc_debug/deploy/jdk/jre/bin/java -cp ./build/lnx_em64t_gcc_debug/tests/smoke.tests/classes/ -agentpath:./build/lnx_em64t_gcc_debug/tests/jvmti.tests/native/PopFrame1/libPopFrame1.so Hi -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.