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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 15 11:06:49 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=560325

http://bugzilla.novell.com/show_bug.cgi?id=560325#c5


--- Comment #5 from Sebastien Pouliot <spouliot at novell.com> 2010-04-15 15:06:48 UTC ---
Created an attachment (id=354696)
 --> (http://bugzilla.novell.com/attachment.cgi?id=354696)
a more recent test case

Still occurs on HEAD (x86_64) using Moonlight assemblies

gdb --args pedump --verify all bin/System.Core.sigabrt.124016.dll
..
ERROR:loader.c:672:find_method: assertion failed:
(from_class->interface_offsets_count == in_class->interface_offsets_count)

Program received signal SIGABRT, Aborted.
0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
#1  0x00007ffff6d6e9b0 in abort () from /lib64/libc.so.6
#2  0x00007ffff797577f in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ffff7975cf0 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x00000000004396c6 in find_method (in_class=0x99fea8, ic=0x0,
name=0x7ffff7f64103 "get_Key", sig=0x8f6bf0, from_class=0x9a2800) at
loader.c:672
#5  0x000000000043a665 in method_from_memberref (image=0x8e8a50, idx=1028,
typespec_context=0x952930, used_context=0x7fffffffd40c) at loader.c:975
#6  0x000000000043baad in mono_get_method_from_token (image=0x8e8a50,
token=167773188, klass=0x0, context=0x952930, used_context=0x7fffffffd40c)
    at loader.c:1496
#7  0x000000000043bf63 in mono_get_method_full (image=0x8e8a50,
token=167773188, klass=0x0, context=0x952930) at loader.c:1610
#8  0x00000000004c8f23 in verifier_load_method (ctx=0x7fffffffd610,
token=167773188, opcode=0x57cdcd "callvirt") at verify.c:858
#9  0x00000000004cee9a in do_invoke_method (ctx=0x7fffffffd610,
method_token=167773188, virtual=1) at verify.c:2830
#10 0x00000000004dbfcc in mono_method_verify (method=0x958af0, level=135) at
verify.c:4947
#11 0x000000000040e762 in dump_verify_info (image=0x8e8a50, flags=135) at
pedump.c:365
#12 0x000000000040f592 in main (argc=4, argv=0x7fffffffde98) at pedump.c:720

-- 
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