Bugzilla – Bug 314091
Stack overflow causes segmentation fault
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by david.mitchell@telogis.com 2004-03-10 17:38:33 MST ---- 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; } } } ---- Additional Comments From vargaz@freemail.hu 2004-03-10 18:11:27 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO47689 *** This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"