[Mono-bugs] [Bug 45518][Cri] New - MCS throws TypeInitializationException on 0.25/Windows

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Fri, 27 Jun 2003 03:10:57 -0400 (EDT)


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 gert.driesen@pandora.be.

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

--- shadow/45518	Fri Jun 27 03:10:54 2003
+++ shadow/45518.tmp.28258	Fri Jun 27 03:10:57 2003
@@ -0,0 +1,49 @@
+Bug#: 45518
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: Windows 2003
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: MCS throws TypeInitializationException on 0.25/Windows
+
+In Mono 0.25 on Windows, MCS throws the following exception when building 
+the NAnt sources :
+
+Unhandled Exception: System.TypeInitializationException: An exception was 
+thrown by the type initializer for System.Guid ---> 
+System.ArgumentOutOfRangeException: Argument is out of range
+in <0x00158> 00 System.DateTime:.ctor (bool,System.TimeSpan)
+in <0x00059> 00 System.DateTime:.ctor (bool,long)
+in <0x00015> 00 System.DateTime:.ctor (long)
+in <0x001e6> 00 System.CurrentTimeZone:GetDaylightChanges (int)
+in <0x00056> 00 System.TimeZone:IsDaylightSavingTime (System.DateTime)
+in <0x00026> 00 System.CurrentTimeZone:GetUtcOffset (System.DateTime)
+in <0x000ac> 00 System.DateTime:.ctor (bool,long)
+in <0x00047> 00 System.DateTime:get_Now ()
+in <0x0005a> 00 .GuidState:.ctor (bool)
+in <0x00026> 00 System.Guid:.cctor ()
+--- End of inner exception stack trace ---
+                        
+in (unmanaged) 00 System.Guid:NewGuid ()
+in <0x0008f> 00 System.Reflection.Emit.ModuleBuilder:.ctor 
+(System.Reflection.Emit.AssemblyBuilder,string,string,bool,bool)
+in <0x0004c> 00 System.Reflection.Emit.AssemblyBuilder:DefineDynamicModule 
+(string,string,bool)
+in <0x000d0> 00 Mono.CSharp.CodeGen:Init (string,string,bool)
+in <0x006e7> 00 Mono.CSharp.Driver:MainDriver (string[])
+in <0x0001d> 00 Mono.CSharp.Driver:Main (string[])
+
+I'll test building NAnt on linux later today and report the results here.
+
+Do I need to attach the NAnt sources to the case, you can get them from 
+NAnt cvs (cvs.sourceforge.net/cvsroot/nant) ?