[Mono-bugs] [Bug 572223] New: sigsegv in mono_class_get_virtual_methods while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 20 08:33:01 EST 2010



           Summary: sigsegv in mono_class_get_virtual_methods while
                    JITting a verified method
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: spouliot at novell.com
         QAContact: mono-bugs at lists.ximian.com
                CC: rkumpera at novell.com
          Found By: ---
           Blocker: ---

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

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

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4169d950 (LWP 12185)]
0x000000000057b470 in mono_class_get_virtual_methods (klass=0xa419b0,
iter=0x4169b9c8) at class.c:7418
7418                if (((*method)->flags & METHOD_ATTRIBUTE_VIRTUAL))
(gdb) p method
$1 = (MonoMethod **) 0xa4a028
(gdb) p *method
$2 = (MonoMethod *) 0x0
(gdb) bt
#0  0x000000000057b470 in mono_class_get_virtual_methods (klass=0xa419b0,
iter=0x4169b9c8) at class.c:7418
#1  0x00000000005728dd in mono_class_setup_vtable_general (class=0xa419b0,
overrides=0x0, onum=0) at class.c:3641
#2  0x00000000005717d9 in mono_class_setup_vtable (class=0xa419b0) at
#3  0x000000000062f0e9 in mono_class_create_runtime_vtable
(domain=0x7fcd63e55db0, class=0xa419b0, raise_on_error=0) at object.c:1795
#4  0x000000000062eca4 in mono_class_vtable_full (domain=0x7fcd63e55db0,
class=0xa419b0, raise_on_error=0) at object.c:1712
#5  0x000000000062ebc9 in mono_class_vtable (domain=0x7fcd63e55db0,
class=0xa419b0) at object.c:1683
#6  0x000000000046d2e9 in mono_method_to_ir (cfg=0xa32800, method=0xa51ea0,
start_bblock=0xa43120, end_bblock=0xa43228, return_var=0x0,
    inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:8270
#7  0x000000000041f8dc in mini_method_compile (method=0xa51ea0, opts=55667199,
domain=0x7fcd63e55db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3429
#8  0x00000000004a41f6 in compile_all_methods_thread_main (args=0x7fff6bfc5b30)
at driver.c:881
#9  0x00000000005b11ce in start_wrapper (data=0xa2b460) at threads.c:662
#10 0x000000000065a627 in thread_start_routine (args=0x9feb10) at
#11 0x0000000000673ac2 in GC_start_routine (arg=0x7fcd63e56e70) at
#12 0x00007fcd63095040 in start_thread (arg=<value optimized out>) at
#13 0x00007fcd62bb208d in clone () from /lib64/libc.so.6
#14 0x0000000000000000 in ?? ()
(gdb) p klass->name
$3 = 0x7fcd63e2d569 "Enumerable"
(gdb) p klass->name_space
$4 = 0x7fcd63e2d55d "System.Linq"

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