Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 12998 invoked from network); 26 Mar 2007 11:18:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 11:18:27 -0000 Received: (qmail 99672 invoked by uid 500); 26 Mar 2007 11:18:34 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 99644 invoked by uid 500); 26 Mar 2007 11:18:33 -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 99635 invoked by uid 99); 26 Mar 2007 11:18:33 -0000 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, 26 Mar 2007 04:18:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 552AE71403F for ; Mon, 26 Mar 2007 04:17:32 -0700 (PDT) Message-ID: <5230141.1174907852346.JavaMail.jira@brutus> Date: Mon, 26 Mar 2007 04:17:32 -0700 (PDT) From: "Elena Semukhina (JIRA)" To: commits@harmony.apache.org Subject: [jira] Commented: (HARMONY-3495) [drlvm][threading] smoke test gc.NPE hangs intermittently on linux x86 In-Reply-To: <6474268.1174902572337.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-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12484102 ] Elena Semukhina commented on HARMONY-3495: ------------------------------------------ I also managed to reproduce the hang in debug mode after 713 iterations. The stack traces follow. (gdb) info thr 2 Thread -1217025120 (LWP 8707) 0xffffe410 in __kernel_vsyscall () 1 Thread -1215932736 (LWP 8704) 0xffffe410 in __kernel_vsyscall () (gdb) thr 1 [Switching to thread 1 (Thread -1215932736 (LWP 8704))]#0 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb7a3c43c in sched_yield () from /lib/libc.so.6 #2 0xb7b0acbf in hythread_yield () at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_basic.c:324 #3 0xb7b0e151 in hythread_thin_monitor_try_enter (lockword_ptr=0xa5608264) at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_thin_monitor.c:337 #4 0xb6c9b139 in jthread_monitor_enter (monitor=0xa420d508) at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_java_monitors.c:117 #5 0xb5d8f5de in ?? () #6 0xa420d508 in ?? () #7 0x080b9390 in ?? () #8 0x080b9320 in ?? () #9 0xa420d500 in ?? () #10 0x00000000 in ?? () (gdb) thr 2 [Switching to thread 2 (Thread -1217025120 (LWP 8707))]#0 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0xb787067f in sem_wait@GLIBC_2.0 () from /lib/libpthread.so.0 #2 0xb7af6ead in asynchSignalReporter (userData=0x0) at hysignal.c:474 #3 0xb7b0b556 in thread_start_proc (arg=0x8061b18) at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_basic.c:710 #4 0xb786b2ab in start_thread () from /lib/libpthread.so.0 #5 0xb7a5475e in clone () from /lib/libc.so.6 (gdb) > [drlvm][threading] smoke test gc.NPE hangs intermittently on linux x86 > ---------------------------------------------------------------------- > > Key: HARMONY-3495 > URL: https://issues.apache.org/jira/browse/HARMONY-3495 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Elena Semukhina > > The test hung after 271 iteration when running in the loop in the following way: > while true; do $DRLVM -cp gc.NPE;echo $i; fi; i=$[i+1]; done & > I managed to reproduce the hang on a release build on linux x86. > The test printed its output ending with "PASSED" and then hung. > The stack traces are as follows: > (gdb) info thr > 3 Thread -1216357472 (LWP 2861) 0xffffe410 in __kernel_vsyscall () > 2 Thread -1553216608 (LWP 3108) 0xb7b0316b in pthread_mutex_unlock () from /lib/libc.so.6 > 1 Thread -1215265088 (LWP 2858) 0xffffe410 in __kernel_vsyscall () > (gdb) thr 1 > [Switching to thread 1 (Thread -1215265088 (LWP 2858))]#0 0xffffe410 in __kernel_vsyscall () > (gdb) bt > #0 0xffffe410 in __kernel_vsyscall () > #1 0xb7adf43c in sched_yield () from /lib/libc.so.6 > #2 0xb7baeef8 in hythread_thin_monitor_try_enter () > from /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/default/libhythr.so > #3 0xb6deda94 in ?? () > from /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/default/libharmonyvm.so > #4 0xb79086c0 in ?? () > #5 0xa5a54244 in ?? () > #6 0xab357fd4 in ?? () > #7 0x08659ff0 in ?? () > #8 0xbf95bdc4 in ?? () > #9 0xb6d7d8e1 in jthread_monitor_enter () > from /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/default/libharmonyvm.so > Previous frame inner to this frame (corrupt stack?) > (gdb) thr 2 > [Switching to thread 2 (Thread -1553216608 (LWP 3108))]#0 0xb7b0316b in pthread_mutex_unlock () > from /lib/libc.so.6 > (gdb) bt > #0 0xb7b0316b in pthread_mutex_unlock () from /lib/libc.so.6 > #1 0xb7bac137 in hythread_global_lock () > from /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/default/libhythr.so > #2 0x00000005 in ?? () > #3 0xa47ac128 in ?? () > #4 0x00000000 in ?? () > (gdb) thr 3 > [Switching to thread 3 (Thread -1216357472 (LWP 2861))]#0 0xffffe410 in __kernel_vsyscall () > (gdb) bt > #0 0xffffe410 in __kernel_vsyscall () > #1 0xb791367f in sem_wait@GLIBC_2.0 () from /lib/libpthread.so.0 > #2 0xb7b99ead in asynchSignalReporter (userData=0x0) at hysignal.c:474 > #3 0xb7baccbf in thread_start_proc () > from /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_release/deploy/jdk/jre/bin/default/libhythr.so > #4 0xb790e2ab in start_thread () from /lib/libpthread.so.0 > #5 0xb7af775e in clone () from /lib/libc.so.6 > (gdb) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.