[Mono-bugs] [Bug 53003][Nor] New - Infinite loop in Mono JIT/AOT, consumes all memory.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sat, 17 Jan 2004 15:40:11 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=53003
--- shadow/53003 2004-01-17 15:40:11.000000000 -0500
+++ shadow/53003.tmp.23093 2004-01-17 15:40:11.000000000 -0500
@@ -0,0 +1,46 @@
+Bug#: 53003
+Product: Mono/Runtime
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: miguel@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Infinite loop in Mono JIT/AOT, consumes all memory.
+
+The following program causes the Mono JIT to consume all memory:
+
+class x {
+
+ static void Main()
+ {
+ while (true) {
+
+ if (1 == 2) {
+ break;
+ }
+
+ if (1 == 2) {
+ do {
+ } while (true);
+
+ continue;
+ }
+ }
+ }
+
+}
+
+mcs sample.cs
+mono --aot sample.exe
+
+
+Be very very careful, this will pretty much hang your machine.