[Mono-bugs] [Bug 62115][Maj] New - stack overflow exception not thrown on deep recursion, program mysteriously exits instead
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 29 Jul 2004 17:40:01 -0400 (EDT)
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 mmmurf@gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=62115
--- shadow/62115 2004-07-29 17:40:01.000000000 -0400
+++ shadow/62115.tmp.5885 2004-07-29 17:40:01.000000000 -0400
@@ -0,0 +1,49 @@
+Bug#: 62115
+Product: Mono: Runtime
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: gentoo using mono 1.0 ebuild (masked ~x86 at present)
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: mmmurf@gmail.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: stack overflow exception not thrown on deep recursion, program mysteriously exits instead
+
+Please fill in this template when reporting a bug, unless you know what
+you are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Write a recursive method that has some meat inside the recursion (flow
+control, variable assignment, etc.). Write some code so that the
+recursion "recurses" a lot.
+2. Run the program using Microsoft's runtime, you will get a stack
+overflow exception when the recursion gets too deep.
+3. Run the program on Mono, the runtime will not throw the exception, but
+will merely exit unexpectedly.
+
+Actual Results:
+
+No exception thrown
+
+Expected Results:
+
+System.StackOverflowException (not sure of spelling)
+
+How often does this happen?
+
+Every time with the mono runtime on linux.
+
+Additional Information:
+
+I was wondering what was going on (why my program was unexpectedly
+stopping) and so I ran it on Microsoft's runtime and it threw the
+exception.