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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jul 19 15:30:13 EDT 2010


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

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


--- Comment #6 from Sebastien Pouliot <spouliot at novell.com> 2010-07-19 19:30:12 UTC ---
Created an attachment (id=376928)
 --> (http://bugzilla.novell.com/attachment.cgi?id=376928)
assembly causing the abort

a more recent test case on x86 opensuse 11.3

gdb --args pedump --verify all bin/System.Net.sigabrt.5057.dll


* Assertion at loader.c:671, condition `from_class->interface_offsets_count ==
in_class->interface_offsets_count' not met


Program received signal SIGABRT, Aborted.
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb7e2d7ff in raise () from /lib/libc.so.6
#2  0xb7e2f140 in abort () from /lib/libc.so.6
#3  0x0818f08a in monoeg_g_logv (log_domain=0x0, log_level=G_LOG_LEVEL_ERROR,
format=0x819eacc "* Assertion at %s:%d, condition `%s' not met\n", 
    args=0xbfffe8b4 "o\351\031\b\237\002") at goutput.c:134
#4  0x0818f109 in monoeg_assertion_message (format=0x819eacc "* Assertion at
%s:%d, condition `%s' not met\n") at goutput.c:154
#5  0x08078abb in find_method (in_class=0x8271eac, ic=0x0, name=0xb7b7adf7
"Add", sig=0x8294594, from_class=0x82b82a8) at loader.c:671
#6  0x080799e9 in method_from_memberref (image=0x827ee98, idx=253,
typespec_context=0x0, used_context=0xbfffea44) at loader.c:997
#7  0x0807abf8 in mono_get_method_from_token (image=0x827ee98, token=167772413,
klass=0x0, context=0x0, used_context=0xbfffea44) at loader.c:1518
#8  0x0807b035 in mono_get_method_full (image=0x827ee98, token=167772413,
klass=0x0, context=0x0) at loader.c:1632
#9  0x081028c2 in verifier_load_method (ctx=0xbfffeb8c, token=167772413,
opcode=0x81afd31 "callvirt") at verify.c:868
#10 0x08107f6e in do_invoke_method (ctx=0xbfffeb8c, method_token=167772413,
virtual=1) at verify.c:2862
#11 0x08113696 in mono_method_verify (method=0x82b898c, level=135) at
verify.c:4990
#12 0x080508ba in dump_verify_info (image=0x827ee98, flags=135) at pedump.c:365
#13 0x08051692 in main (argc=4, argv=0xbffff094) at pedump.c:727

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