[Mono-bugs] [Bug 44547][Nor] Changed - mono aborts in emit_struct_conv when marshaling unions

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Tue, 17 Jun 2003 12:07:47 -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 j@bitron.ch.

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

--- shadow/44547	Tue Jun 17 12:04:23 2003
+++ shadow/44547.tmp.18364	Tue Jun 17 12:07:47 2003
@@ -278,6 +278,21 @@
 sounds arbitrary...
 
 ------- Additional Comments From j@bitron.ch  2003-06-17 12:04 -------
 Created an attachment (id=4634)
 testcase
 
+
+------- Additional Comments From j@bitron.ch  2003-06-17 12:07 -------
+I've attached an extract of my code which works fine in mono-0.23 but
+doesn't work anymore in mono-0.24.
+
+Just compile and run and mono-0.24 will abort with the following error
+(tested on Linux):
+
+** ERROR **: file marshal.c: line 834 (emit_struct_conv): assertion
+failed: (msize > 0 && usize > 0)
+aborting...
+Aborted
+
+I'm sorry if it's a fault in my code as it was with Qt# but I really
+don't know how to get this code to work in mono-0.24.