Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754013Ab3HFF42 (ORCPT ); Tue, 6 Aug 2013 01:56:28 -0400 Received: from mail-we0-f178.google.com ([74.125.82.178]:57842 "EHLO mail-we0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752995Ab3HFF40 (ORCPT ); Tue, 6 Aug 2013 01:56:26 -0400 MIME-Version: 1.0 In-Reply-To: <1375766056-19377-2-git-send-email-namhyung@kernel.org> References: <1375766056-19377-1-git-send-email-namhyung@kernel.org> <1375766056-19377-2-git-send-email-namhyung@kernel.org> Date: Tue, 6 Aug 2013 08:56:24 +0300 X-Google-Sender-Auth: qRaUwA6J8cFO92LL58O98Tc0lMA Message-ID: Subject: Re: [PATCH 1/4] perf ui/gtk: Fix segmentation fault on perf_hpp__for_each_format loop From: Pekka Enberg To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML , Jiri Olsa , Christoph Hellwig , Andi Kleen Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1112 Lines: 26 On Tue, Aug 6, 2013 at 8:14 AM, Namhyung Kim wrote: > From: Namhyung Kim > > The commit 2b8bfa6bb8a7 ("perf tools: Centralize default columns init > in perf_hpp__init") moves initialization of common overhead column to > perf_hpp__init() but forgot about the gtk code. > > So the gtk code added the same column to the list twice causing > infinite loop when iterating it by perf_hpp__for_each_format loop. > When I run perf report --gtk, I can see following messages > indefinitely. > > (perf:11687): Gtk-CRITICAL **: IA__gtk_main_quit: assertion 'main_loops != NULL' failed > perf: Segmentation fault > > Cc: Jiri Olsa > Cc: Pekka Enberg > Cc: Andi Kleen > Signed-off-by: Namhyung Kim Reviewed-by: Pekka Enberg -- 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/