[Mono-bugs] [Bug 79148][Maj] Changed - [ANONYMOUS METHODS] (FIXED) Anonymous delegates testcase fails with NullReferenceException

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Dec 14 11:39:07 EST 2006


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 pawel.sakowski at mindbreeze.com.

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

--- shadow/79148	2006-10-07 11:51:07.000000000 -0400
+++ shadow/79148.tmp.16828	2006-12-14 11:39:07.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 79148
 Product: Mono: Compilers
 Version: 1.1
 OS: other
 OS Details: Red Hat Enterprise Linux 4 Update 2
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Major
 Component: C#
 AssignedTo: rharinath at novell.com                            
 ReportedBy: horst.reiterer at mind-breeze.com               
 QAContact: mono-bugs at ximian.com
@@ -148,6 +148,50 @@
 How often does this happen? 
 
 100 out of 100 times
 
 ------- Additional Comments From miguel at ximian.com  2006-10-07 11:51 -------
 Fixed for 1.1.18
+
+------- Additional Comments From pawel.sakowski at mindbreeze.com  2006-12-14 11:39 -------
+The very same test code fails to compile again with mono 1.2.2.1, this
+time with another exception:
+
+delegate-nullref.cs(13,9): warning CS0219: The variable `block' is
+assigned but its value is never used
+
+Unhandled Exception: Mono.CSharp.InternalErrorException: Internal error
+  at Mono.CSharp.ScopeInfo.EmitScopeInstance (Mono.CSharp.EmitContext
+ec) [0x00000]
+  at Mono.CSharp.ScopeInfo+CapturedVariable.EmitInstance
+(Mono.CSharp.EmitContext ec) [0x00000]
+  at Mono.CSharp.VariableReference.EmitLoad (Mono.CSharp.EmitContext
+ec) [0x00000]
+  at Mono.CSharp.VariableReference.Emit (Mono.CSharp.EmitContext ec,
+Boolean leave_copy) [0x00000]
+  at Mono.CSharp.VariableReference.Emit (Mono.CSharp.EmitContext ec)
+[0x00000]
+  at Mono.CSharp.ArrayAccess.EmitAssign (Mono.CSharp.EmitContext ec,
+Mono.CSharp.Expression source, Boolean leave_copy, Boolean
+prepare_for_load) [0x00000]
+  at Mono.CSharp.Assign.Emit (Mono.CSharp.EmitContext ec, Boolean
+is_statement) [0x00000]
+  at Mono.CSharp.Assign.EmitStatement (Mono.CSharp.EmitContext ec)
+[0x00000]
+  at Mono.CSharp.StatementExpression.DoEmit (Mono.CSharp.EmitContext
+ec) [0x00000]
+  at Mono.CSharp.Statement.Emit (Mono.CSharp.EmitContext ec) [0x00000]
+  at Mono.CSharp.Block.DoEmit (Mono.CSharp.EmitContext ec) [0x00000]
+  at Mono.CSharp.Block.Emit (Mono.CSharp.EmitContext ec) [0x00000]
+  at Mono.CSharp.EmitContext.EmitResolvedTopBlock
+(Mono.CSharp.ToplevelBlock block, Boolean unreachable) [0x00000]
+  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.TypeContainer.EmitType () [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]
+


More information about the mono-bugs mailing list