[Mono-bugs] [Bug 54552][Nor] New - Looping constructor kills the runtime
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 18 Feb 2004 16:26:50 -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 joe@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=54552
--- shadow/54552 2004-02-18 16:26:50.000000000 -0500
+++ shadow/54552.tmp.27439 2004-02-18 16:26:50.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 54552
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: joe@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Looping constructor kills the runtime
+
+I'm not sure if this is also a compiler bug or not.
+
+It's possible to create a looping constructor doing something like this:
+
+Foo (string bar) : this (bar) { }
+
+which ends up killing the runtime. The only thing you see is "Killed" on
+the console. I don't know what the behavior is on MS's implementation (no
+windows), but I would think that it'd eventually throw an exception related
+to infinite recursion.
+
+Attached is a test case which shows this.