[Mono-bugs] [Bug 571461] New: abort in mono_postprocess_patches while JITting a verified method

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Jan 17 11:02:28 EST 2010


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

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


           Summary: abort in mono_postprocess_patches while JITting a
                    verified method
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86-64
        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=337020)
 --> (http://bugzilla.novell.com/attachment.cgi?id=337020)
assembly to reproduce abort

Tested on x86_64

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

** ERROR:(mini.c:2958):mono_postprocess_patches: assertion failed:
(patch_info->data.table->table [i]->native_offset)

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x418c3950 (LWP 12757)]
0x00007f0ebf8915c5 in *__GI_raise (sig=<value optimized out>) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
64    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007f0ebf8915c5 in *__GI_raise (sig=<value optimized out>) at
./nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f0ebf892bb3 in *__GI_abort () at abort.c:88
#2  0x00007f0ec06bf2c7 in IA__g_assertion_message (domain=0x7f0ec06fbf3e "",
file=0x6953e7 "mini.c", line=<value optimized out>, 
    func=0x696060 "mono_postprocess_patches", message=<value optimized out>) at
gtestutils.c:1218
#3  0x00007f0ec06bf762 in IA__g_assertion_message_expr (domain=0x0,
file=0x6953e7 "mini.c", line=2958, func=0x696060 "mono_postprocess_patches", 
    expr=<value optimized out>) at gtestutils.c:1229
#4  0x000000000041e3f7 in mono_postprocess_patches (cfg=0xa38f90) at
mini.c:2958
#5  0x000000000041ea7a in mono_codegen (cfg=0xa38f90) at mini.c:3082
#6  0x0000000000420745 in mini_method_compile (method=0xa70370, opts=55667199,
domain=0x7f0ec0bd5db0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3837
#7  0x00000000004a41e2 in compile_all_methods_thread_main (args=0x7fffc8d438b0)
at driver.c:881
#8  0x00000000005b0fda in start_wrapper (data=0xa2bff0) at threads.c:662
#9  0x000000000065a427 in thread_start_routine (args=0x9feb50) at
wthreads.c:286
#10 0x00000000006738c2 in GC_start_routine (arg=0x7f0ec0bd6e70) at
pthread_support.c:1390
#11 0x00007f0ebfe15040 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#12 0x00007f0ebf93208d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()
(gdb) up 4
#4  0x000000000041e3f7 in mono_postprocess_patches (cfg=0xa38f90) at
mini.c:2958
2958                        g_assert (patch_info->data.table->table
[i]->native_offset);
(gdb) p patch_info->data.table->table [i]->native_offset
$1 = 0
(gdb) p *patch_info->data.table->table [i]
$2 = {last_ins = 0x0, next_bb = 0x0, code = 0x0, block_num = 6, dfn = 7,
out_count = 0, in_count = 1, in_bb = 0xa3fed0, out_bb = 0x0, 
  cil_code = 0x7f0ec0bb36c5 "��", cil_length = 0, native_offset = 0, max_offset
= 0, max_length = 0, flags = 1, dominators = 0xa787a8, dfrontier = 0x0, 
  idom = 0xa3fd90, dominated = 0x0, df_parent = 0xa3fd90, ancestor = 0x0, child
= 0x0, label = 0x0, bucket = 0x0, size = 0, sdom = 0, idomn = 0, 
  loop_blocks = 0x0, nesting = 0 '\0', loop_body_start = 0 '\0', out_of_line =
0, not_useless = 0, has_array_access = 0, extended = 0, has_jump_table = 0, 
  has_call_handler = 0, gen_set = 0xa78ae8, kill_set = 0xa78b00, live_in_set =
0xa78bf0, live_out_set = 0xa78bc0, out_scount = 0, in_scount = 0, out_stack =
0x0, 
  in_stack = 0x0, real_offset = 0, region = 0, max_vreg = 0}
(gdb)

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