[Mono-bugs] [Bug 78241][Nor] Changed - CreateThread failure/out of wapi handles slots

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Apr 29 19:03:04 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 robertj at gmx.net.

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

--- shadow/78241	2006-04-29 15:34:56.000000000 -0400
+++ shadow/78241.tmp.3799	2006-04-29 19:03:04.000000000 -0400
@@ -138,6 +138,34 @@
         static void Method ()
         {
         }
 
 }
 
+
+------- Additional Comments From robertj at gmx.net  2006-04-29 19:03 -------
+Under SLES9 x86_64 (Linux 2.6.5-7.252-smp) only the "Timer" test
+case leaks and only if the interval is set to something >> 1,
+like 1000. Run the test for aboute a minute and inspect
+the handles with hps.
+
+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)
+        {
+        }
+}
+


More information about the mono-bugs mailing list