[Mono-bugs] [Bug 58469][Cri] New - mono crash while xml deserializing on OSX
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 13 May 2004 17:32:01 -0400 (EDT)
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 grompf@sublimeintervention.com.
http://bugzilla.ximian.com/show_bug.cgi?id=58469
--- shadow/58469 2004-05-13 17:32:01.000000000 -0400
+++ shadow/58469.tmp.30860 2004-05-13 17:32:01.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 58469
+Product: Mono: Runtime
+Version: unspecified
+OS:
+OS Details: OSX 10.3.3
+Status: NEW
+Resolution:
+Severity:
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: grompf@sublimeintervention.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mono crash while xml deserializing on OSX
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+After fetching data from a web service, my code attempts to deserialize the xml, mono crashes
+on OSX with EXC_BAD_ACCESS. gdb backtrace is attached.
+#1 0x010689a8 in handle_thunk (absolute=1, code=0x7f9c40c "K??5\230a", target=0x44b7940
+"<") at mini-ppc.c:2143
+#2 0x01068b6c in ppc_patch (code=0x7f9c40c "K??5\230a", target=0x44b7940 "<") at mini-
+ppc.c:2192
+#3 0x01068894 in search_thunk_slot (data=0x44b7000, csize=32768, bsize=8192,
+user_data=0xf1d2cfa0) at mini-ppc.c:2113
+#4 0x0112c694 in mono_code_manager_foreach (cman=0x3007d0, func=0x1068540
+<search_thunk_slot>, user_data=0xf1d2cfa0) at mono-codeman.c:106
+...
+
+The 4 lines of the backtrace attached repeated up until #11000 at which point gdb had nothing
+else to emit.
+
+
+
+Steps to reproduce the problem:
+1. Consume a webservice that returns data as a XmlNode[], and deserialize that Xml with the
+following code:
+
+XmlNodeReader _xnreader = new XmlNodeReader(((XmlNode[])SoapListings));
+XmlSerializer s = new XmlSerializer( typeof ( XTVDDocument ) );
+this.deserializedClass = (DeserializedClass)s.Deserialize(_xnreader);
+_xnreader.Close();
+
+
+Actual Results:
+mono runtime crash
+
+Expected Results:
+The xml would be deserialized
+
+How often does this happen?
+Every time the assembly is run
+
+Additional Information:
+The same class will execute correctly and as expected in mint.