Bug#638938: linux-tools-3.0.0: "perf report" segfaults when using binary version; compiling from source works
Hi Justin,
Justin Santa Barbara wrote:
> I captured a few perf traces on a live system (using "perf record --event
> cpu-clock --freq 1000 -a --output=mylog.perf").
>
> When I try to run a report on those perf logs, it segfaults. I can run it
> under gdb and get a stacktrace (below).
I wasn't able to reproduce it, alas. (Neither with 3.0.0-1 nor
3.0.0-2.)
> If I install the linux-source package, expand it, and do a "make" in
> tools/perf, then that version of perf works (no segfault).
Please try building with HAVE_CPLUS_DEMANGLE=YesPlease, to get a
backtrace without so many frames missing. It might be that this is
fixed in sid already, since 3.0.0-2 was built against a version of
binutils-dev with some newish NULL checking fixes in cplus_demangle().
Reply to: