Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 64563 invoked from network); 25 Jun 2007 12:17:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Jun 2007 12:17:53 -0000 Received: (qmail 27601 invoked by uid 500); 25 Jun 2007 12:17:50 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 27584 invoked by uid 500); 25 Jun 2007 12:17:50 -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 27530 invoked by uid 99); 25 Jun 2007 12:17:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2007 05:17:50 -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; Mon, 25 Jun 2007 05:17:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2D3517141DC for ; Mon, 25 Jun 2007 05:17:26 -0700 (PDT) Message-ID: <15703789.1182773846182.JavaMail.jira@brutus> Date: Mon, 25 Jun 2007 05:17:26 -0700 (PDT) From: "Pavel Ozhdikhin (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-4278) [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode In-Reply-To: <22066273.1182771150399.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-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507861 ] Pavel Ozhdikhin commented on HARMONY-4278: ------------------------------------------ This might be caused by the HARMONY-3349 JIT commit. I'll look into the issue from the JIT side. > [drlvm][gc_gen] Crash on gc_gen.dll!sync_stack_push in Jitrino.OPT mode > ------------------------------------------------------------------------ > > Key: HARMONY-4278 > URL: https://issues.apache.org/jira/browse/HARMONY-4278 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Windows 2003 Server > Reporter: Elena Sayapina > Attachments: reproduce.zip > > > Functional test org.apache.harmony.test.func.jit.HLO.lazyexc.Finalize.Finalize crashes on gc_gen.dll!sync_stack_push with -Xem:opt > Sorry, the issue is not reproduced on a smaller test, so please find all sources for reproducing attached. > For more information about functional tests, please, see https://issues.apache.org/jira/browse/HARMONY-3528. > Please, follow 'steps to reproduce' to reproduce the issue, because the order of command line options is important. > If you change it you may not see the crash - so, may be it's not gc_gen issue. > Steps to reproduce: > 1) Download and unpack reproduce.zip > 2) Change dir to reproduce > 3) Launch test on Win2003 as follows: > /java -showversion -cp .;.\th.jar -Xem:opt org.apache.harmony.test.func.jit.HLO.lazyexc.Finalize.Finalize > Output on Harmony-r549982-msvc-release: > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. > java version "1.5.0" > pre-alpha : not complete or compatible > svn = r549982, (Jun 23 2007), Windows/ia32/msvc 1310, release build > http://harmony.apache.org > %ecnfk@1182768847180| Start Finalize lazyexc test... > The GC did not provide gc_add_weak_root_set_entry() > Windows reported exception: 0xc0000005 > Registers: > EAX: 0x01820400, EBX: 0x00000000, ECX: 0x000000ce, EDX: 0x0170a3e8 > ESI: 0x018204cd, EDI: 0x0170a3e8, ESP: 0x01b2fef4, EBP: 0x0064c980 > EIP: 0x016d11a9 > Stack trace: > 0: sync_stack_push (c:\cc-bt2.0\func\build\checkouts\hdk\working_vm\vm\gc_gen\src\utils\sync_stack.h:129) > > Stack trace is following: > gc_gen.dll!sync_stack_push(Sync_Stack * stack=0x0170a3e8, Node * node=0x00000000) Line 129 + 0x23 C++ > gc_gen.dll!identify_dead_phanrefs(Collector * collector=0x000000ce) Line 401 C++ > gc_gen.dll!slide_compact_mspace(Collector * collector=0x01702000) Line 431 + 0x6 C++ > gc_gen.dll!collector_thread_func(void * arg=0x0170a778) Line 183 C++ > hythr.dll!thread_start_proc(void * arg=0x00382590) Line 732 C > > hythr.dll!_threadstartex(void * ptd=0x004201c0) Line 241 + 0x6 C > kernel32.dll!77e66063() > Assertion failed Harmony-r550410-msvc-debug: drlvm\vm\gc_gen\src\utils\sync_pool.h line 43: Expresion: value > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. > java version "1.5.0" > pre-alpha : not complete or compatible > svn = r550410, (Jun 25 2007), Windows/ia32/msvc 1310, debug build > http://harmony.apache.org > %ecnfk@1182768616200| Start Finalize lazyexc test... > The GC did not provide gc_add_weak_root_set_entry() > Windows reported exception: 0xc0000005 > Registers: > EAX: 0x00000000, EBX: 0x0038e830, ECX: 0x01cd04cd, EDX: 0x01cd0400 > ESI: 0x01e5ff4c, EDI: 0x00000000, ESP: 0x01e5fea8, EBP: 0x01e5feb4 > EIP: 0x01a71baf > Stack trace: > 0: ?? (??:-1) > 1: ?? (??:-1) > 2: ?? (??:-1) > 3: ?? (??:-1) > 4: ?? (??:-1) > 5: Java_org_apache_harmony_drlvm_gc_1gen_GCHelper_helperCallback (??:-1) > 6: ?? (??:-1) > 7: hythread_struct_init (??:-1) > 8: apr_strtok (??:-1) > 9: GetModuleFileNameA (??:-1) > > It looks like regression because test passed on Harmony-r548930: > Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or its licensors, as applicable. > java version "1.5.0" > pre-alpha : not complete or compatible > svn = r548930, (Jun 20 2007), Windows/ia32/msvc 1310, release build > http://harmony.apache.org > %ecnfk@1182770188482| Start Finalize lazyexc test... > The GC did not provide gc_add_weak_root_set_entry() > %ecnfk@1182770198107| PASSED > Please, see also https://issues.apache.org/jira/browse/HARMONY-3973. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.