[Mono-bugs] [Bug 75925][Maj] New - Anon-delegates regression

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 28 17:51:33 EDT 2005


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 bmaurer at users.sf.net.

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

--- shadow/75925	2005-08-28 17:51:33.000000000 -0400
+++ shadow/75925.tmp.25454	2005-08-28 17:51:33.000000000 -0400
@@ -0,0 +1,66 @@
+Bug#: 75925
+Product: Mono: Compilers
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: bmaurer at users.sf.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Anon-delegates regression
+
+I just got this when I tried to compile msdn-browse from with mcs from svn:
+
+mcs *.cs /out:msdnb.exe -pkg:gtk-sharp-2.0,gecko-sharp-2.0
+
+Unhandled Exception: System.Exception: Trying to emit a local from a
+different ILGenerator.
+in <0x005e7> System.Reflection.Emit.ILGenerator:Emit (OpCode opcode,
+System.Reflection.Emit.LocalBuilder lbuilder)
+in <0x0005e> Mono.CSharp.ScopeInfo:EmitScopeInstance
+(System.Reflection.Emit.ILGenerator ig)
+in <0x0005d> Mono.CSharp.CaptureContext:EmitMethodHostInstance
+(Mono.CSharp.EmitContext target, Mono.CSharp.AnonymousContainer am)
+in <0x0001f> Mono.CSharp.EmitContext:EmitMethodHostInstance
+(Mono.CSharp.EmitContext target, Mono.CSharp.AnonymousMethod am)
+in <0x0001c> Mono.CSharp.AnonymousDelegate+AnonymousInstance:Emit
+(Mono.CSharp.EmitContext ec)
+in <0x0004d> Mono.CSharp.DelegateCreation:Emit (Mono.CSharp.EmitContext ec)
+in <0x000c0> Mono.CSharp.AnonymousDelegate:Emit (Mono.CSharp.EmitContext ec)
+in <0x00214> Mono.CSharp.Argument:Emit (Mono.CSharp.EmitContext ec)
+in <0x00205> Mono.CSharp.Invocation:EmitArguments (Mono.CSharp.EmitContext
+ec, System.Reflection.MethodBase mb, System.Collections.ArrayList
+arguments, Boolean dup_args, Mono.CSharp.LocalTemporary this_arg)
+in <0x004fa> Mono.CSharp.Invocation:EmitCall (Mono.CSharp.EmitContext ec,
+Boolean is_base, Boolean is_static, Mono.CSharp.Expression instance_expr,
+System.Reflection.MethodBase method, System.Collections.ArrayList
+Arguments, Location loc, Boolean dup_args, Boolean omit_args)
+in <0x00024> Mono.CSharp.Invocation:EmitCall (Mono.CSharp.EmitContext ec,
+Boolean is_base, Boolean is_static, Mono.CSharp.Expression instance_expr,
+System.Reflection.MethodBase method, System.Collections.ArrayList
+Arguments, Location loc)
+in <0x00066> Mono.CSharp.Invocation:Emit (Mono.CSharp.EmitContext ec)
+in <0x00012> Mono.CSharp.Invocation:EmitStatement (Mono.CSharp.EmitContext ec)
+in <0x00011> Mono.CSharp.StatementExpression:DoEmit
+(Mono.CSharp.EmitContext ec)
+in <0x00024> Mono.CSharp.Statement:Emit (Mono.CSharp.EmitContext ec)
+in <0x000a0> Mono.CSharp.Block:DoEmit (Mono.CSharp.EmitContext ec)
+in <0x0024e> Mono.CSharp.Block:Emit (Mono.CSharp.EmitContext ec)
+in <0x0001b> Mono.CSharp.EmitContext:EmitResolvedTopBlock
+(Mono.CSharp.ToplevelBlock block, Boolean unreachable)
+in <0x00058> Mono.CSharp.EmitContext:EmitTopBlock (IMethodData md,
+Mono.CSharp.ToplevelBlock block, Mono.CSharp.InternalParameters ip)
+in <0x001e8> Mono.CSharp.MethodData:Emit (Mono.CSharp.TypeContainer
+container, Mono.CSharp.Attributable kind)
+in <0x00029> Mono.CSharp.Method:Emit ()
+in <0x00625> Mono.CSharp.TypeContainer:EmitType ()
+in <0x00215> Mono.CSharp.RootContext:EmitCode ()
+in <0x00bf0> Mono.CSharp.Driver:MainDriver (System.String[] args)
+in <0x0000f> Mono.CSharp.Driver:Main (System.String[] args)


More information about the mono-bugs mailing list