[Mono-bugs] [Bug 560346] New: [verifier] SIGSEGV in mono_class_inflate_generic_method_full on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 3 09:34:08 EST 2009


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

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


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

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.sigsegv.113842.dll 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f55ad42b710 (LWP 16842)]
0x00000000004156d8 in mono_class_inflate_generic_method_full (method=0x8c7d78,
klass_hint=0x8cd550, context=0x8cd528) at class.c:916
916        if (sig->pinvoke) {
(gdb) p sig
$1 = (MonoMethodSignature *) 0x0
(gdb) bt
#0  0x00000000004156d8 in mono_class_inflate_generic_method_full
(method=0x8c7d78, klass_hint=0x8cd550, context=0x8cd528) at class.c:916
#1  0x000000000041783a in mono_class_setup_methods (class=0x8cd550) at
class.c:1718
#2  0x000000000041ab69 in mono_class_setup_vtable (class=0x8cd550) at
class.c:2838
#3  0x000000000041e2cc in mono_class_init (class=0x8cd550) at class.c:4204
#4  0x0000000000419145 in collect_implemented_interfaces_aux (klass=0x8cb170,
res=0x7fffb544bd58) at class.c:2245
#5  0x0000000000419189 in mono_class_get_implemented_interfaces
(klass=0x8cb170) at class.c:2256
#6  0x000000000041b550 in mono_class_setup_vtable_general (class=0x8cb170,
overrides=0x8ccf00, onum=1) at class.c:3279
#7  0x000000000041ad72 in mono_class_setup_vtable (class=0x8cb170) at
class.c:2888
#8  0x000000000041e2cc in mono_class_init (class=0x8cb170) at class.c:4204
#9  0x000000000040ecc8 in main (argc=<value optimized out>, argv=<value
optimized out>) at pedump.c:475

another case where mono_method_siganture returns NULL

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