[Mono-bugs] [Bug 560336] New: [verifier] abort in mono_class_inflate_generic_type_no_copy on bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 3 09:03:47 EST 2009


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

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


           Summary: [verifier] abort in
                    mono_class_inflate_generic_type_no_copy 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=330766)
 --> (http://bugzilla.novell.com/attachment.cgi?id=330766)
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.105642.dll

** ERROR:(class.c:750):mono_class_inflate_generic_type_no_copy: assertion
failed: (mono_error_ok (&error))
[New Thread 0x7fb971fd8710 (LWP 15803)]

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fb971fd8710 (LWP 15803)]
0x00007fb970b455c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fb970b455c5 in raise () from /lib64/libc.so.6
#1  0x00007fb970b46bb3 in abort () from /lib64/libc.so.6
#2  0x00007fb9719732c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fb971973762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x000000000041516c in mono_class_inflate_generic_type_no_copy
(image=0x91b820, type=0xb9a8a0, context=0xb98bf8) at class.c:750
#5  0x00000000004162ab in mono_class_setup_fields (class=0xb98c20) at
class.c:1258
#6  0x000000000041db8b in mono_class_init (class=0xb98c20) at class.c:4040
#7  0x00000000004979eb in mono_type_is_valid_in_context (ctx=0x7fff79ff96c0,
type=0xb9a488) at verify.c:778
#8  0x00000000004983fe in verifier_load_type (ctx=0x7fff79ff96c0,
token=452985204, opcode=0x5383cd "castclass") at verify.c:891
#9  0x00000000004a48e0 in do_cast (ctx=0x7fff79ff96c0, token=452985204,
opcode=0x5383cd "castclass") at verify.c:4036
#10 0x00000000004acb07 in mono_method_verify (method=0xa5fe70, level=135) at
verify.c:5551
#11 0x000000000040db9d in main (argc=0, argv=<value optimized out>) at
pedump.c:374

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