[Mono-bugs] [Bug 570647] New: abort in mono_method_to_ir (costs > 0) while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jan 14 08:20:20 EST 2010


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

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


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

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

** ERROR:(method-to-ir.c:7761):mono_method_to_ir: assertion failed: (costs > 0)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x423e6950 (LWP 17095)]
0x00007f3e000055c5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007f3e000055c5 in raise () from /lib64/libc.so.6
#1  0x00007f3e00006bb3 in abort () from /lib64/libc.so.6
#2  0x00007f3e00e332c7 in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f3e00e33762 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x0000000000469a18 in mono_method_to_ir (cfg=0xa34200, method=0xac8310,
start_bblock=0xa92820, end_bblock=0xa92928, return_var=0x0,
dont_inline=0xaca0c0, 
    inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:7761
#5  0x000000000041f885 in mini_method_compile (method=0xac8310, opts=55667199,
domain=0x7f3e01349db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3426
#6  0x00000000004a3eea in compile_all_methods_thread_main (args=0x7fff094b9030)
at driver.c:881
#7  0x00000000005b0a0a in start_wrapper (data=0xa2a2a0) at threads.c:662
#8  0x0000000000659e57 in thread_start_routine (args=0x9fdb70) at
wthreads.c:286
#9  0x0000000000673072 in GC_start_routine (arg=0x7f3e0134ae70) at
pthread_support.c:1390
#10 0x00007f3e00589040 in start_thread () from /lib64/libpthread.so.0
#11 0x00007f3e000a608d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()
(gdb) up 4
#4  0x0000000000469a18 in mono_method_to_ir (cfg=0xa34200, method=0xac8310,
start_bblock=0xa92820, end_bblock=0xa92928, return_var=0x0,
dont_inline=0xaca0c0, 
    inline_args=0x0, inline_offset=0, is_virtual_call=0) at method-to-ir.c:7761
7761                    g_assert (costs > 0);
(gdb) p costs
$1 = 0
(gdb) up
#5  0x000000000041f885 in mini_method_compile (method=0xac8310, opts=55667199,
domain=0x7f3e01349db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3426
3426        i = mono_method_to_ir (cfg, method_to_compile, NULL, NULL, NULL,
NULL, NULL, 0, FALSE);
(gdb) p method->name
$2 = 0x7f3e01324344 "get_ParserContext"
(gdb) p method->klass->name
$3 = 0x7f3e013235fb "XmlTextReader"
(gdb) p method->klass->name_space
$4 = 0x7f3e01322a75 "System.Xml"

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