lkml.org 
[lkml]   [2011]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] perf top: fix crash on annotate request
    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


    > 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)

    - Arnaldo


    \
     
     \ /
      Last update: 2011-11-13 14:45    [W:2.181 / U:0.232 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site