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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Dec 29 11:05:39 EST 2009



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

MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args mono --security=core-clr
--compile-all System.sigabrt.69052.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x41f83950 (LWP 19104)]
0x0000000000573ddd in mono_class_init (class=0xa4faa0) at class.c:4258
4258                            if (cmethod->is_inflated)
(gdb) p cmethod
$1 = (MonoMethod *) 0x0
(gdb) p class->name
$2 = 0x7fd1a6fc6e96 "AsyncOperation"
(gdb) p class->name_space
$3 = 0x7fd1a6fc6e65 "System.ComponentModel"
(gdb) bt
#0  0x0000000000573ddd in mono_class_init (class=0xa4faa0) at class.c:4258
#1  0x000000000057ecc6 in mono_type_is_valid_in_context (ctx=0x41f81870,
type=0xa4fb60) at verify.c:780
#2  0x0000000000590ea4 in mono_method_verify (method=0xa4fa70, level=48) at
#3  0x0000000000596710 in mono_method_verify_with_current_settings
(method=0xa4fa70, skip_visibility=0) at verify.c:6084
#4  0x000000000041a972 in mini_method_verify (cfg=0xa49800, method=0xa4fa70) at
#5  0x000000000045111b in mono_method_to_ir (cfg=0xa49800, method=0xa4fa70,
start_bblock=0x0, end_bblock=0x0, return_var=0x0, dont_inline=0x0,
    inline_offset=0, is_virtual_call=0) at method-to-ir.c:5406
#6  0x000000000041f77d in mini_method_compile (method=0xa4fa70, opts=55667199,
domain=0x7fd1a6fe9db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3402
#7  0x00000000004a3dbe in compile_all_methods_thread_main (args=0x7fffaf158cd0)
at driver.c:881
#8  0x00000000005aff12 in start_wrapper (data=0xa36020) at threads.c:662
#9  0x000000000065917b in thread_start_routine (args=0xa05040) at
#10 0x0000000000672396 in GC_start_routine (arg=0x7fd1a6feae70) at
#11 0x00007fd1a6229040 in start_thread () from /lib64/libpthread.so.0
#12 0x00007fd1a5d4608d 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