[Mono-bugs] [Bug 81685][Wis] New - Stack Overflow detection

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat May 19 13:26:07 EDT 2007


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 miguel at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81685

--- shadow/81685	2007-05-19 13:26:07.000000000 -0400
+++ shadow/81685.tmp.20644	2007-05-19 13:26:07.000000000 -0400
@@ -0,0 +1,30 @@
+Bug#: 81685
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JIT
+AssignedTo: lupus at ximian.com                            
+ReportedBy: miguel at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Stack Overflow detection
+
+Currently Mono has support for StackOverflow detection in the form of
+setting up an alternative stack using sigaltstack (only available in
+certain OSes).
+
+The problem that we have run into with sigaltstack is that this extra stack
+is not registered with the GC which can lead to problems.   Registering the
+sigaltstack stack with the GC is a possibility, but would slow down the GC
+as a big blog of mostly unused memory would be registered.
+
+The open sourced Java VM does not seem to be using sigaltstack to detect
+this case, they seem to use another setup to detect overflows, it might be
+worth investigating this.


More information about the mono-bugs mailing list