[Mono-bugs] [Bug 462438] SIGSEGV while running tests/pinvoke2.exe on PowerPC
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Dec 30 13:30:16 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=462438
User munroesj at us.ibm.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=462438#c7
--- Comment #7 from Steven Munroe <munroesj at us.ibm.com> 2008-12-30 11:30:13 MST ---
(gdb) up
#1 0x1011303c in mono_marshal_load_type_info (klass=0x10381e48)
at
/home/sjmunroe/src/mono-ppc/mono-2.2-patched/mono/metadata/marshal.c:11349
11349 mono_class_init (klass);
(gdb) up
#2 0x10113504 in mono_class_native_size (klass=0x10381e48, align=0xffa57238)
at
/home/sjmunroe/src/mono-ppc/mono-2.2-patched/mono/metadata/marshal.c:11488
11488 mono_marshal_load_type_info (klass);
(gdb) up
#3 0x1001bad8 in mono_allocate_stack_slots_full (cfg=0x10390900, backward=0,
stack_size=0xffa572bc, stack_align=0xffa572c0)
at /home/sjmunroe/src/mono-ppc/mono-2.2-patched/mono/mini/mini.c:10365
warning: Source file is more recent than executable.
10365 else {
(gdb) print *cfg
$3 = {method = 0x1039c220, mempool = 0x10399be0, varinfo = 0x1037db00,
vars = 0x1038fbb8, ret = 0x10399d10, bb_entry = 0x1039a018,
bb_exit = 0x1039a0b0, bb_init = 0x1039a1e0, bblocks = 0x1039ac58,
cil_offset_to_bb = 0x10399f78, state_pool = 0x0, cbb = 0x1039acd8,
prev_ins = 0x0, patch_info = 0x0, jit_info = 0x0, dynamic_info = 0x0,
num_bblocks = 5, locals_start = 2, num_varinfo = 5, varinfo_count = 64,
stack_offset = 0, max_ireg = 0, cil_offset_to_bb_len = 37, rs = 0x103931b0,
spill_info = {0x0 <repeats 16 times>}, spill_count = 0, spill_info_len = {
0 <repeats 16 times>}, inlined_method = 0x0, domainvar = 0x0,
got_var = 0x0, locals = 0x10399e78, rgctx_var = 0x0, args = 0x10399e40,
arg_types = 0x1039a010, current_method = 0x1039c220, generic_context = 0x0,
vret_addr = 0x10399f48, ip = 0x0, aliasing_info = 0x0, spvars = 0x0,
exvars = 0x0, ldstr_list = 0x0, domain = 0xf7e6bee0, real_offset = 36,
cbb_hash = 0x0, next_vreg = 63, generic_sharing_context = 0x0,
cil_start = 0x1039c298 "\026\f\002�\002\002", native_code = 0x0,
code_size = 0, code_len = 0, prolog_end = 0, epilog_begin = 0,
used_int_regs = 0, opt = 55650815, prof_options = 0, flags = 66,
comp_done = 275, verbose_level = 0, stack_usage = 0, param_area = 32,
frame_reg = 1, sig_cookie = 0, disable_aot = 1, disable_ssa = 0,
enable_extended_bblocks = 0, run_cctors = 1, need_lmf_area = 0,
compile_aot = 0, got_var_allocated = 0, ret_var_is_local = 0,
ret_var_set = 0, new_ir = 1, 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, has_got_slots = 0,
uses_rgctx_reg = 0, uses_vtable_reg = 0, uses_simd_intrinsics = 0,
keep_cil_nops = 0, debug_info = 0x0, lmf_offset = 0, intvars = 0x10399c00,
coverage_info = 0x0, token_info_hash = 0x102fe5a0,
arch = {<No data fields>}, exception_type = 0, exception_data = 0,
exception_message = 0x0, exception_ptr = 0x0, reginfo = 0x0,
reginfo_len = 0, vreg_to_inst = 0x10399d40, vreg_to_inst_len = 64,
orig_method = 0x1039c220, abs_patches = 0x0, tailcall_valuetype_addrs = 0x0,
iconv_raw_var = 0x0, fconv_to_r8_x_var = 0x0, got_offset = 0}
(gdb) print cfg->method->name
$5 = 0x1039c240 "mono_test_marshal_amd64_pass_return_struct1_gen"
(gdb) print cfg->method->klass->name
$6 = 0xf7e604b9 "Tests"
(gdb)
(gdb) print *inst
$4 = {opcode = 327, type = 7 '\a', ssa_op = 0, flags = 16 '\020', dreg = 51,
sreg1 = -1, sreg2 = -1, next = 0x0, prev = 0x0, data = {op = {{src = 0x4,
var = 0x4, const_val = 4, p = 0x4, method = 0x4, signature = 0x4,
many_blocks = 0x4, target_block = 0x4, args = 0x4, vtype = 0x4,
klass = 0x4, phi_args = 0x4, call_inst = 0x4}, {src = 0x1037ddb8,
var = 0x1037ddb8, const_val = 272096696, p = 0x1037ddb8,
method = 0x1037ddb8, signature = 0x1037ddb8, many_blocks = 0x1037ddb8,
target_block = 0x1037ddb8, args = 0x1037ddb8, vtype = 0x1037ddb8,
klass = 0x1037ddb8, phi_args = 0x1037ddb8, call_inst = 0x1037ddb8}},
i8const = 17451965880, r8const = 8.6224167937015986e-314}, cil_code = 0x0,
backend = {reg3 = 1, arg_info = 1, size = 1, memcpy_args = 0x1, data = 0x1,
shift_amount = 1, is_pinvoke = 1, record_cast_details = 1,
spill_var = 0x1, source_opcode = 0}, klass = 0x1037dd18}
(gdb) print inst->data.op[1].vtype->data.generic_class->container_class->name
$7 = 0xf7e605ab "Amd64Struct1Gen`1"
(gdb) print
inst->data.op[1].vtype->data.generic_class->container_class->name_space
$8 = 0xf7e60344 ""
--
Configure bugmail: https://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