Messages in this thread | | | From | Brian Marete <> | Date | Mon, 14 Nov 2011 00:03:02 +0300 | Subject | Re: [PATCH] perf top: fix crash on annotate request |
| |
On Sun, Nov 13, 2011 at 4:43 PM, Arnaldo Carvalho de Melo <acme@ghostprotocols.net> wrote: > Em Fri, Nov 11, 2011 at 01:01:47AM +0300, Brian Marete escreveu: >> On Thu, Oct 20, 2011 at 4:00 PM, Arnaldo Carvalho de Melo >> <acme@ghostprotocols.net> wrote: >> > I.e. the map_ip for this method is messing up things, what symbol is >> > this? I.e. please provide: > >> > p *sym >> > p *map > >> I have am experiencing the same segfault using perf from the latest >> linus' tree. The gdb backtrace is below. Which patch fixes it? Or is >> it already fixed in some git tree on kernel.org? > > Can you perform this command? > > [acme@felicio linux]$ git log | head -1 > commit 3439a8da16bcad6b0982ece938c9f8299bb53584
I can answer this straight away: Yes. This is the same HEAD I have.
> >> Program received signal SIGSEGV, Segmentation fault. >> 0x000000000042e27e in symbol__inc_addr_samples (sym=0x1279e70, map=0x9677a0, >> evidx=0, addr=256544) at util/annotate.c:73 >> 73 h->addr[offset]++; > >> # Output of p *sym >> $1 = {rb_node = {rb_parent_color = 19423281, rb_right = 0x0, rb_left = 0x0}, >> start = 1124896, end = 1126163, namelen = 16, binding = 0 '\000', >> ignore = false, name = 0x1279e70 "1`(\001"} > > It is going well before the start of this symbol: > > addr(256544) < sym->start(1124896) >
I will reproduce (which I am always able to do) run another bt and report back.
-- Brian Gitonga Marete Toshnix Systems Tel: +254722151590 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |