[Mono-bugs] [Bug 55442][Nor] New - Stack overflow causes segmentation fault
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 10 Mar 2004 17:38:33 -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 david.mitchell@telogis.com.
http://bugzilla.ximian.com/show_bug.cgi?id=55442
--- shadow/55442 2004-03-10 17:38:33.000000000 -0500
+++ shadow/55442.tmp.24681 2004-03-10 17:38:33.000000000 -0500
@@ -0,0 +1,55 @@
+Bug#: 55442
+Product: Mono: Runtime
+Version: unspecified
+OS: Red Hat 9.0
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: david.mitchell@telogis.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Stack overflow causes segmentation fault
+
+Description of Problem:
+When a stack overflow occurs, rather than throwing the appropriate
+exception, mono causes a segmentation fault.
+
+Steps to reproduce the problem:
+1. Write a function that calls itself infinitely
+
+Actual Results:
+Segmentation fault
+
+Expected Results:
+System.StackOverflowException
+
+How often does this happen?
+Consistently with my test program
+
+Additional Information:
+Following is my test program, which demonstrates the bug:
+
+using System;
+
+
+namespace Blow {
+ public class Killer {
+
+
+ public static void KillerMethod() {
+ KillerMethod();
+ }
+
+
+ public static int Main(string[] args) {
+ KillerMethod();
+ return 0;
+ }
+ }
+}