This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: v6 crash bugreport [Re: [patch v6 00/21] record-btrace: reverse]
- From: "Metzger, Markus T" <markus dot t dot metzger at intel dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 27 Sep 2013 06:37:03 +0000
- Subject: RE: v6 crash bugreport [Re: [patch v6 00/21] record-btrace: reverse]
- Authentication-results: sourceware.org; auth=none
- References: <1379676639-31802-1-git-send-email-markus dot t dot metzger at intel dot com> <20130926191611 dot GA13376 at host2 dot jankratochvil dot net>
> -----Original Message-----
> From: Jan Kratochvil [mailto:jan.kratochvil@redhat.com]
> Sent: Thursday, September 26, 2013 9:16 PM
> ./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
Thanks for reporting this!
I'll look into it and provide a fix in v7.
Regards,
Markus.
Intel GmbH
Dornacher Strasse 1
85622 Feldkirchen/Muenchen, Deutschland
Sitz der Gesellschaft: Feldkirchen bei Muenchen
Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
Registergericht: Muenchen HRB 47456
Ust.-IdNr./VAT Registration No.: DE129385895
Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052