[Mono-bugs] [Bug 558184] New: [verifier] abort in mono_type_retrieve_from_typespec on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 24 16:56:25 EST 2009


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

http://bugzilla.novell.com/show_bug.cgi?id=558184#c0


           Summary: [verifier] abort in mono_type_retrieve_from_typespec
                    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: misc
        AssignedTo: rkumpera at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


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

pedump --verify all System.64256.dll

** ERROR:(class.c:5096):mono_type_retrieve_from_typespec: assertion failed:
(mono_error_ok (&error))
[New Thread 0x7f1f995c9710 (LWP 20330)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f1f995c9710 (LWP 20330)]
0x00007f1f981365c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f1f981365c5 in raise () from /lib64/libc.so.6
#1  0x00007f1f98137bb3 in abort () from /lib64/libc.so.6
#2  0x00007f1f98f642c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f1f98f64762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x000000000041c9e2 in mono_type_retrieve_from_typespec (image=<value
optimized out>, type_spec=<value optimized out>, context=<value optimized out>,
did_inflate=0x7fffa15e9f04) at class.c:5096
#5  0x000000000041e76a in mono_type_get_full (image=0x85da80, type_token=20330,
context=0x6) at class.c:5805
#6  0x0000000000492bd2 in verifier_load_type (ctx=0x7fffa15ea120,
token=452984837, opcode=0x512aae "isinst") at verify.c:870
#7  0x0000000000498ead in mono_method_verify (method=<value optimized out>,
level=<value optimized out>) at verify.c:4002
#8  0x000000000040daed in main (argc=8430352, argv=<value optimized out>) at
pedump.c:374


The FIXME says it all:
g_assert (mono_error_ok (&error)); /*FIXME proper error handling*/

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