[Mono-bugs] [Bug 560339] [verifier] abort in setup_interface_offsets on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 15 11:03:42 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=560339#c1


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

This also occurs on HEAD with Moonlight (not 4.0) assemblies

gdb --args pedump --verify all bin/System.Core.sigabrt.4128.dll
..
ERROR:class.c:3061:setup_interface_offsets: assertion failed: (io >= 0)

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  0x000000000041d3d2 in setup_interface_offsets (class=0x968858, cur_slot=0)
at class.c:3061
#5  0x000000000041e982 in mono_class_setup_vtable_general (class=0x968858,
overrides=0x0, onum=0) at class.c:3713
#6  0x000000000041de39 in mono_class_setup_vtable (class=0x968858) at
class.c:3277
#7  0x0000000000421287 in mono_class_init (class=0xa2d170) at class.c:4525
#8  0x000000000043a490 in method_from_memberref (image=0x8ce5a0, idx=1416,
typespec_context=0x968f88, used_context=0x7fffffffd49c) at loader.c:941
#9  0x000000000043baad in mono_get_method_from_token (image=0x8ce5a0,
token=167773576, klass=0x0, context=0x968f88, used_context=0x7fffffffd49c)
    at loader.c:1496
#10 0x000000000043bf63 in mono_get_method_full (image=0x8ce5a0,
token=167773576, klass=0x0, context=0x968f88) at loader.c:1610
#11 0x00000000004c8f23 in verifier_load_method (ctx=0x7fffffffd610,
token=167773576, opcode=0x57dcb3 "newobj") at verify.c:858
#12 0x00000000004d3656 in do_newobj (ctx=0x7fffffffd610, token=167773576) at
verify.c:3428
#13 0x00000000004dcbdc in mono_method_verify (method=0x968f60, level=135) at
verify.c:5090
#14 0x000000000040e762 in dump_verify_info (image=0x8ce5a0, flags=135) at
pedump.c:365
#15 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