[Mono-bugs] [Bug 80230][Wis] Changed - Stoping a background MonoWebServer.ApplicationServer leads to ObjectDisposedException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Dec 23 09:42:36 EST 2006

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 jfburdet at humanweb.ch.


--- shadow/80230	2006-12-23 09:12:28.000000000 -0500
+++ shadow/80230.tmp.3453	2006-12-23 09:42:36.000000000 -0500
@@ -82,6 +82,39 @@
 the problem does not show anymore : no problem running from the 
 debugger, no problem running from outside the debugger.
 Weird isn'it ?
+------- Additional Comments From jfburdet at humanweb.ch  2006-12-23 09:42 -------
+I finally was able to get some stack trace :
+Unhandled Exception: System.ObjectDisposedException: Cannot access a 
+disposed ob
+Object name: 'System.Net.Sockets.Socket'.
+   at System.Net.Sockets.Socket.BeginAccept(Socket acceptSocket, 
+Int32 receiveSi
+ze, AsyncCallback callback, Object state)
+   at System.Net.Sockets.Socket.BeginAccept(AsyncCallback callback, 
+Object state
+   at Mono.WebServer.ApplicationServer.OnAccept(IAsyncResult ares) in 
+e\Revelate 3\Mono.WebServer\ApplicationServer.cs:line 334
+   at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
+   at System.Net.ContextAwareResult.CompleteCallback(Object state)
+   at System.Threading.ExecutionContext.Run(ExecutionContext 
+executionContext, C
+ontextCallback callback, Object state)
+   at System.Net.ContextAwareResult.Complete(IntPtr userToken)
+   at System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object 
+result, IntPtr u
+   at 
+ errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
+   at 
+errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

More information about the mono-bugs mailing list