[Mono-devel-list] non-deterministic behaviour of mcs

Jaroslaw Kowalski jaak at zd.com.pl
Wed May 26 04:09:59 EDT 2004


I recompiled mono from CVS today and I started getting strange results with "mcs". Below is a transcript of today's "session". I invoked mcs 6 times without arguments and there was one case where it failed. My LANG=en_US.ISO-8859-1. OS is Fedora Core 1.

This situation is repeatable - I never got more than 10 "successful" empty runs.

mono at vector ~/src/mono$ mcs
error CS2008: No files to compile were specified
Compilation failed: 1 error(s), 0 warnings
mono at vector ~/src/mono$ mcs
error CS2008: No files to compile were specified
Compilation failed: 1 error(s), 0 warnings
mono at vector ~/src/mono$ mcs

** (/opt/mono/lib/mono/1.0/mcs.exe:17094): WARNING **: Invalid sequence in conversion input

Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required.
in (unmanaged) (wrapper managed-to-native) System.Globalization.CultureInfo:construct_internal_locale_from_current_locale (System.Globalization.CultureInfo)
in <0x00004> (wrapper managed-to-native) System.Globalization.CultureInfo:construct_internal_locale_from_current_locale (System.Globalization.CultureInfo)
in <0x0000d> System.Globalization.CultureInfo:ConstructInternalLocaleFromCurrentLocale (System.Globalization.CultureInfo)
in <0x0002c> System.Globalization.CultureInfo:ConstructCurrentCulture ()
in <0x00077> System.Threading.Thread:get_CurrentCulture ()
in <0x0001c> System.Globalization.NumberFormatInfo:get_CurrentInfo ()
in <0x00055> System.Globalization.NumberFormatInfo:GetInstance (System.IFormatProvider)
in <0x0001d> System.Int32:ToString (string,System.IFormatProvider)
in <0x00346> System.String:FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[])
in <0x00038> System.String:Format (System.IFormatProvider,string,object[])
in <0x0005e> System.String:Format (string,object,object)
in <0x0003b> Mono.CSharp.Report:Error (int,string)
in <0x00569> Mono.CSharp.Driver:MainDriver (string[])
in <0x00012> Mono.CSharp.Driver:Main (string[])

mono at vector ~/src/mono$ mcs
error CS2008: No files to compile were specified
Compilation failed: 1 error(s), 0 warnings
mono at vector ~/src/mono$ mcs
error CS2008: No files to compile were specified
Compilation failed: 1 error(s), 0 warnings
mono at vector ~/src/mono$ mcs
error CS2008: No files to compile were specified
Compilation failed: 1 error(s), 0 warnings

Jarek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040526/37860f9e/attachment.html 


More information about the Mono-devel-list mailing list