Disable SecurityFrame, the runtime code in declsec.c creates cross-domain references...
authorZoltan Varga <vargaz@gmail.com>
Mon, 9 Mar 2015 19:15:04 +0000 (15:15 -0400)
committerZoltan Varga <vargaz@gmail.com>
Mon, 9 Mar 2015 19:15:04 +0000 (15:15 -0400)
mcs/class/corlib/System.Security/SecurityFrame.cs

index 13980f5d767712bcfcda735069190006226bf437..6d7770e1131059600c640211eb5c754272bbfcd7 100644 (file)
@@ -172,6 +172,9 @@ namespace System.Security {
 
                static public ArrayList GetStack (int skipFrames)
                {
+                       /* _GetSecurityFrame () creates cross-domain references, leading to gc crashes */
+                       return new ArrayList ();
+                       /*
                        Array stack = _GetSecurityStack (skipFrames+2);
                        ArrayList al = new ArrayList ();
                        for (int i = 0; i < stack.Length; i++) {
@@ -182,6 +185,7 @@ namespace System.Security {
                                al.Add (new SecurityFrame ((RuntimeSecurityFrame)o));
                        }
                        return al;
+                       */
                }
        }
 }