[Mono-bugs] [Bug 79859][Wis] New - WaitHandle.WaitAll broken under mod_mono
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Nov 7 10:07:41 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 10:07:41.000000000 -0500
+++ shadow/79859.tmp.17078 2006-11-07 10:07:41.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 79859
+Product: Mono: Class Libraries
+Version: unspecified
+OS:
+OS Details: Linux
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: rook at roo.k.pl
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: WaitHandle.WaitAll broken under mod_mono
+
+running WaitHandle.WaitAll fails under mod_mono
+The reason is Assembly.GetEntryAssembly() returns null
+which in turn crashes WaitHandle.CheckArray
+at
+
+Assembly.GetEntryAssembly ().EntryPoint.GetCustomAttributes (typeof
+(STAThreadAttribute), false).Length == 1))
+
+I am using FC4 with mono 1.1.18
+
+Example code
+
+using System;
+using System.Threading;
+using System.Reflection;
+using System.Web;
+
+namespace foo
+{
+ class Worker : IHttpHandler
+ {
+ bool IHttpHandler.IsReusable
+ {
+ get { return true; }
+ }
+
+ void IHttpHandler.ProcessRequest(HttpContext context)
+ {
+ if (Assembly.GetEntryAssembly() == null)
+ throw new Exception("foo");
+ }
+ }
+}
More information about the mono-bugs
mailing list