Bugzilla – Bug 313648
The runtime should notify if StackOverflowException is occured
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by atsushi@ximian.com 2004-01-19 06:14:13 MST ---- Currently we can't know if StackOverflowException is thrown. When a StackOverflowException is thrown, the runtime silently dies. If the runtime prints an error message, it would be helpful for developers to know that exception is occured. -------- using System; public class Test { static long l = 0; public static void Main () { if (l % 10000 == 0) Console.WriteLine (l); l++; Main (); } } Mono Results: $ mono stackoverflow.exe 0 10000 20000 30000 40000 50000 MS.NET Results: $ ./stackoverflow.exe 0 10000 20000 30000 40000 50000 60000 70000 80000 90000 100000 110000 120000 (After showing an error dialog) Unhandled Exception: StackOverflowException. ---- Additional Comments From vargaz@freemail.hu 2004-01-19 07:13:54 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO47689 *** Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>cygwin 1.5.5-1, WinXP, glib2.2.3</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"