[Mono-bugs] [Bug 560325] [verifier] abort in find_method on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jan 5 09:56:41 EST 2010



Sebastien Pouliot <spouliot at novell.com> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW
      Info Provider|spouliot at novell.com         |

--- Comment #4 from Sebastien Pouliot <spouliot at novell.com> 2010-01-05 14:56:39 UTC ---
This one still occurs on x86_64 using 2-6 branch and 4.0 assemblies (tried the
first test case)

MONO_PATH=. gdb --args pedump --verify all

** ERROR:(loader.c:672):find_method: assertion failed:
(from_class->interface_offsets_count == in_class->interface_offsets_count)
[New Thread 0x7f3eb0295710 (LWP 17368)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f3eb0295710 (LWP 17368)]
0x00007f3eaee025c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f3eaee025c5 in raise () from /lib64/libc.so.6
#1  0x00007f3eaee03bb3 in abort () from /lib64/libc.so.6
#2  0x00007f3eafc302c7 in g_assertion_message () from
#3  0x00007f3eafc30762 in g_assertion_message_expr () from
#4  0x0000000000436427 in find_method (in_class=0x8b5410, ic=0x0,
name=0x7f3eae9793ff "field-9", sig=0x9a9638, from_class=0xd3da20) at
#5  0x00000000004372d0 in method_from_memberref (image=0x940c50, idx=3513,
typespec_context=0xd3cd98, used_context=0x7fffb82b35cc) at loader.c:975
#6  0x0000000000438660 in mono_get_method_from_token (image=0x940c50,
token=167775673, klass=0x0, context=0xd3cd98, used_context=0x7fffb82b35cc) at
#7  0x0000000000438aa9 in mono_get_method_full (image=0x940c50,
token=167775673, klass=0x0, context=0xd3cd98) at loader.c:1609
#8  0x000000000045d402 in method_from_method_def_or_ref (m=0x940c50, tok=7027,
context=0xd3cd98) at metadata.c:5062
#9  0x000000000045d5d0 in mono_class_get_overrides_full (image=0x940c50,
type_token=33554821, overrides=0x7fffb82b3710, num_overrides=0x7fffb82b370c, 
    generic_context=0xd3cd98) at metadata.c:5125
#10 0x000000000041c7a3 in mono_class_setup_vtable (class=0xd3cdc0) at
#11 0x000000000041fe6c in mono_class_init (class=0xd3cdc0) at class.c:4370
#12 0x00000000004b8707 in mono_type_is_valid_in_context (ctx=0x7fffb82b38d0,
type=0xd3d360) at verify.c:780
#13 0x00000000004cab28 in mono_method_verify (method=0xd3ac28, level=135) at
#14 0x000000000040e79f in dump_verify_info (image=0x940c50, flags=135) at
#15 0x000000000040f4f1 in main (argc=4, argv=0x7fffb82b40f8) at pedump.c:730

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list