[Mono-bugs] [Bug 379522] New: Fatal error in GAC: too many threads

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Apr 13 04:35:15 EDT 2008


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: mono-bugs at lists.ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          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.


More information about the mono-bugs mailing list