[Mono-bugs] [Bug 73592][Maj] Changed - socket doesn't close in thread

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 6 May 2005 21:11:11 -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 gonzalo@ximian.com.

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

--- shadow/73592	2005-04-12 16:03:08.000000000 -0400
+++ shadow/73592.tmp.11478	2005-05-06 21:11:11.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 73592
 Product: Mono: Class Libraries
 Version: 1.1
 OS: GNU/Linux [Other]
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Major
 Component: System
 AssignedTo: dick@ximian.com                            
 ReportedBy: borodin@zg.bezopasnost.ru               
 QAContact: mono-bugs@ximian.com
@@ -82,6 +82,29 @@
 unless "pendingEnds" is zero. But "pendingEnds" is never
 zero if, well, a BeginXYZ call is pending.
 
 I'd recommend to implement Close() w/out the pending check
 (like in Dispose(false))
 
+
+------- Additional Comments From gonzalo@ximian.com  2005-05-06 21:11 -------
+This works with current SVN.
+----
+
+gonzalo@lalo:/tmp $ mono sock.exe
+listen
+
+System.Threading.ThreadAbortException: Thread was being aborted
+in <0x00000> <unknown method>
+in (wrapper managed-to-native)
+System.Object:__icall_wrapper_mono_thread_interruption_checkpoint ()
+in (wrapper managed-to-native)
+System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool)
+in (wrapper remoting-invoke-with-check)
+System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool)
+in <0x00023> System.Threading.WaitHandle:WaitOne ()
+in <0x00079> System.Net.Sockets.Socket:EndAccept (IAsyncResult result)
+in <0x0012d> test1:thread ()
+finally
+callback
+finish
+