[Mono-bugs] [Bug 53971][Wis] Changed - Reading from a StreamReader of a web response stream sometimes hangs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 2 May 2004 18:09:25 -0400 (EDT)


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 micke@imendio.com.

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

--- shadow/53971	2004-04-28 19:56:53.000000000 -0400
+++ shadow/53971.tmp.15418	2004-05-02 18:09:25.000000000 -0400
@@ -67,6 +67,47 @@
 Tested on Red Hat 9, I can not get it to hang yet;  Its been running
 on a loop for a few minutes.
 
 Can you see whats on all the threads?
 
 (gdb) thread apply all bt
+
+------- Additional Comments From micke@imendio.com  2004-05-02 18:09 -------
+Had to run it quite a few times before I managed to get it to hang,
+here is the bt:
+
+(gdb) thread apply all bt
+ 
+Thread 3 (Thread -1092514896 (LWP 29823)):
+#0  0x00a81c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+#1  0x001185e0 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/libpthread.so.0
+#2  0x00d7c2d8 in _wapi_handle_wait_signal_handle (handle=0x3)
+    at handles.c:1508
+#3  0x00d86881 in WaitForSingleObject (handle=0x3, timeout=4294967295)
+    at wait.c:99
+#4  0x00d42a90 in finalizer_thread (unused=0x0) at gc.c:530
+#5  0x00d4da45 in start_wrapper (data=0x93ccb50) at threads.c:239
+#6  0x00d86089 in timed_thread_start_routine (args=0x93ccb68)
+    at timed-thread.c:129
+#7  0x00d95547 in GC_start_routine (arg=0x935dd40) at linux_threads.c:1663
+#8  0x001157fc in start_thread () from /lib/tls/libpthread.so.0
+#9  0x00b74aba in clone () from /lib/tls/libc.so.6
+ 
+Thread 2 (Thread -1105597520 (LWP 29827)):
+#0  0x00a81c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+#1  0x0011a95b in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0
+#2  0x00007483 in ?? ()
+#3  0x00e11490 in __JCR_LIST__ () from /opt/mono/lib/libmono.so.0
+#4  0x00e12f20 in main_sock () from /opt/mono/lib/libmono.so.0
+---Type <return> to continue, or q <return> to quit---
+#5  0x001179e6 in _L_mutex_lock_26 () from /lib/tls/libpthread.so.0
+#6  0x00e12f20 in main_sock () from /opt/mono/lib/libmono.so.0
+#7  0xbe19e1b4 in ?? ()
+#8  0x00d790cd in _wapi_daemon_request_response_internal (fd=4,
+msg=0x117ba0,
+    resp=0xe12f20) at daemon-messages.c:55
+Previous frame identical to this frame (corrupt stack?)
+#0  0x00a81c32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
+(gdb) The program is running.  Quit anyway (and detach it)? (y or n) y
+Detaching from program: /opt/mono/bin/mono, process 29821
+