Re: [PATCH 1/4] perf ui/gtk: Fix segmentation fault onperf_hpp__for_each_format loop

From: Pekka Enberg
Date: Tue Aug 06 2013 - 01:56:35 EST

On Tue, Aug 6, 2013 at 8:14 AM, Namhyung Kim <namhyung@xxxxxxxxxx> 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 <jolsa@xxxxxxxxxx>
> Cc: Pekka Enberg <penberg@xxxxxxxxxx>
> Cc: Andi Kleen <andi@xxxxxxxxxxxxxx>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Reviewed-by: Pekka Enberg <penberg@xxxxxxxxxx>
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at