You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Elena Semukhina (JIRA)" <ji...@apache.org> on 2007/03/26 13:17:32 UTC
[jira] Commented: (HARMONY-3495) [drlvm][threading] smoke test
gc.NPE hangs intermittently on linux x86
[ 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 <path to smoke tests> 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.