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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77657 --- shadow/77657 2006-02-28 09:23:35.000000000 -0500 +++ shadow/77657.tmp.9403 2006-02-28 12:12:40.000000000 -0500 @@ -1,12 +1,12 @@ Bug#: 77657 Product: Mono: Class Libraries Version: 1.1 OS: unknown OS Details: -Status: REOPENED +Status: NEEDINFO Resolution: Severity: Unknown Priority: Normal Component: Sys.XML AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] @@ -73,6 +73,47 @@ I don't see any errors from that code. Are you running the latest version from svn, or one of the packaged release version? (-> will close this bug as FIXED) ------- Additional Comments From [EMAIL PROTECTED] 2006-02-28 09:23 ------- I am getting this on 1.1.12.1 and HEAD from a couple of weeks ago. + +------- Additional Comments From [EMAIL PROTECTED] 2006-02-28 12:12 ------- +Can you tell me what happens when you run this program? + +using System.Reflection; +using System.Threading; +using System.Globalization; +using System.Xml; +using System; + +class Test +{ + public static void Main () + { + BindingFlags bf = BindingFlags.NonPublic | BindingFlags.Instance; + Type type = typeof (XmlTextWriter); + MethodInfo mi = type.GetMethod ("MockupPrefix", bf); + mi.ToString (); + int i = 0; + try { + CultureInfo ci; + for (; i < 65536; i++) { + try { + ci = new CultureInfo (i); + if (ci.IsNeutralCulture) + continue; + } catch { + continue; + } + Thread.CurrentThread.CurrentCulture = ci; + XmlConvert.ToString (double.MaxValue); + } + } catch { + Console.WriteLine ("Culture at {0}", i); + } + } +} + +It verifies that you are really not running older version of mono, and +then sees on which culture it crashes on your box (it should not break +at any of the cultures though). _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
