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] Updated: (HARMONY-3495) [drlvm][threading] smoke test gc.NPE hangs intermittently on linux x86
Date Mon, 26 Mar 2007 09:57:32 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-3495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Elena Semukhina updated HARMONY-3495:
-------------------------------------

    Description: 
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) 

  was:
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 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) 


> [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.


Mime
View raw message