Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 67884 invoked from network); 11 Dec 2007 15:16:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 15:16:00 -0000 Received: (qmail 41637 invoked by uid 500); 11 Dec 2007 15:15:46 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 41618 invoked by uid 500); 11 Dec 2007 15:15:46 -0000 Mailing-List: contact dev-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 dev@harmony.apache.org Received: (qmail 41609 invoked by uid 99); 11 Dec 2007 15:15:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 07:15:46 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pavel.ozhdikhin@gmail.com designates 64.233.170.187 as permitted sender) Received: from [64.233.170.187] (HELO rn-out-0102.google.com) (64.233.170.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 15:15:26 +0000 Received: by rn-out-0102.google.com with SMTP id e11so255493rng for ; Tue, 11 Dec 2007 07:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=LiUrtp1pwvQSo1+7SGcub398w5EZQQJ7KnhuloE9fd8=; b=LEx9v/j/ov7ofonfZb5++frXdCWBKuiVTcAjXWQuRB3Hk/GZBvtst+F46O+1OV0v9hTRC6jN7iEV2XgfQIWJDlnAjGNOBaOz5LuPuks+UBacwAm1O2+yoNfUwqgqSZQJ+WQhkwyc/crTnHmi6aNqvomsTByGMOsbLN6Ifqk+OHY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=aVam2ybxyi0B9AEF172ToSIA2MF+jRm4JwGO3ScJADAtGNYugLJaYQ4W32+S/ITsyDAslnG7wTC3MOeI3jGp8zyoynKjmoLWhs5KEBYQLDBprPYSQA2NKgPUGpx7WR78co1lQiqFbdxdulpo7qign6XmXyBIrCMgXQh/TCvPeag= Received: by 10.150.53.2 with SMTP id b2mr2717371yba.1197384621134; Tue, 11 Dec 2007 06:50:21 -0800 (PST) Received: by 10.150.143.1 with HTTP; Tue, 11 Dec 2007 06:50:21 -0800 (PST) Message-ID: <469bff730712110650s40c32551raa87a1ac03cab44e@mail.gmail.com> Date: Tue, 11 Dec 2007 20:50:21 +0600 From: "Pavel Ozhdikhin" To: dev@harmony.apache.org Subject: Re: [jira] Created: (HARMONY-5290) [drlvm][jit] SIGSEGV in JIT code In-Reply-To: <469bff730712110632u6de62bf7if850c26e7c969379@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5512_31719867.1197384621126" References: <20310275.1197359323280.JavaMail.jira@brutus> <475E7BA4.5050500@gmail.com> <469bff730712110632u6de62bf7if850c26e7c969379@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5512_31719867.1197384621126 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello all, According to our code freeze rules we need approval from 2 committers to commit the patch from https://issues.apache.org/jira/browse/HARMONY-5290 The bug is a regression causing DRLVM crash on several functional and reliability tests. The bug is not platform-specific and the fix looks safe. Committers, please vote. Thanks, Pavel On 12/11/07, Pavel Ozhdikhin wrote: > > The fix is in JIRA, I'm running tests to check it. > > Thanks, > Pavel > > > On 12/11/07, Tim Ellison wrote: > > > > This issue does seem to be the cause of a number of current test > > failures. > > Anyone care to take ownership of it? > > > > Regards, > > Tim > > > > Andrey Pavlenko (JIRA) wrote: > > > [drlvm][jit] SIGSEGV in JIT code > > > -------------------------------- > > > > > > Key: HARMONY-5290 > > > URL: > > https://issues.apache.org/jira/browse/HARMONY-5290 > > > Project: Harmony > > > Issue Type: Bug > > > Components: DRLVM > > > Environment: Linux x86/x64 > > > Reporter: Andrey Pavlenko > > > Priority: Critical > > > > > > > > > The following test causes VM crash. I've marked this issue as > > critical because it seems to be a regression and causes an error of the > > functional test http://people.apache.org/~smishura/r602572/Linux_x86/func/functional/org/apache/harmony/test/func/jit/HLO/peel/LoopVar2/738_LoopVar2.html > > > > > > > > public class Test { > > > > > > boolean flag = false; > > > > > > public static void main(String[] args) { > > > System.exit((new Test()).test()); > > > } > > > > > > public int test() { > > > int limit = 100000; > > > int i = -1; > > > int k = -1; > > > while (k < limit) { > > > k++; > > > for (i = 0; i < k; i++) { > > > flag = true; > > > } > > > } > > > return ((k == limit) && (i == limit)) ? 0 : 1; > > > } > > > } > > > > > > SIGSEGV in VM code. > > > Stack trace: > > > 0: Jitrino::ControlFlowGraph::addEdge(Jitrino::Node*, > > Jitrino::Node*, Jitrino::Edge*, double) ( walkers.cpp:-1) > > > 1: Jitrino::ControlFlowGraph::addEdge(Jitrino::Node*, > > Jitrino::Node*, double) (walkers.cpp:-1) > > > 2: Jitrino::FlowGraph::doTranslatorCleanupPhase(Jitrino::IRManager&) > > (walkers.cpp:-1) > > > 3: Jitrino::TranslatorSession::postTranslatorCleanup() ( > > walkers.cpp:-1) > > > 4: Jitrino::TranslatorSession::run() (walkers.cpp:-1) > > > 5: Jitrino::runPipeline(Jitrino::CompilationContext*) ( > > walkers.cpp:-1 ) > > > 6: Jitrino::compileMethod(Jitrino::CompilationContext*) ( > > walkers.cpp:-1) > > > 7: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) ( > > walkers.cpp:-1) > > > 8: JIT_compile_method_with_params (??:-1) > > > 9: Dll_JIT::compile_method_with_params(void*, Method*, > > OpenMethodExecutionParams) (apr_strtok.c:-1) > > > 10: compile_do_compilation_jit(Method*, JIT*) (apr_strtok.c:-1) > > > 11: vm_compile_method (??:-1) > > > 12: DrlEMImpl::methodProfileIsReady(MethodProfile*) (inet_pton.c:-1) > > > 13: EBProfileCollector::onTimeout() (inet_pton.c:-1) > > > 14: DrlEMImpl::tbsTimeout() (inet_pton.c:-1) > > > 15: ProfilerThreadTimeout (em_intf.cpp:-1) > > > 16: Java_java_lang_EMThreadSupport_onTimeout (??:-1) > > > 17: 0xA6093C26 > > > 18: java/lang/EMThreadSupport.run()V (EMThreadSupport.java:68) > > > 19: java/lang/EMThreadSupport$1.run()V ( EMThreadSupport.java:44) > > > 20: java/lang/Thread.run()V (Thread.java:657) > > > 21: java/lang/Thread.runImpl()V (Thread.java:668) > > > 22: ?? (??:-1) > > > 23: .L294 (ini_iA32.cpp:-1) > > > 24: DrlEMImpl::executeMethod(_jmethodID*, jvalue*, jvalue*) > > (inet_pton.c:-1) > > > 25: ExecuteMethod (em_intf.cpp:-1) > > > 26: vm_execute_java_method_array (apr_strtok.c:-1) > > > 27: call_method_no_ref_result(JNIEnv_External*, _jobject*, > > _jmethodID*, jvalue*, jvalue*, int) (jni_method.cpp:-1) > > > 28: CallVoidMethodA(JNIEnv_External*, _jobject*, _jmethodID*, > > jvalue*) (apr_strtok.c:-1) > > > 29: jthread_wrapper_start_proc(void*) (apr_strtok.c:-1) > > > 30: start_thread (??:-1) > > > 31: clone (??:-1) > > > > > > Segmentation fault > > > > > > > > > > > > > > > > ------=_Part_5512_31719867.1197384621126--