[Mono-bugs] [Bug 79060][Maj] Changed - CreateThread: error creating thread handle

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Sep 15 18:38:33 EDT 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 bugzilla at patearl.net.

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

--- shadow/79060	2006-09-15 17:58:50.000000000 -0400
+++ shadow/79060.tmp.14417	2006-09-15 18:38:33.000000000 -0400
@@ -204,6 +204,34 @@
 mono_delegate_begin_invoke (19)
   ^ Thread Created Here Using mono_thread_pool_add()
 mono_delegate_begin_invoke (20)
 mono_delegate_begin_invoke (21)
 mono_delegate_begin_invoke (22)
 etc...
+
+------- Additional Comments From bugzilla at patearl.net  2006-09-15 18:38 -------
+I can reproduce the bug using the folloing testcase from bug #78241:
+
+using System;
+using System.Timers;
+
+class T
+{
+        static void Main ()
+        {
+                Timer timer = new Timer ();
+                timer.Interval = 1000;
+                timer.AutoReset = true;
+                timer.Elapsed += new ElapsedEventHandler (timer_Elapsed);
+                timer.Start ();
+
+                Console.ReadLine ();
+        }
+
+        static void timer_Elapsed (object sender, ElapsedEventArgs e)
+        {
+        }
+}
+
+Interestingly, if I set the timer to 100, it also produces the same
+error, but still every 10 (approx) seconds in real time.  If it's set
+to 1000, it still reproduces every 10 seonds.


More information about the mono-bugs mailing list