Bug 313648 (MONO53048) - The runtime should notify if StackOverflowException is occured
Summary: The runtime should notify if StackOverflowException is occured
Status: RESOLVED MOVED
Alias: MONO53048
Product: Mono: Runtime
Classification: Mono
Component: misc (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Mono Bugs
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-19 13:14 UTC by Atsushi Enomoto
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 18:24:55 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"