This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]