Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 58622 invoked from network); 11 Dec 2007 19:27:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 19:27:00 -0000 Received: (qmail 63896 invoked by uid 500); 11 Dec 2007 19:26:46 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 63871 invoked by uid 500); 11 Dec 2007 19:26: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 63862 invoked by uid 99); 11 Dec 2007 19:26: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 11:26: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 andrey.a.pavlenko@googlemail.com designates 64.233.184.227 as permitted sender) Received: from [64.233.184.227] (HELO wr-out-0506.google.com) (64.233.184.227) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Dec 2007 19:26:23 +0000 Received: by wr-out-0506.google.com with SMTP id c8so2416581wra for ; Tue, 11 Dec 2007 11:26:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=UqP+om9lONVjBDNWczdGhjBIuZ4r4hCFRsdfE4pDWi4=; b=mtDjgvfMS17Kex0dh85YJbp7DoJyPDRRMe5LoOogQBnkkjQaFJ8RQQTEQ29lZU3H0Srkeqbm0WffbdVZM1yLQWUNHXBk3sB8BtkfGdDl/IfJgHvm9YeLqOK0luSSu37iHhpoSDp/p6xb/4ZcbFqvlzU8Qt7vyztDAk5c/q/UHvw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NeSwJCYG1rDkQxhbXLK9+2wwooqkuA/NFZqHq/nagKv79UQyKmEoBfu3djkWbCPkh7C+PyaXwH7ntt2/6tzV3m52uqGidiKEAM30dhRlE3GWiBHOlGMHrt+AmXphNkGkWbbVsw3WtNtUt19ojZYMRnFHUef0zNqxvUGMpND3IK4= Received: by 10.78.204.20 with SMTP id b20mr9092218hug.1197401182880; Tue, 11 Dec 2007 11:26:22 -0800 (PST) Received: by 10.78.192.2 with HTTP; Tue, 11 Dec 2007 11:26:22 -0800 (PST) Message-ID: Date: Tue, 11 Dec 2007 22:26:22 +0300 From: "Pavlenko, Andrey A" To: dev@harmony.apache.org Subject: Re: [jira] Created: (HARMONY-5290) [drlvm][jit] SIGSEGV in JIT code In-Reply-To: <475EAD4D.1080509@apache.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15195_14720122.1197401182879" References: <20310275.1197359323280.JavaMail.jira@brutus> <475E7BA4.5050500@gmail.com> <469bff730712110632u6de62bf7if850c26e7c969379@mail.gmail.com> <469bff730712110650s40c32551raa87a1ac03cab44e@mail.gmail.com> <475EAD4D.1080509@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_15195_14720122.1197401182879 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline +1 to commit. Gregory, actually the test mentioned in JIRA also crashed on Windows but with different stack. However, I can't reproduce it. On 12/11/07, Gregory Shimansky wrote: > > Pavel Ozhdikhin said the following on 11.12.2007 17:50: > > 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. > > +1 to commit the fix, but since the bug was filed on Linux I think it > should be checked on Linux as well. > > > 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_15195_14720122.1197401182879--