[Mono-bugs] [Bug 562156] New: abort in mono_method_get_vtable_slot while JITting a verified method

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


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

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


           Summary: abort in mono_method_get_vtable_slot 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=331965)
 --> (http://bugzilla.novell.com/attachment.cgi?id=331965)
assembly to reproduce abort

note: this is System.Net from 2.1 (Moonlight)

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

** ERROR:(class.c:3746):mono_method_get_vtable_slot: assertion failed:
(method->slot != -1)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x41ed1950 (LWP 333)]
0x00007fb1be0725c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007fb1be0725c5 in raise () from /lib64/libc.so.6
#1  0x00007fb1be073bb3 in abort () from /lib64/libc.so.6
#2  0x00007fb1beea02c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007fb1beea0762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x0000000000572135 in mono_method_get_vtable_slot (method=0xa7b578) at
class.c:3746
#5  0x00000000005721a9 in mono_method_get_vtable_index (method=0xa7b578) at
class.c:3769
#6  0x0000000000431c0e in mono_emit_method_call_full (cfg=0xa2ba00,
method=0xa7b578, sig=0xa2d030, args=0xa79510, this=0xa79558, imt_arg=0x0)
    at method-to-ir.c:2363
#7  0x000000000045e2b2 in mono_method_to_ir (cfg=0xa2ba00, method=0xa4c4e8,
start_bblock=0xa790d0, end_bblock=0xa791d8, return_var=0x0,
dont_inline=0xa8dec0, 
    inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:6748
#8  0x000000000041f7a9 in mini_method_compile (method=0xa4c4e8, opts=55667199,
domain=0x7fb1bf3b6db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3402
#9  0x00000000004a381a in compile_all_methods_thread_main (args=0x7fffc75260c0)
at driver.c:881
#10 0x00000000005aeee2 in start_wrapper (data=0xa264e0) at threads.c:662
#11 0x0000000000656c43 in thread_start_routine (args=0x9f9c00) at
wthreads.c:286
#12 0x000000000066fe5e in GC_start_routine (arg=0x7fb1bf3b7e70) at
pthread_support.c:1390
#13 0x00007fb1be5f6040 in start_thread () from /lib64/libpthread.so.0
#14 0x00007fb1be11308d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

a bit similar to #553492 which reduced the probability of the assert

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