harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elena Semukhina (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3044) [drlvm][thread manager] smoke test gc.LOS hangs from time to time on SUSE9 Linux x86 and x86_64
Date Tue, 20 Feb 2007 10:55:05 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12474404
] 

Elena Semukhina commented on HARMONY-3044:
------------------------------------------

gc.ThreadSuspension hangs on x86 as well with the following threading info:

(gdb) info thr
  3 Thread 1083603888 (LWP 1992)  0xffffe410 in ?? ()
  2 Thread 1395665840 (LWP 2312)  0xffffe410 in ?? ()
  1 Thread 1080397952 (LWP 1980)  0xffffe410 in ?? ()
(gdb) thr 1
[Switching to thread 1 (Thread 1080397952 (LWP 1980))]#0  0xffffe410 in ?? ()
(gdb) bt
#0  0xffffe410 in ?? ()
#1  0xbfffc4b0 in ?? ()
#2  0x000015db in ?? ()
#3  0x00000000 in ?? ()
#4  0x40650b0c in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#5  0x405051fa in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6
#6  0x400238ab in apr_thread_cond_timedwait (cond=0x86b2420, mutex=0x86b23f0, timeout=The
value of variable 'timeout' is distributed across several
locations, and GDB cannot access its value.
 
) at thread_cond.c:89
#7  0x4001fdbe in condvar_wait_impl (cond=0x86b2420, mutex=0x86b23f0, ms=100, nano=0, interruptable=0)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_condvar.c:64
#8  0x40020cf5 in latch_wait_impl (latch=0x86b23e0, ms=100, nano=0, interruptable=0)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_latch.c:73
#9  0x40020da0 in hylatch_wait_timed (latch=0x86b23e0, ms=100, nano=0)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_latch.c:111
#10 0x4001f2e9 in hythread_join_timed (t=0x52cd0340, millis=100, nanos=0)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_basic.c:318
#11 0x40bb1aea in vm_shutdown_stop_java_threads (vm_env=0x8079388)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp:164
#12 0x40bb1db6 in vm_destroy (java_vm=0x8079370, java_thread=0x52cc5300)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/init/vm_shutdown.cpp:258
#13 0x40b25373 in DestroyJavaVM (vm=0x8079370)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/jni/jni.cpp:1503
#14 0x08049b50 in invocation (portLibrary=0xbfffc890, argc=4, argv=0xbfffccd4, handle=134642104,
version=65540, 
    ignoreUnrecognized=1 '\001', mainClass=0xbfffeda9 "gc.ThreadSuspension", classArg=3, 
    propertiesFileName=0x80678b8 "/nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/harmonyvm.properties",
isStandaloneJar=0, vmdllsubdir=0xbfffc7b8 "default") at main.c:722
#15 0x080490b0 in gpProtectedMain (args=0xbfffc870) at main.c:360
#16 0x0804b4c7 in main (argc=4, argv=0xbfffccd4, envp=0xbfffcce8) at cmain.c:108
(gdb) thr 2
[Switching to thread 2 (Thread 1395665840 (LWP 2312))]#0  0xffffe410 in ?? ()
(gdb) bt 
#0  0xffffe410 in ?? ()
#1  0x533023bc in ?? ()
#2  0x000015d7 in ?? ()
#3  0x00000000 in ?? ()
#4  0x40650896 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
#5  0x405051b3 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libc.so.6
#6  0x4001fd1e in condvar_wait_impl (cond=0x86b2538, mutex=0x86b2508, ms=0, nano=0, interruptable=0)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_condvar.c:64
#7  0x4002134e in sem_wait_impl (sem=0x86b24f0, ms=0, nano=0, interruptable=0)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_semaphore.c:69
#8  0x4002141e in hysem_wait (sem=0x86b24f0)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_semaphore.c:106
#9  0x400218d8 in thread_safe_point_impl (thread=0x52cd0340)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_suspend.c:176
#10 0x40021834 in hythread_suspend_disable ()
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_suspend.c:127
#11 0x52ba7ec9 in ?? ()
#12 0x00010009 in ?? ()
#13 0x00000000 in ?? ()
#14 0x42252084 in ?? ()
#15 0x0870c178 in ?? ()
#16 0x40d87cd4 in __JCR_LIST__ ()
   from /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/default/libharmonyvm.so
#17 0x53302508 in ?? ()
#18 0x40b9fa29 in get_thread_ptr_stub ()
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/vmcore/src/thread/thread_manager.cpp:130
Previous frame inner to this frame (corrupt stack?)
(gdb) thr 3
[Switching to thread 3 (Thread 1083603888 (LWP 1992))]#0  0xffffe410 in ?? ()
(gdb) bt 
#0  0xffffe410 in ?? ()
#1  0x40967a48 in ?? ()
#2  0x00000000 in ?? ()
#3  0x00000000 in ?? ()
#4  0x40652714 in sem_wait@GLIBC_2.0 () from /lib/tls/libpthread.so.0
#5  0x40424708 in __JCR_LIST__ ()
   from /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jdk/jre/bin/libhyprt.so
#6  0x4041e1d1 in asynchSignalReporter (userData=0x0) at hysignal.c:474
#7  0x4001fad9 in thread_start_proc (thd=0x80636b8, p_args=0x80636a8)
    at /nfs/ins/proj/drl/coreapi/esemukhi/svn/drlvm/trunk/vm/thread/src/thread_native_basic.c:722
#8  0x40025e61 in dummy_worker (opaque=0xfffffffc) at thread.c:138
#9  0x4064ea13 in start_thread () from /lib/tls/libpthread.so.0
#10 0x404f99da in clone () from /lib/tls/libc.so.6
(gdb) 

> [drlvm][thread manager] smoke test gc.LOS hangs from time to time on SUSE9 Linux x86
and x86_64
> -----------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3044
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3044
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Elena Semukhina
>         Assigned To: Gregory Shimansky
>         Attachments: H-3044_gc_MultiThreads_hang.txt, monitor_wait_impl-reset-suspend_disable_count-while-blocking-on-hymutex_lock.patch,
x86_64_info_thr.txt
>
>
> I saw the hangs on 2xXeon machines in JIT mode.
> To reproduce the hang please run the test iteratively as follows:
> while true; do $DRLVM -cp <classpath> gc.LOS; echo $i; i=$[i+1]; done &
> It usually needs no more than 100 iterations to hang.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message