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 [EMAIL PROTECTED]

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: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+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");
+        }
+    }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to