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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 3 08:52:53 EST 2009



           Summary: [verifier] abort in mono_metadata_token_from_dor on
                    bad assembly
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: verifier
        AssignedTo: rkumpera at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=330761)
 --> (http://bugzilla.novell.com/attachment.cgi?id=330761)
assembly to reproduce abort

note: following Marek's suggestion this is System.Core.dll in 4.0 profile to
test more cases of generic. Make sure MONO_PATH points to your 4.0 setup.

MONO_PATH=. gdb --args pedump --verify all System.Core.sigabrt.108799.dll

** ERROR:(metadata.c:3242):mono_metadata_token_from_dor: code should not be
[New Thread 0x7f4096c61710 (LWP 15757)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f4096c61710 (LWP 15757)]
0x00007f40957ce5c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f40957ce5c5 in raise () from /lib64/libc.so.6
#1  0x00007f40957cfbb3 in abort () from /lib64/libc.so.6
#2  0x00007f40965fc2c7 in g_assertion_message () from
#3  0x0000000000450cba in mono_metadata_token_from_dor (dor_index=3) at
#4  0x000000000044d5e8 in mono_metadata_parse_typedef_or_ref (m=0x91b820,
ptr=0x7f409534fb70 "\001\035\023", rptr=0x7fff9ec7fdd8) at metadata.c:1215
#5  0x000000000044d65b in mono_metadata_parse_custom_mod (m=0x91b820,
dest=0x7fff9ec7fd70, ptr=0x7f409534fb6e " \003\001\035\023",
    at metadata.c:1237
#6  0x000000000044dde1 in mono_metadata_parse_type_full (m=0x91b820,
container=0x0, mode=MONO_PARSE_PARAM, opt_attrs=0, ptr=0x7f409534fb6e "
    rptr=0x7fff9ec7fe70) at metadata.c:1574
#7  0x000000000044e837 in mono_metadata_parse_method_signature_full
(m=0x91b820, container=0x0, def=0, ptr=0x7f409534fb6e " \003\001\035\023",
    at metadata.c:1941
#8  0x000000000044e989 in mono_metadata_parse_method_signature (m=0x91b820,
def=0, ptr=0x7f409534fb34 "\006\035\b\t\006\035\025\021\203�\001\023",
    at metadata.c:1988
#9  0x0000000000432de7 in method_from_memberref (image=0x91b820, idx=1514,
typespec_context=0xc23838, used_context=0x7fff9ec800fc) at loader.c:937
#10 0x0000000000434244 in mono_get_method_from_token (image=0x91b820,
token=167773674, klass=0x0, context=0xc23838, used_context=0x7fff9ec800fc) at
#11 0x000000000043468d in mono_get_method_full (image=0x91b820,
token=167773674, klass=0x0, context=0xc23838) at loader.c:1590
#12 0x00000000004981db in verifier_load_method (ctx=0x7fff9ec80340,
token=167773674, opcode=0x535e8d "callvirt") at verify.c:862
#13 0x000000000049fcd1 in do_invoke_method (ctx=0x7fff9ec80340,
method_token=167773674, virtual=1) at verify.c:3371
#14 0x00000000004abe9d in mono_method_verify (method=0xc2a788, level=135) at
#15 0x000000000040db9d in main (argc=0, argv=<value optimized out>) at

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