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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 16 15:28:12 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-05-16 13:25:16.000000000 -0400
+++ shadow/78241.tmp.26688	2006-05-16 15:28:12.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 78241
 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: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Major
 Component: io-layer
 AssignedTo: dick at ximian.com                            
 ReportedBy: robertj at gmx.net               
 QAContact: mono-bugs at ximian.com
@@ -574,6 +574,50 @@
 I'll commit the patch I created yesterday and have another look at the
 process one.
 
 
 ------- Additional Comments From dick at ximian.com  2006-05-16 13:25 -------
 Fixed in SVN
+
+------- Additional Comments From robertj at gmx.net  2006-05-16 15:28 -------
+Dick, thanks!
+
+There is still an issue left. I'm really sorry for unfortunate
+test case invoking "/bin/true".
+
+When the Process class is used to
+start another mono process, a thread of the new process remains
+unsignaled after termination:
+
+// null.cs
+class T { static void Main () {} }
+
+
+// test.cs
+using System;
+using System.Diagnostics;
+
+class T
+{
+        static void Main ()
+        {
+                for (int i = 0; i < 5000; i++) {
+                        Process p = Process.Start ("mono", "null.exe");
+                        p.WaitForExit ();
+                        p.Close ();
+                }
+                Console.WriteLine ("ready");
+                Console.ReadLine ();
+        }
+}
+
+
+// hps output
+...
+feb (  1) [ Thread]  544 Un (proc: 26161, state: 0, exit: 0, join: 0)
+fec (  1) [ Thread]  544 Un (proc: 26157, state: 0, exit: 0, join: 0)
+fed (  1) [ Thread]  544 Un (proc: 26165, state: 0, exit: 0, join: 0)
+fee (  1) [ Thread]  544 Un (proc: 26161, state: 0, exit: 0, join: 0)
+fef (  1) [ Thread]  544 Un (proc: 26169, state: 0, exit: 0, join: 0)
+ff0 (  1) [ Thread]  544 Un (proc: 26165, state: 0, exit: 0, join: 0)
+...
+


More information about the mono-bugs mailing list