[Mono-bugs] [Bug 79491][Maj] New - gmcs crash on inner class usage

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 25 10:53:37 EDT 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=79491

--- shadow/79491	2006-09-25 10:53:37.000000000 -0400
+++ shadow/79491.tmp.817	2006-09-25 10:53:37.000000000 -0400
@@ -0,0 +1,46 @@
+Bug#: 79491
+Product: Mono: Compilers
+Version: 1.1
+OS: GNU/Linux [Other]
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: C#
+AssignedTo: rharinath at novell.com                            
+ReportedBy: pawel.sakowski at mindbreeze.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: gmcs crash on inner class usage
+
+Description of Problem:
+gmcs crashes when faced with certain code using inner classes
+
+Steps to reproduce the problem:
+1. gmcs /target:library foo.cs  #content follows
+
+interface A<T> {}
+class B: A<B.C> {
+  internal class C {}
+}
+
+Actual Results:
+Unhandled Exception: System.NullReferenceException: Object reference not
+set to an instance of an object
+in <0x00202> Mono.CSharp.TypeContainer:DoDefineMembers ()
+in <0x0004a> Mono.CSharp.TypeContainer:DefineMembers ()
+in <0x0023c> Mono.CSharp.RootContext:PopulateTypes ()
+in <0x009b1> Mono.CSharp.Driver:MainDriver (System.String[] args)
+in <0x00051> Mono.CSharp.Driver:Main (System.String[] args)
+
+Expected Results:
+success
+
+How often does this happen? 
+100%
+
+Additional Information:
+mono 1.1.13.6


More information about the mono-bugs mailing list