5.3.5Deserilizing XML cause EXC_BAD_ACCESS in IOS/IPAD machine

Hi,

We have an EXC_BAD_ACCESS in iOS/iPad machine when we deserilize XML,but everything is OK in the Editor.

Would be quite appreciate for any help!

this is the test code:

public void Test(){
        string test = @"<testxml test='1000'/>";
        t.text = "";
        var stream = new MemoryStream (Encoding.UTF8.GetBytes (test));
        var rst = (TestXML)(s.Deserialize (stream));
        t.text = t.text + " " + rst.test.ToString ();
        stream.Close ();
}

[XmlType("testxml")]
public class TestXML{

  [XmlAttribute]
  public int test;
}

when we execute the funciton Test() for serval time, it might be randomly crashed in iOS/iPad.