[Mono-bugs] [Bug 81925][Wis] New - Hangs when running runtime tests on SMP system

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 21 15:17:09 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by joncham at gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81925

--- shadow/81925	2007-06-21 15:17:09.000000000 -0400
+++ shadow/81925.tmp.16594	2007-06-21 15:17:09.000000000 -0400
@@ -0,0 +1,183 @@
+Bug#: 81925
+Product: Mono: Runtime
+Version: 1.0
+OS: GNU/Linux [Other]
+OS Details: Fedora Core 4 x86_64
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: joncham at gmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Hangs when running runtime tests on SMP system
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Certain runtime tests are hanging on my 4 processor system.
+
+Steps to reproduce the problem:
+1. run make test in mono/mono/tests
+2. 
+3. 
+
+Actual Results:
+Hangs on delegate1 or threadpool tests.
+
+Expected Results:
+No hang
+
+How often does this happen? 
+Pretty often. I cannot get through a test run on my machine without one
+test or the other hanging.
+
+Additional Information:
+Backtrace of threadpool test:
+
+Thread 9 (Thread 1073822048 (LWP 9776)):
+#0  0x0000003cee30ba81 in __nanosleep_nocancel () from /lib64/libpthread.so.0
+#1  0x00000000004c6e00 in collection_thread (unused=Variable "unused" is
+not available.
+) at collection.c:34
+#2  0x0000003cee30697c in start_thread () from /lib64/libpthread.so.0
+#3  0x0000003ced2c9c2e in clone () from /lib64/libc.so.6
+#4  0x0000000000000000 in ?? ()
+
+Thread 8 (Thread 1075988832 (LWP 9777)):
+#0  0x0000003cee3088f6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib64/libpthread.so.0
+#1  0x00000000004bec4b in timedwait_signal_wait_cond (cond=0x2aaaadc7f268,
+    mutex=0x2aaaadc7f240, timeout=0x0, alertable=Variable "alertable" is
+not available.
+) at handles.c:1424
+#2  0x00000000004c63ea in WaitForSingleObjectEx (handle=0x404,
+    timeout=4294967295, alertable=0) at wait.c:200
+#3  0x000000000051c043 in finalizer_thread (unused=Variable "unused" is not
+available.
+) at gc.c:835
+#4  0x0000000000458803 in start_wrapper (data=Variable "data" is not available.
+) at threads.c:319
+#5  0x00000000004ba053 in thread_start_routine (args=Variable "args" is not
+available.
+) at threads.c:253
+#6  0x00000000004dc4e2 in GC_start_routine (arg=Variable "arg" is not
+available.
+) at pthread_support.c:1362
+#7  0x0000003cee30697c in start_thread () from /lib64/libpthread.so.0
+#8  0x0000003ced2c9c2e in clone () from /lib64/libc.so.6
+#9  0x0000000000000000 in ?? ()
+
+Thread 7 (Thread 1078155616 (LWP 9778)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 6 (Thread 1080256864 (LWP 9779)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 5 (Thread 1082358112 (LWP 9780)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 4 (Thread 1084459360 (LWP 9781)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 3 (Thread 1086560608 (LWP 9782)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 2 (Thread 1088661856 (LWP 9783)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 1 (Thread 46912496275584 (LWP 9745)):
+#0  0x0000003cee30ba81 in __nanosleep_nocancel () from /lib64/libpthread.so.0
+#1  0x00000000004bed0d in timedwait_signal_poll (handle=0xffffffffffffffff,
+    timeout=0x0) at ../../mono/io-layer/handles-private.h:407
+#2  0x00000000004c68bc in WaitForMultipleObjectsEx (numobjects=6,
+    handles=0x2aaaae302d00, waitall=1, timeout=4294967295, alertable=0)
+    at wait.c:679
+#3  0x0000000000457e15 in wait_for_tids (wait=0x2aaaae302d00,
+timeout=Variable "timeout" is not available.
+)
+    at threads.c:1972
+#4  0x0000000000458054 in mono_thread_manage () at threads.c:2185
+#5  0x00000000004151ab in mono_main (argc=1, argv=0x7fffffa5f3d8)
+    at driver.c:1020
+#6  0x0000003ced21c4cc in __libc_start_main () from /lib64/libc.so.6
+#7  0x0000000000413c59 in _start ()
+#8  0x00007fffffa5f3c8 in ?? ()
+#9  0x0000000000000000 in ?? ()
+
+
+
+Backtrace for delegate 1:
+
+Thread 6 (Thread 1073822048 (LWP 14060)):
+#0  0x0000003cee30ba81 in __nanosleep_nocancel () from /lib64/libpthread.so.0
+#1  0x00000000004c6e00 in collection_thread (unused=Variable "unused" is
+not available.
+) at collection.c:34
+#2  0x0000003cee30697c in start_thread () from /lib64/libpthread.so.0
+#3  0x0000003ced2c9c2e in clone () from /lib64/libc.so.6
+#4  0x0000000000000000 in ?? ()
+
+Thread 5 (Thread 1075988832 (LWP 14061)):
+#0  0x0000003cee3088f6 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib64/libpthread.so.0
+#1  0x00000000004bec4b in timedwait_signal_wait_cond (cond=0x2aaaadc80268,
+    mutex=0x2aaaadc80240, timeout=0x0, alertable=Variable "alertable" is
+not available.
+) at handles.c:1424
+#2  0x00000000004c63ea in WaitForSingleObjectEx (handle=0x404,
+    timeout=4294967295, alertable=0) at wait.c:200
+#3  0x000000000051c043 in finalizer_thread (unused=Variable "unused" is not
+available.
+) at gc.c:835
+#4  0x0000000000458803 in start_wrapper (data=Variable "data" is not available.
+) at threads.c:319
+#5  0x00000000004ba053 in thread_start_routine (args=Variable "args" is not
+available.
+) at threads.c:253
+#6  0x00000000004dc4e2 in GC_start_routine (arg=Variable "arg" is not
+available.
+) at pthread_support.c:1362
+#7  0x0000003cee30697c in start_thread () from /lib64/libpthread.so.0
+#8  0x0000003ced2c9c2e in clone () from /lib64/libc.so.6
+#9  0x0000000000000000 in ?? ()
+
+Thread 4 (Thread 1080191328 (LWP 14063)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 3 (Thread 1082292576 (LWP 14064)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 2 (Thread 1084393824 (LWP 14065)):
+#0  0x0000003cee30af18 in __lll_mutex_lock_wait () from /lib64/libpthread.so.0
+#1  0x0000000000000000 in ?? ()
+
+Thread 1 (Thread 46912496275584 (LWP 14029)):
+#0  0x0000003cee30ba81 in __nanosleep_nocancel () from /lib64/libpthread.so.0
+#1  0x00000000004bed0d in timedwait_signal_poll (handle=0xffffffffffffffff,
+    timeout=0x0) at ../../mono/io-layer/handles-private.h:407
+#2  0x00000000004c68bc in WaitForMultipleObjectsEx (numobjects=4,
+    handles=0x76ac20, waitall=1, timeout=4294967295, alertable=0) at wait.c:679
+#3  0x0000000000457e15 in wait_for_tids (wait=0x76ac20, timeout=Variable
+"timeout" is not available.
+)
+    at threads.c:1972
+#4  0x0000000000458054 in mono_thread_manage () at threads.c:2185
+#5  0x00000000004151ab in mono_main (argc=1, argv=0x7fffffd1ad18)
+    at driver.c:1020
+#6  0x0000003ced21c4cc in __libc_start_main () from /lib64/libc.so.6
+#7  0x0000000000413c59 in _start ()
+#8  0x00007fffffd1ad08 in ?? ()
+#9  0x0000000000000000 in ?? ()


More information about the mono-bugs mailing list