Re: [PATCH] perf: Fix crash when vmlinux_path__exit().

From: Davidlohr Bueso
Date: Thu Sep 09 2010 - 12:48:35 EST


On Thu, 2010-09-09 at 13:44 -0300, Arnaldo Carvalho de Melo wrote:
> Em Thu, Sep 09, 2010 at 10:48:10AM -0400, Davidlohr Bueso escreveu:
> > [PATCH] perf: Fix crash when vmlinux_path__exit()
> >
> > When running perf {timechart,sched} record an incorrect freeing occurs after Ctrl-C'ing to
> > exit the application, the following is seen:
>
> There was a fix for this that just checked if it was already
> initialized, lemme check.

Right, an initialization check would also correct the illegal free. IMO
it would still be appropriate to double check this in
vmlinux_path__init().

>
> You don't mention what is the git tree you are using or if this is from
> some tarball, can you clarify?
>
Sorry, this under the latest mainline kernel (last pull was Today).

Davidlohr


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/