From: Miguel de Icaza Date: Wed, 12 Sep 2007 14:44:58 +0000 (-0000) Subject: Add X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=8cdc270b1608d0e41fc82660d0a433b55dd0ccca;p=mono.git Add svn path=/trunk/mono/; revision=85687 --- diff --git a/docs/stack-overflow.txt b/docs/stack-overflow.txt new file mode 100644 index 00000000000..f451923cac0 --- /dev/null +++ b/docs/stack-overflow.txt @@ -0,0 +1,17 @@ +Stack Overflow Detection + + Mono supports converting a stack overflow into a + StackOverflowException that the user can use to + pinpoint problems in his software. + + The detection works by: + + * Setting up a number of guard pages below a certain + point in the thread stack and unprotect them if we get a + segv there. + + * If a segv is caught on those pages, control is + transfered to the standard exception handling code. + + * During the unwinding, the stack pages are protected + again.