[Mono-bugs] [Bug 560330] [verifier] abort in mono_metadata_token_from_dor on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Apr 15 11:13:53 EDT 2010


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

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


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

This occurs with HEAD on x86_64

gdb --args pedump --verify all bin/System.Core.sigabrt.102813.dll
..
ERROR:metadata.c:3699:mono_metadata_token_from_dor: code should not be reached

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  0x0000000000460ff2 in mono_metadata_token_from_dor (dor_index=3) at
metadata.c:3699
#4  0x000000000045c76c in mono_metadata_parse_typedef_or_ref (m=0x892e00,
ptr=0x7ffff7f9d267 "\001\022\201\311\002\035\005\003 ", rptr=0x7fffffffd4b8)
    at metadata.c:1219
#5  0x000000000045c7e5 in mono_metadata_parse_custom_mod (m=0x892e00,
dest=0x7fffffffd460, ptr=0x7ffff7f9d265 " \003\001\022\201\311\002\035\005\003
", 
    rptr=0x7fffffffd4b8) at metadata.c:1241
#6  0x000000000045ced7 in mono_metadata_parse_type_full (m=0x892e00,
container=0x0, mode=MONO_PARSE_PARAM, opt_attrs=0, ptr=
    0x7ffff7f9d265 " \003\001\022\201\311\002\035\005\003 ",
rptr=0x7fffffffd530) at metadata.c:1552
#7  0x000000000045d979 in mono_metadata_parse_method_signature_full
(m=0x892e00, container=0x0, def=0, ptr=
    0x7ffff7f9d265 " \003\001\022\201\311\002\035\005\003 ", rptr=0x0) at
metadata.c:1919
#8  0x000000000045dadb in mono_metadata_parse_method_signature (m=0x892e00,
def=0, ptr=
    0x7ffff7f9d25e "\006\b\003\006\035\005\t
\003\001\022\201\311\002\035\005\003 ", rptr=0x0) at metadata.c:1966
#9  0x000000000043a573 in method_from_memberref (image=0x892e00, idx=72,
typespec_context=0x8dac38, used_context=0x7fffffffd7cc) at loader.c:955
#10 0x000000000043baad in mono_get_method_from_token (image=0x892e00,
token=167772232, klass=0x0, context=0x8dac38, used_context=0x7fffffffd7cc)
    at loader.c:1496
#11 0x000000000043bf63 in mono_get_method_full (image=0x892e00,
token=167772232, klass=0x0, context=0x8dac38) at loader.c:1610
#12 0x00000000004643f4 in method_from_method_def_or_ref (m=0x892e00, tok=145,
context=0x8dac38) at metadata.c:5542
#13 0x00000000004645db in mono_class_get_overrides_full (image=0x892e00,
type_token=33554565, overrides=0x7fffffffd918, num_overrides=0x7fffffffd914, 
    generic_context=0x8dac38) at metadata.c:5605
#14 0x000000000041de1a in mono_class_setup_vtable (class=0x8dab28) at
class.c:3273
#15 0x0000000000421287 in mono_class_init (class=0x8df980) at class.c:4525
#16 0x000000000041871c in mono_class_setup_fields (class=0x8daea8) at
class.c:1236
#17 0x00000000004190bd in mono_class_setup_fields_locking (class=0x8daea8) at
class.c:1422
#18 0x00000000004283c7 in mono_class_get_fields (klass=0x8daea8,
iter=0x7fffffffdb00) at class.c:7649
#19 0x00000000004e00b3 in verify_class_fields (class=0x8daea8) at verify.c:5710
#20 0x00000000004e03d2 in mono_verifier_verify_class (class=0x8daea8) at
verify.c:5803
#21 0x0000000000420c7a in mono_class_init (class=0x8daea8) at class.c:4409
#22 0x000000000040eb53 in verify_image_file (fname=0x7fffffffe2d8
"bin/System.Core.sigabrt.102813.dll") at pedump.c:465
#23 0x000000000040f449 in main (argc=4, argv=0x7fffffffde98) at pedump.c:685

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