Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 56938 invoked from network); 21 Sep 2007 08:42:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Sep 2007 08:42:12 -0000 Received: (qmail 30756 invoked by uid 500); 21 Sep 2007 08:42:03 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 30730 invoked by uid 500); 21 Sep 2007 08:42:03 -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 30721 invoked by uid 99); 21 Sep 2007 08:42:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2007 01:42:03 -0700 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; Fri, 21 Sep 2007 08:42:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 96EB871420E for ; Fri, 21 Sep 2007 01:41:50 -0700 (PDT) Message-ID: <7776670.1190364110598.JavaMail.jira@brutus> Date: Fri, 21 Sep 2007 01:41:50 -0700 (PDT) From: "Mikhail Fursov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-4790) [drlvm][jvmti] EventTest014 JDWP stress test intermittently fails with assertion violations In-Reply-To: <7151687.1189727972063.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-4790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Fursov updated HARMONY-4790: ------------------------------------ Patch Info: [Patch Available] Summary: [drlvm][jvmti] EventTest014 JDWP stress test intermittently fails with assertion violations (was: [drlvm][jit] Assertions in JET code during root set enumeration) > [drlvm][jvmti] EventTest014 JDWP stress test intermittently fails with assertion violations > ------------------------------------------------------------------------------------------- > > Key: HARMONY-4790 > URL: https://issues.apache.org/jira/browse/HARMONY-4790 > Project: Harmony > Issue Type: Bug > Components: VM > Environment: Windows/x86 > Reporter: Ilya Berezhniuk > Priority: Minor > > While investigating HARMONY-4388 I've observed several kinds of assertions on debug build. > All these assertions have occurred in JET code, and all call stacks contain root set enumeration. > To reproduce this bug: > - checkout stress suite; > - start stress tests on debug build. > The whole stress suite executes too long, so I started this test separately. Command line (to start from stress/qa directory) is about: > ..../win_ia32_msvc_debug/deploy/jdk/jre/bin/java -classpath "bin/classes;../../tools/th.dest/bin/th.jar" org.apache.harmony.test.stress.jpda.jdwp.scenario.EVENT014.EventTest014 > Note: to run correctly on Windows these tests require SystemRoot environment variable to be set to Windows folder. > I observed 3 different assertions, but the following is most often: > assert (method_get_num_handlers(method) == 0) > Stack trace: > ------------------------------- > jitrino.dll!_assert(const char * expr=0x0167c26c, const char * filename=0x0167c234, unsigned int lineno=273) Line 295 C > jitrino.dll!Jitrino::Jet::rt_enum(void * jit=0x012187d8, Method * method=0x0230b0b8, void * henum=0x00000000, JitFrameContext * context=0x02b692ec) Line 273 + 0x2e bytes C++ > jitrino.dll!JIT_get_root_set_from_stack_frame(void * jit=0x012187d8, Method * method=0x0230b0b8, void * enum_handle=0x00000000, JitFrameContext * context=0x02b692ec) Line 380 + 0x15 bytes C++ > harmonyvm.dll!Dll_JIT::get_root_set_from_stack_frame(Method * method=0x0230b0b8, void * enum_handle=0x00000000, const JitFrameContext * context=0x02b692ec) Line 104 + 0x18 bytes C++ > harmonyvm.dll!vm_enumerate_root_set_single_thread_on_stack(StackIterator * si=0x02b692e8) Line 302 + 0x39 bytes C++ > harmonyvm.dll!vm_enumerate_thread(VM_thread * thread=0x0287b1b0) Line 213 + 0x9 bytes C++ > harmonyvm.dll!stop_the_world_root_set_enumeration() Line 110 + 0xc bytes C++ > harmonyvm.dll!vm_enumerate_root_set_all_threads() Line 142 C++ > gc_gen.dll!gc_reclaim_heap(GC * gc=0x019d68b0, unsigned int gc_cause=2) Line 330 + 0x8 bytes C++ > gc_gen.dll!lspace_alloc(unsigned int size=8000016, Allocator * allocator=0x01af6c70) Line 228 + 0xe bytes C++ > gc_gen.dll!gc_alloc(unsigned int size=8000016, unsigned int ah=19661968, void * unused_gc_tls=0x011fa304) Line 82 + 0x10 bytes C++ > harmonyvm.dll!vm_new_vector_using_vtable_and_thread_pointer(int length=1000000, unsigned int vector_handle=19661968, void * tp=0x011fa304) Line 219 + 0x14 bytes C++ > harmonyvm.dll!vm_rt_new_vector_using_vtable_and_thread_pointer(int length=1000000, unsigned int vector_handle=19661968, void * tp=0x011fa304) Line 113 + 0x11 bytes C++ -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.