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 [EMAIL PROTECTED]

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

--- shadow/81685        2007-05-21 16:49:11.000000000 -0400
+++ shadow/81685.tmp.21024      2007-05-21 19:34:26.000000000 -0400
@@ -44,6 +44,36 @@
 For trusted execution (our regular code path) I think we would not
 needs this, but we could probably have this optionally enabled for
 when we pass some flag to the runtime (maybe it should be enabled with
 --debug and --security)
 
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-05-21 19:34 -------
+Besides the gc problem with the altstack, there is another one:
+"finally" code could overflow the altstack, which leads to an
+untrappable SIGSEGV, as like no altstacks were in use.
+
+The sample is first forcing a SIGSEGV, then it's overflowing
+the (pretty small) altstack:
+
+using System;
+
+class T
+{
+        static void Recurse (int i)
+        {
+                if (i % 1000 == 0) Console.Write (".");
+                Recurse (i + 1);
+        }
+
+        static void Main ()
+        {
+                try {
+                        object o = null;
+                        o.Equals (o);
+                } finally {
+                        Recurse (1);
+                }
+        }
+}
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to