[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#638938: linux-tools-3.0.0: "perf report" segfaults when using binary version; compiling from source works



On Mon, 2011-08-22 at 23:08 -0700, Justin Santa Barbara wrote:
> Package: linux-tools-3.0.0
> Version: 3.0.0-1
> Severity: normal
> 
> 
> 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).
> 
> If I install the linux-source package, expand it, and do a "make" in
> tools/perf, then that version of perf works (no segfault).
> 
> The version I built does reference different shared libraries
> (according to ldd).  Most notably, it include
> libbfd-2.21.52-system.20110606.so.  I believe that cplus_demangle is
> only called if bfd is not present(?)
[...]

Right.  Bug report #606050 explains why we build perf using
cplus_demangle() from libiberty and not the similar function in libbfd.

Ben.


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: