[Mono-bugs] [Bug 552282] New: [verifier] SIGSEGV in mono_field_get_name on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 3 15:58:46 EST 2009


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


           Summary: [verifier] SIGSEGV in mono_field_get_name on a bad
                    assembly
    Classification: Mono
           Product: Mono: Runtime
           Version: SVN
          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: ---


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

do a "pe --verify all" on the attached binary under gdb and you'll get

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fa627e0e710 (LWP 17775)]
mono_field_get_name (field=0x0) at class.c:7146
7146    {
(gdb) bt
#0  mono_field_get_name (field=0x0) at class.c:7146
#1  0x000000000041c51a in mono_class_get_field_from_name_full (klass=0x87a330,
name=0x7fa627d7c917 "_version", type=0x5143f0) at class.c:5370
#2  0x000000000042f1d5 in mono_field_from_token (image=0x857880, token=<value
optimized out>, retklass=0x7fff2fe2f7d8, context=0x878338) at loader.c:491
#3  0x000000000049462f in verifier_load_field (ctx=0x7fff2fe2f960,
token=167772278, out_klass=0x7fff2fe2f820, opcode=0x522358 "ldfld") at
verify.c:815
#4  0x00000000004946ce in check_is_valid_type_for_field_ops (ctx=0x0, token=0,
obj=0x879fd8, ret_field=0x7fff2fe2f860, opcode=0x7c98e8 "") at verify.c:3516
#5  0x0000000000494b81 in do_push_field (ctx=0x7fff2fe2f960, token=167772278,
take_addr=0) at verify.c:3569
#6  0x000000000049a35f in mono_method_verify (method=<value optimized out>,
level=<value optimized out>) at verify.c:5458
#7  0x000000000040d9ed in main (argc=0, argv=<value optimized out>) at
pedump.c:374
(gdb)

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