[Mono-bugs] [Bug 77026][Maj] Changed - Mono 1.1.11 segfaults

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Dec 20 00:08:17 EST 2005

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 ed at catmur.co.uk.


--- shadow/77026	2005-12-20 00:03:28.000000000 -0500
+++ shadow/77026.tmp.27735	2005-12-20 00:08:17.000000000 -0500
@@ -156,6 +156,15 @@
 ------- Additional Comments From ed at catmur.co.uk  2005-12-20 00:03 -------
 Created an attachment (id=16232)
 Test case that is actually broken
+------- Additional Comments From ed at catmur.co.uk  2005-12-20 00:08 -------
+The _second_ test case exhibits the bug. (Change around the commented
+lines to see the difference.) (OK, just realised the test case is
+*really* stupid; even more stupid than I thought. Doesn't matter.)
+The bug appears to be that when told to marshal a union within a
+struct, mono tries to marshal members that have not been set. When the
+unset member is e.g. a string, it crashes.

More information about the mono-bugs mailing list