v6 crash bugreport [Re: [patch v6 00/21] record-btrace: reverse]

Jan Kratochvil
2013-09-26T19:16:48Z

Hi Markus,

./gdb ./gdb -ex start -ex 'record btrace' -ex stepi -ex 'record instruction-history 0'
Segmentation fault

Program received signal SIGSEGV, Segmentation fault.
0x000000000089dd86 in btrace_find_insn_by_number (it=0x7fffffffd4c0, btinfo=0x291fc98, number=0) at btrace.c:1243
1243 end = bfun->insn_offset + VEC_length (btrace_insn_s, bfun->insn);
(gdb) p bfun
$1 = (const struct btrace_function *) 0x0

(I am aware I was asking to reduce the number of NULL checks there.)

Thanks,
Jan