[Mono-bugs] [Bug 44547][Nor] Changed - mono aborts in emit_struct_conv with failed assertion running Qt# apps

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 12 Jun 2003 14:07:34 -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 mathpup@mylinuxisp.com.

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

--- shadow/44547	Thu Jun 12 12:38:05 2003
+++ shadow/44547.tmp.24252	Thu Jun 12 14:07:34 2003
@@ -112,6 +112,148 @@
         public IntPtr message_type;
         public int format;
         public Message data;
  
 }
 
+
+------- Additional Comments From mathpup@mylinuxisp.com  2003-06-12 14:07 -------
+Qt# apps are still failing, but in a little different way. When I launch t1.exe, for 
+example, mono runs for a while consuming almost all CPU time. The dialog 
+does not pop up. And after a few seconds, mono aborts with a segfault. 
+ 
+Running mono under gdb, I get the following backtrace: 
+ 
+#0  0x402c60cc in mremap_chunk () from /lib/libc.so.6 
+#1  0x402c747e in realloc () from /lib/libc.so.6 
+#2  0x401abb22 in g_realloc () from /usr/local/lib/libglib-2.0.so.0 
+#3  0x400a4514 in mono_mb_emit_stloc (mb=0x825be80, num=32716) at 
+marshal.c:483 
+#4  0x400a53cb in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:799 
+#5  0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#6  0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#7  0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#8  0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#9  0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#10 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#11 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+---Type <return> to continue, or q <return> to quit--- 
+    at marshal.c:949 
+#12 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#13 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#14 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#15 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#16 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#17 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#18 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#19 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#20 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+---Type <return> to continue, or q <return> to quit--- 
+    at marshal.c:808 
+#21 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#22 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#23 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#24 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#25 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#26 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#27 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#28 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#29 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+---Type <return> to continue, or q <return> to quit--- 
+#30 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#31 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#32 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#33 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#34 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#35 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#36 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+#37 0x400a5b7b in emit_struct_conv (mb=0x825be80, klass=0x80e8548, 
+to_object=0) 
+    at marshal.c:949 
+#38 0x400a544e in emit_str_to_ptr_conv (mb=0x825be80, type=0x80e98f0, 
+    conv=MONO_MARSHAL_CONV_OBJECT_STRUCT, usize=12, msize=4, 
+mspec=0x0) 
+    at marshal.c:808 
+ 
+This continues and continues for at least 2090 stack entries. 
+