[Mono-bugs] [Bug 51046][Maj] New - Recursive get property caused mono to be killed

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 16 Nov 2003 14:47:00 -0500 (EST)


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 c.j.n.breame@dur.ac.uk.

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

--- shadow/51046	2003-11-16 14:47:00.000000000 -0500
+++ shadow/51046.tmp.30427	2003-11-16 14:47:00.000000000 -0500
@@ -0,0 +1,43 @@
+Bug#: 51046
+Product: Mono/Runtime
+Version: unspecified
+OS: 
+OS Details: 2.6 gentoo
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: c.j.n.breame@dur.ac.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Recursive get property caused mono to be killed
+
+using System;
+                                                                          
+                      
+class testimpl {
+    int testtest_val;
+                                                                          
+                      
+    public int testtest {
+        get {
+            return testtest;
+        }
+    }
+                                                                          
+                      
+    public static void Main(string[] a) {
+        Console.WriteLine(new testimpl().testtest);
+    }
+}
+
+v
+Compiles ok but when run produces:
+
+Killed
+
+I expect its something to do with the recursive get call to testtest.