[Mono-bugs] [Bug 562183] New: [verifier] SIGSEGV in mono_class_init (vtable) on a bad assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Dec 10 09:51:04 EST 2009



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

MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args mono --security=core-clr
--compile-all System.Windows.sigsegv.845.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x41d5f950 (LWP 21435)]
0x0000000000573194 in mono_class_init (class=0xb4eb50) at class.c:4146
4146                            cmethod = class->vtable [finalize_slot];
(gdb) p class
$1 = (MonoClass *) 0xb4eb50
(gdb) p class->vtable
$2 = (MonoMethod **) 0x0
(gdb) bt
#0  0x0000000000573194 in mono_class_init (class=0xb4eb50) at class.c:4146
#1  0x000000000057e006 in mono_type_is_valid_in_context (ctx=0x41d5d8b0,
type=0xb4ec10) at verify.c:778
#2  0x0000000000590111 in mono_method_verify (method=0xb4eb20, level=48) at
#3  0x0000000000595859 in mono_method_verify_with_current_settings
(method=0xb4eb20, skip_visibility=0) at verify.c:6078
#4  0x000000000041a9b2 in mini_method_verify (cfg=0xb47200, method=0xb4eb20) at
#5  0x00000000004510eb in mono_method_to_ir (cfg=0xb47200, method=0xb4eb20,
start_bblock=0x0, end_bblock=0x0, return_var=0x0, dont_inline=0x0,
    inline_offset=0, is_virtual_call=0) at method-to-ir.c:5403
#6  0x000000000041f7bd in mini_method_compile (method=0xb4eb20, opts=55667199,
domain=0x7f433f22fdb0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3402
#7  0x00000000004a382e in compile_all_methods_thread_main (args=0x7fff4739ef10)
at driver.c:881
#8  0x00000000005aeef6 in start_wrapper (data=0xa26550) at threads.c:662
#9  0x0000000000656c53 in thread_start_routine (args=0x9f9c30) at
#10 0x000000000066fe6e in GC_start_routine (arg=0x7f433f230e70) at
#11 0x00007f433e46f040 in start_thread () from /lib64/libpthread.so.0
#12 0x00007f433df8c08d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

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