[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 13:40:52 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 12:28:02.000000000 -0400
+++ shadow/78241.tmp.29425	2006-04-29 13:40:52.000000000 -0400
@@ -2,13 +2,13 @@
 Product: Mono: Runtime
 Version: 1.1
 OS: SUSE 9.0
 OS Details: Linux 2.4.21-303-smp4G #1 SMP Tue Dec 6 12:33:10 UTC 2005 i686 i686 i386 GNU/Linux
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: io-layer
 AssignedTo: dick at ximian.com                            
 ReportedBy: robertj at gmx.net               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -47,6 +47,40 @@
 Mono version: head of the 1-1-13 branch
 
 ------- Additional Comments From robertj at gmx.net  2006-04-29 12:28 -------
 Created an attachment (id=16873)
 hps-dump.txt
 
+
+------- Additional Comments From robertj at gmx.net  2006-04-29 13:40 -------
+I found a test case for the bug. If I interpret the "hps"
+output correctly, the test apparently leaks a thread handle every
+x seconds.
+
+using System;
+using System.Timers;
+
+class T
+{
+        static void Main ()
+        {
+                Timer timer = new Timer ();
+                timer.Interval = 1;
+                timer.AutoReset = true;
+                timer.Elapsed += new ElapsedEventHandler (timer_Elapsed);
+                timer.Start ();
+
+                Console.ReadLine ();
+        }
+
+        static void timer_Elapsed (object sender, ElapsedEventArgs e)
+        {
+        }
+}
+
+
+The bug has been already reported:
+
+http://lists.ximian.com/pipermail/mono-devel-list/2006-April/018342.html
+
+where a Timer is involved as well, like in my ASP.NET application.
+


More information about the mono-bugs mailing list