From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753229AbbC3IHu (ORCPT ); Mon, 30 Mar 2015 04:07:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36876 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752905AbbC3IHp (ORCPT ); Mon, 30 Mar 2015 04:07:45 -0400 Date: Mon, 30 Mar 2015 10:07:37 +0200 From: Jiri Olsa To: David Ahern Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Stephane Eranian , LKML Subject: Re: [BUG] segfault in perf-top -- thread refcnt Message-ID: <20150330080737.GD1413@krava> References: <551593EA.2030201@gmail.com> <20150327201126.GM21510@kernel.org> <5515B9E6.5020007@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5515B9E6.5020007@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 27, 2015 at 02:13:26PM -0600, David Ahern wrote: > On 3/27/15 2:11 PM, Arnaldo Carvalho de Melo wrote: > >Em Fri, Mar 27, 2015 at 11:31:22AM -0600, David Ahern escreveu: > >>>Hi Arnaldo: > >>> > >>>If I leave 'perf top -z' running it eventually crashes with the backtrace in > >>>the new thread refcnt code: > >Humm, tried here with: > > > >perf top -d 1 -z > > > >I.e. as you, with the --tui, and also with --stdio, so far couldn't > >reproduce. > > > > 2 things: > 1. let run for a long time. go about using the server. do lots of builds, > etc. it takes time > > 2. use a box with a LOT of cpus (1024 in my case) > > Make sure ulimit is set to get the core. reproduced under 24 cpu box with kernel build (make -j25) running on background.. will try to look closer perf: Segmentation fault -------- backtrace -------- ./perf[0x4fd79b] /lib64/libc.so.6(+0x358f0)[0x7f9cbff528f0] ./perf(thread__put+0x5b)[0x4b1a7b] ./perf(hists__delete_entries+0x70)[0x4c8670] ./perf[0x436a88] ./perf[0x4fa73d] ./perf(perf_evlist__tui_browse_hists+0x97)[0x4fc437] ./perf[0x4381d0] /lib64/libpthread.so.0(+0x7ee5)[0x7f9cc1ff2ee5] /lib64/libc.so.6(clone+0x6d)[0x7f9cc0011b8d] [0x0] jirka