[Mono-bugs] [Bug 74996][Blo] Changed - MI/ method lookup oddness ...

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Jun 2 04:32:17 EDT 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 michael at ximian.com.

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

--- shadow/74996	2005-06-01 07:58:05.000000000 -0400
+++ shadow/74996.tmp.7987	2005-06-02 04:32:17.000000000 -0400
@@ -355,6 +355,53 @@
 Created an attachment (id=15244)
 Proposed patch
 
 
 ------- Additional Comments From lluis at ximian.com  2005-06-01 07:58 -------
 This patch should fix the bug. Michael, can you please try it?
+
+------- Additional Comments From michael at ximian.com  2005-06-02 04:32 -------
+With this patch I get a segv that I don't get otherwise:
+
+#0  0x080dc9fe in mono_class_init (class=0x81b67d0) at class.c:1736
+#1  0x080ddde1 in mono_class_instance_size (klass=0x81b67d0) at
+class.c:2860
+#2  0x080dded4 in mono_class_value_size (klass=0x81b67d0, align=0x0)
+at class.c:2901
+#3  0x080c03f3 in mono_method_return_message_restore
+(method=0x8264e50, params=0xbfffc4d0, out_args=0x8375180) at object.c:3498
+#4  0x0809544c in mono_remoting_wrapper (method=0x8264e50,
+params=0xbfffc4d0) at marshal.c:2163
+
+(gdb) p *class
+$1 = {image = 0x1, enum_basetype = 0x81b6668, element_class =
+0x4033b000, cast_class = 0x180800, rank = 0 '\0', inited = 0, 
+  init_pending = 1, size_inited = 0, valuetype = 0, enumtype = 0,
+blittable = 0, unicode = 0, wastypebuilder = 0, min_align = 0, 
+  packing_size = 0, ghcimpl = 0, has_finalize = 0, marshalbyref = 0,
+contextbound = 0, delegate = 0, gc_descr_inited = 0, has_cctor = 0, 
+  dummy = 0, has_references = 0, has_static_refs = 0, declsec_flags =
+1078326231, exception_type = 1078326249, exception_data = 0x81b9220, 
+  parent = 0x81b92a0, nested_in = 0x81b6ab8, nested_classes =
+0x81b6c48, type_token = 1077827448, 
+  name = 0x10001 <Address 0x10001 out of bounds>, name_space =
+0x4045f3cc "", supertypes = 0x24624, idepth = 14832, 
+  interface_count = 16456, interface_id = 9548, max_interface_id = 2,
+interface_offsets = 0x404a5f3c, interfaces = 0x150d8, 
+  instance_size = 1078702100, class_size = 16, vtable_size =
+1077827560, flags = 498660, field = {first = 1077827688, last =
+1077827688, 
+    count = 201326593}, method = {first = 83886429, last = 0, count =
+0}, property = {first = 0, last = 1077827700, count = 301991225}, 
+  event = {first = 100664703, last = 0, count = 0}, marshal_info =
+0x0, fields = 0x403eb676, properties = 0xa001234, events = 0x300003d, 
+  methods = 0x0, this_arg = {data = {klass = 0x0, type = 0x0, array =
+0x0, method = 0x0, generic_param = 0x0, generic_class = 0x0}, 
+    attrs = 0, type = 0, num_mods = 0, byref = 0, pinned = 0,
+modifiers = 0x81b687c}, byval_arg = {data = {klass = 0x403f6c7e, 
+      type = 0x403f6c7e, array = 0x403f6c7e, method = 0x403f6c7e,
+generic_param = 0x403f6c7e, generic_class = 0x403f6c7e}, attrs = 12489, 
+    type = 0, num_mods = 18, byref = 0, pinned = 0, modifiers =
+0x81b6884}, generic_class = 0x60007d7, generic_container = 0x0, 
+  reflection_info = 0x0, gc_descr = 0x0, runtime_info = 0x4042daa0,
+vtable = 0x80038d3}
+


More information about the mono-bugs mailing list