https://bugzilla.novell.com/show_bug.cgi?id=379522


           Summary: Fatal error in GAC: too many threads
           Product: Mono: Runtime
           Version: SVN
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [email protected]
          Found By: ---


Running the following app on Windows results in a GC error:

using System;
using System.Globalization;
using System.Threading;

class Program
{
        static void Main (string [] args)
        {
                for (int i = 0; i < 1000; ++i) {
                        Thread thread = new Thread (new ThreadStart (Test));
                        thread.CurrentCulture = new CultureInfo ("en-CA");
                        thread.Start ();
                }
        }

        static void Test ()
        {
                string name = Thread.CurrentThread.CurrentCulture.Name;
                Console.WriteLine (name);
        }
}

It works fine on MS. If you remove the Console.WriteLine from Test (), it also
works fine on Mono.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to