[Mono-bugs] [Bug 79859][Nor] Changed - WaitHandle.WaitAll broken under mod_mono

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Nov 7 11:18:27 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 rook at roo.k.pl.

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

--- shadow/79859	2006-11-07 11:05:03.000000000 -0500
+++ shadow/79859.tmp.18031	2006-11-07 11:18:27.000000000 -0500
@@ -52,6 +52,20 @@
 
 ------- Additional Comments From sebastien at ximian.com  2006-11-07 11:05 -------
 Assembly.GetEntryAssembly () returns null when not called in the
 "root" appdomain. Older Mono releases always returned the assembly but
 I guess this changed when we fixed our assembly loading in appdomains.
 
+
+------- Additional Comments From rook at roo.k.pl  2006-11-07 11:18 -------
+To better illustrate the problem:
+
+        void IHttpHandler.ProcessRequest(HttpContext context)
+        {
+WaitHandle.WaitAll(new AutoResetEvent[] {
+new AutoResetEvent(false), new AutoResetEvent(false)});
+        }
+
+crashes with NullReferenceException.
+
+This virtually blocks the possibility of thread synchronisation
+inside a HttpHandler.


More information about the mono-bugs mailing list