[Mono-bugs] [Bug 74863][Nor] Changed - Compiler crash when building RealmForge

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 7 May 2005 14:03:38 -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 nolan@thewordnerd.info.

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

--- shadow/74863	2005-05-07 14:00:51.000000000 -0400
+++ shadow/74863.tmp.17827	2005-05-07 14:03:38.000000000 -0400
@@ -14,6 +14,11 @@
 TargetMilestone: ---
 URL: 
 Cc: 
 Summary: Compiler crash when building RealmForge
 
 Description of Problem:    mcs from svn head does not seem to compile RealmForge from svn head. When attempting to build RealmForge.Genres.dll, I receive the following error:    Unhandled Exception: System.ArgumentOutOfRangeException: Index is less than 0 or more than or equal to the list count.  Parameter name: index  2  in <0x00071> System.Collections.ArrayList:get_Item (Int32 index)  in <0x00186> Mono.CSharp.ConstructorInitializer:GetOverloadedConstructor (Mono.CSharp.TypeContainer tc)  in <0x0001f> Mono.CSharp.ConstructorInitializer:CheckObsoleteAttribute (Mono.CSharp.TypeContainer tc, Location loc)  in <0x00336> Mono.CSharp.Constructor:Emit ()  in <0x004d2> Mono.CSharp.TypeContainer:EmitType ()  in <0x00236> Mono.CSharp.RootContext:EmitCode ()  in <0x00c01> Mono.CSharp.Driver:MainDriver (System.String[] args)  in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args)    Removing -r:RealmForge.Framework.dll from the build command causes the build to continue and error 
 normally (I.e. not crashing the compiler.)    Steps to reproduce the problem:    1.  Start with Mono and RealmForge from svn head (at the moment this is revision 202. RF's SVN repository is at svn://216.26.140.181/RealmForge. Apologies for not writing a testcase; I'm new to C# and am not entirely sure what I'm doing. :)  2.  Download NAnt, if not already present.  3.  Download my RealmForge NAnt buildfile from http://www.thewordnerd.info/RealmForge.build (I will try to attach this to the report.) Place it in RealmForge/trunk/src.  4.  Run "nant RealmForge.Genres". Assuming I've done my NAnt correctly (I'm new to that, too :) it should build the requirements and try to build the Genres pack. On my system, this crashes the compiler.
+
+------- Additional Comments From nolan@thewordnerd.info  2005-05-07 14:03 -------
+Created an attachment (id=15091)
+NAnt build
+