lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 14 Nov 2011 00:03:02 +0300
From:	Brian Marete <marete@...hnix.com>
To:	Arnaldo Carvalho de Melo <acme@...stprotocols.net>
Cc:	David Ahern <dsahern@...il.com>, linux-kernel@...r.kernel.org,
	mingo@...e.hu, peterz@...radead.org, fweisbec@...il.com
Subject: Re: [PATCH] perf top: fix crash on annotate request

On Sun, Nov 13, 2011 at 4:43 PM, Arnaldo Carvalho de Melo
<acme@...stprotocols.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@...stprotocols.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@...icio 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@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ