[Mono-bugs] [Bug 60576][Maj] Changed - Bad interaction - Mono, Gentoo (nptl) & Muine

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 2 Jul 2004 15:29:53 -0400 (EDT)


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 chayen@ccbcmd.edu.

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

--- shadow/60576	2004-07-02 11:48:16.000000000 -0400
+++ shadow/60576.tmp.23514	2004-07-02 15:29:53.000000000 -0400
@@ -353,6 +353,35 @@
 
 if i gdb the pid this is what i get: 
 
 
 
 
+
+------- Additional Comments From chayen@ccbcmd.edu  2004-07-02 15:29 -------
+i've written some code that demonstrates this problem in only a few
+lines.  
+
+using System;
+using System.Threading;
+
+class Test
+{
+        public static void Main( String[] args )
+        {
+                int i = 0;
+                while( true ) {
+                        Thread t = new Thread( new ThreadStart(Blah) );
+                        t.Start();
+                        i++;
+                        Console.WriteLine( i+" threads" );
+                }
+        }
+
+        private static void Blah() {
+                Console.WriteLine( "starting thread" );
+        }
+}
+
+on non-nptl boxes this runs seemingly forever but on my gentoo nptl
+box it usually freezes around 80-83.  
+