[Mono-bugs] [Bug 559906] New: [verifier] SIGSEGV in mono_metadata_signature_equal/find_method_in_class on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 2 10:01:37 EST 2009


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

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


           Summary: [verifier] SIGSEGV in
                    mono_metadata_signature_equal/find_method_in_class on
                    a 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=330508)
 --> (http://bugzilla.novell.com/attachment.cgi?id=330508)
assembly to reproduce crash

Another case where mono_metadata_signature_equal is called with the direct
result of mono_method_signature (which can be NULL)

if (method && (sig->call_convention != MONO_CALL_VARARG) &&
mono_metadata_signature_equal (sig, mono_method_signature (method)))


[Switching to Thread 0x7fbfa7db3710 (LWP 15118)]
mono_metadata_signature_equal (sig1=0x8797c0, sig2=0x0) at metadata.c:4238
4238        if (sig1->hasthis != sig2->hasthis || sig1->param_count !=
sig2->param_count)
(gdb) bt
#0  mono_metadata_signature_equal (sig1=0x8797c0, sig2=0x0) at metadata.c:4238
#1  0x000000000042e5eb in find_method_in_class (klass=0x869b58,
name=0x7fbfa7d21730 "VerifyBlankNode", qname=0x0, fqname=0x0, sig=0x8797c0, 
    from_class=<value optimized out>) at loader.c:599
#2  0x000000000042e722 in find_method (in_class=0x869b58, ic=0x0,
name=0x7fbfa7d21730 "VerifyBlankNode", sig=0x8797c0, from_class=0x869b58) at
loader.c:654
#3  0x000000000042daea in method_from_memberref (image=0x862650, idx=<value
optimized out>, typespec_context=0x0, used_context=<value optimized out>)
    at loader.c:956
#4  0x000000000042dc65 in mono_get_method_from_token (image=0x8797c0,
token=167772222, klass=0x0, context=0x869c68, used_context=0x0) at
loader.c:1475
#5  0x000000000042e23a in mono_get_method_full (image=0x862650,
token=167772222, klass=0x0, context=0x869c68) at loader.c:1587
#6  0x0000000000492cec in verifier_load_method (ctx=0x7fffafdd4900,
token=167772222, opcode=0x593e7c "call") at verify.c:862
#7  0x000000000049ae05 in mono_method_verify (method=<value optimized out>,
level=<value optimized out>) at verify.c:3373
#8  0x000000000040daed 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