http://bugzilla.novell.com/show_bug.cgi?id=564256
http://bugzilla.novell.com/show_bug.cgi?id=564256#c0 Summary: abort in mono_arch_emit_prolog 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: [email protected] ReportedBy: [email protected] QAContact: [email protected] CC: [email protected] Found By: --- Blocker: --- Created an attachment (id=332317) --> (http://bugzilla.novell.com/attachment.cgi?id=332317) assembly to reproduce abort MONO_PATH=/opt/mono/lib/moonlight/plugin/ gdb --args mono --security=core-clr --compile-all System.Windows.sigabrt.127903.dll ** ERROR:(mini-amd64.c:6161):mono_arch_emit_prolog: assertion failed: (cfg->code_len < cfg->code_size) Program received signal SIGABRT, Aborted. 0x00007fd8351985c5 in raise () from /lib64/libc.so.6 (gdb) bt #0 0x00007fd8351985c5 in raise () from /lib64/libc.so.6 #1 0x00007fd835199bb3 in abort () from /lib64/libc.so.6 #2 0x00000000004c9ad3 in mono_handle_native_sigsegv (signal=6, ctx=0x40778140) at mini-exceptions.c:1847 #3 0x00000000005561f4 in sigabrt_signal_handler (_dummy=6, info=0x40778270, context=0x40778140) at mini-posix.c:154 #4 <signal handler called> #5 0x00007fd8351985c5 in raise () from /lib64/libc.so.6 #6 0x00007fd835199bb3 in abort () from /lib64/libc.so.6 #7 0x00007fd835fc62c7 in g_assertion_message () from /usr/lib64/libglib-2.0.so.0 #8 0x00007fd835fc6762 in g_assertion_message_expr () from /usr/lib64/libglib-2.0.so.0 #9 0x00000000005405f9 in mono_arch_emit_prolog (cfg=0xa74f20) at mini-amd64.c:6161 #10 0x000000000041e5f0 in mono_codegen (cfg=0xa74f20) at mini.c:2995 #11 0x0000000000420619 in mini_method_compile (method=0xacb818, opts=55667199, domain=0x7fd8364dcdb0, run_cctors=0, compile_aot=0, parts=0) at mini.c:3810 #12 0x00000000004a382e in compile_all_methods_thread_main (args=0x7fff3e64a1c0) at driver.c:881 #13 0x00000000005aef56 in start_wrapper (data=0xa265a0) at threads.c:662 #14 0x0000000000656cb3 in thread_start_routine (args=0x9f9c50) at wthreads.c:286 #15 0x000000000066fece in GC_start_routine (arg=0x7fd8364dde70) at pthread_support.c:1390 #16 0x00007fd83571c040 in start_thread () from /lib64/libpthread.so.0 #17 0x00007fd83523908d in clone () from /lib64/libc.so.6 #18 0x0000000000000000 in ?? () (gdb) up 9 #9 0x00000000005405f9 in mono_arch_emit_prolog (cfg=0xa74f20) at mini-amd64.c:6161 6161 g_assert (cfg->code_len < cfg->code_size); (gdb) p cfg->code_len $1 = 11293 (gdb) p cfg->code_size $2 = 10240 (gdb) p *cfg $3 = {method = 0xacb818, mempool = 0xad1600, varinfo = 0xad5a00, vars = 0xae6880, ret = 0x0, bb_entry = 0xad2b50, bb_exit = 0xad2c58, bb_init = 0xaedb30, bblocks = 0xaf45b0, cil_offset_to_bb = 0xad1ae0, state_pool = 0x0, cbb = 0xabcae0, prev_ins = 0x0, patch_info = 0x0, jit_info = 0x0, dynamic_info = 0x0, num_bblocks = 39, locals_start = 3, num_varinfo = 19, varinfo_count = 128, stack_offset = 4194504, max_ireg = 0, cil_offset_to_bb_len = 523, locals_min_stack_offset = -4194440, locals_max_stack_offset = -40, rs = 0xa70450, spill_info = {0xb052f0, 0x0 <repeats 15 times>}, spill_count = 8, spill_info_len = {16, 0 <repeats 15 times>}, inlined_method = 0x0, domainvar = 0x0, got_var = 0x0, locals = 0xad1898, rgctx_var = 0x0, args = 0xad1690, arg_types = 0xad2b38, current_method = 0xacb818, method_to_register = 0xacb818, generic_context = 0x0, vret_addr = 0x0, ip = 0x0, aliasing_info = 0x0, spvars = 0x9ddb80, exvars = 0xa5fac0, ldstr_list = 0x0, domain = 0x7fd8364dcdb0, real_offset = 522, cbb_hash = 0x0, next_vreg = 483, generic_sharing_context = 0x0, cil_start = 0x7fd8350a4f04 "\003:\v", native_code = 0xb06ec0 "UH\213�SATAUAVAWH\201�", code_size = 10240, code_len = 11293, prolog_end = 0, epilog_begin = 0, used_int_regs = 61448, opt = 55667199, prof_options = 0, flags = 390, comp_done = 275, verbose_level = 0, stack_usage = 0, param_area = 0, frame_reg = 5, sig_cookie = 0, disable_aot = 0, disable_ssa = 0, disable_llvm = 0, enable_extended_bblocks = 0, run_cctors = 0, need_lmf_area = 0, compile_aot = 0, compile_llvm = 0, got_var_allocated = 0, ret_var_is_local = 0, ret_var_set = 0, globalra = 0, unverifiable = 0, skip_visibility = 0, disable_reuse_registers = 0, disable_reuse_stack_slots = 0, disable_initlocals_opt = 0, disable_omit_fp = 0, disable_vreg_to_lvreg = 0, disable_deadce_vars = 0, extend_live_ranges = 0, has_got_slots = 0, uses_rgctx_reg = 0, uses_vtable_reg = 0, uses_simd_intrinsics = 0, keep_cil_nops = 0, gen_seq_points = 0, debug_info = 0x0, lmf_offset = 0, intvars = 0xad1630, coverage_info = 0x0, token_info_hash = 0xa28b80, arch = {lmf_offset = 0, localloc_offset = 0, reg_save_area_offset = 0, stack_alloc_size = 4194472, omit_fp = 0, omit_fp_computed = 1, no_pushes = 1, cinfo = 0xad1a50, async_point_count = 0, vret_addr_loc = 0x0}, inline_depth = 0, exception_type = 0, exception_data = 0, exception_message = 0x0, exception_ptr = 0x0, encoded_unwind_ops = 0x0, encoded_unwind_ops_len = 0, unwind_ops = 0xb05b60, reginfo = 0xb00ea0, reginfo_len = 1024, vreg_to_inst = 0xae0920, vreg_to_inst_len = 512, orig_method = 0xacb818, abs_patches = 0x0, tailcall_valuetype_addrs = 0x0, iconv_raw_var = 0x0, fconv_to_r8_x_var = 0x0, simd_ctor_var = 0x0, dyn_call_var = 0x0, seq_points = 0x0, got_offset = 0} -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
