[Mono-bugs] [Bug 82417][Min] New - Mono C# compiler version crashes

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 12 00:05:46 EDT 2007

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 ville at ylenius.net.


--- shadow/82417	2007-08-12 00:05:46.000000000 -0400
+++ shadow/82417.tmp.17324	2007-08-12 00:05:46.000000000 -0400
@@ -0,0 +1,63 @@
+Bug#: 82417
+Product: Mono: Compilers
+Version: 1.2
+OS Details: Gentoo x86_64, kernel: 2.6.22-gentoo-r1
+Status: NEW   
+Priority: Minor
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: ville at ylenius.net               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Mono C# compiler version crashes
+Description of Problem:
+$ mcs test.cs
+test.cs(39,9): error CS0103: The name `c1' does not exist in the context of
+Unhandled Exception: System.InvalidOperationException: Operation is not
+valid due to the current state of the object
+  at Mono.CSharp.FlowBranchingException.AddSibling (Mono.CSharp.UsageVector
+sibling) [0x00000] 
+  at Mono.CSharp.FlowBranching.CreateSibling (Mono.CSharp.Block block,
+SiblingType type) [0x00000] 
+  at Mono.CSharp.FlowBranching.CreateSibling () [0x00000] 
+  at Mono.CSharp.If.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
+  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
+  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000] 
+  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext
+anonymous_method_host, Mono.CSharp.ToplevelBlock block,
+Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable)
+  at Mono.CSharp.EmitContext.EmitTopBlock (IMethodData md,
+Mono.CSharp.ToplevelBlock block) [0x00000] 
+  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000] 
+  at Mono.CSharp.Method.Emit () [0x00000] 
+  at Mono.CSharp.TypeContainer.EmitType () [0x00000] 
+  at Mono.CSharp.RootContext.EmitCode () [0x00000] 
+  at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000] 
+  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] 
+Steps to reproduce the problem:
+1. mcs test.cs
+Actual Results:
+Expected Results:
+How often does this happen? 
+Additional Information:

More information about the mono-bugs mailing list