[Mono-bugs] [Bug 75239][Maj] Changed - DNS.GetHostName() and huge number of threads

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jun 29 23:11:49 EDT 2005


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 bmaurer at users.sf.net.

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

--- shadow/75239	2005-06-29 23:11:12.000000000 -0400
+++ shadow/75239.tmp.8281	2005-06-29 23:11:49.000000000 -0400
@@ -853,6 +853,37 @@
 +       //}
 
         *h_name=mono_string_new(mono_domain_get (), hostname);
 
 And still got issues. This leads me to believe there is something
 wrong inside the GC.
+
+------- Additional Comments From bmaurer at users.sf.net  2005-06-29 23:11 -------
+I can even get NREs with:
+
+using System;
+using System.Threading;
+using System.Net;
+
+class TestDNS {
+        static void X2 ()
+        {
+                for (int i = 0; i < 1000; i ++)
+                        String.Concat ("AB", "CD");
+		
+                Console.Write ('.');
+        }
+
+        static void X1 ()
+        {
+                new Thread (X2).Start ();
+                new Thread (X2).Start ();
+        }
+
+        static void Main ()
+        {
+                for (int i = 0; i < 30; i++ )
+                        new Thread (X1).Start ();
+        }
+}
+
+Wasn't able to get any hangs there, dunno why.


More information about the mono-bugs mailing list