[Mono-bugs] [Bug 562771] abort in mono_method_to_ir (mono_method_check_context_used) while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 23 08:01:09 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=562771#c2


--- Comment #2 from Sebastien Pouliot <spouliot at novell.com> 2010-04-23 12:01:07 UTC ---
Created an attachment (id=356461)
 --> (http://bugzilla.novell.com/attachment.cgi?id=356461)
a more recent test case

This test case works on trunk.

gdb --args mono --security=core-clr --compile-all
bin/System.ServiceModel.sigabrt.21607.dll

ERROR:method-to-ir.c:6112:mono_method_to_ir: assertion failed:
(!mono_method_check_context_used (cmethod))

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff5d0b910 (LWP 23267)]
0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff6d6d4e5 in raise () from /lib64/libc.so.6
#1  0x00007ffff6d6e9b0 in abort () from /lib64/libc.so.6
#2  0x00007ffff797577f in g_assertion_message () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ffff7975cf0 in g_assertion_message_expr () from
/usr/lib64/libglib-2.0.so.0
#4  0x0000000000456853 in mono_method_to_ir (cfg=0xc50900, method=<value
optimized out>, start_bblock=<value optimized out>, 
    end_bblock=<value optimized out>, return_var=<value optimized out>,
dont_inline=<value optimized out>, inline_args=0x0, inline_offset=0, 
    is_virtual_call=0) at method-to-ir.c:6112
#5  0x000000000041e87f in mini_method_compile (method=<value optimized out>,
opts=<value optimized out>, domain=<value optimized out>, 
    run_cctors=<value optimized out>, compile_aot=<value optimized out>,
parts=<value optimized out>) at mini.c:4018
#6  0x00000000004687a3 in compile_all_methods_thread_main (args=0x7fffffffdd00)
at driver.c:879
#7  0x0000000000576f3c in start_wrapper (data=<value optimized out>) at
threads.c:747
#8  0x00000000005984d3 in thread_start_routine (args=0x99b648) at
wthreads.c:286
#9  0x00000000005c2c7d in GC_start_routine (arg=0x7ffff7e19fc0) at
pthread_support.c:1390
#10 0x00007ffff72f165d in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#11 0x00007ffff6e0be1d in clone () from /lib64/libc.so.6
#12 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