[Mono-bugs] [Bug 80230][Wis] New - Stoping a background MonoWebServer.ApplicationServer leads to ObjectDisposedException
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Dec 11 17:43:24 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.
http://bugzilla.ximian.com/show_bug.cgi?id=80230
--- shadow/80230 2006-12-11 17:43:24.000000000 -0500
+++ shadow/80230.tmp.21709 2006-12-11 17:43:24.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 80230
+Product: Mono: Tools
+Version: unspecified
+OS:
+OS Details: XP FR SP2
+Status: NEW
+Resolution:
+Severity: 080 Two weeks
+Priority: Wishlist
+Component: XSP
+AssignedTo: gonzalo at ximian.com
+ReportedBy: jfburdet at humanweb.ch
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Stoping a background MonoWebServer.ApplicationServer leads to ObjectDisposedException
+
+Description of Problem:
+
+When launching Mono.WebServer.ApplicationServer as a background thread,
+then using the ASP application normally, then calling
+ApplicationServer.Stop() leads very frequently (I would say every time) to
+an "ObjectDisposedException" appening at ApplicationServer.OnAccept().
+
+I found that the bug could be solved by either :
+. changing "started" for "started && !stop" in OnAccept() (changing that
+twice in both "if" statement)
+OR
+. Moving "started = false;" at the very beginning of RealStop()
+
+
+Thanks,
+JF
More information about the mono-bugs
mailing list