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(?)


Stacktrace from gdb:

Program received signal SIGSEGV, Segmentation fault.
0x000000000047630f in ?? ()
(gdb) bt
#0  0x000000000047630f in ?? ()
#1  0x0000000000477be3 in ?? ()
#2  0x00000000004765d9 in ?? ()
#3  0x00000000004752f6 in ?? ()
#4  0x00000000004776e5 in ?? ()
#5  0x0000000000473e8a in ?? ()
#6  0x00000000004742e7 in ?? ()
#7  0x0000000000479f67 in cplus_demangle_print_callback ()
#8  0x000000000047a0d6 in ?? ()
#9  0x000000000047a267 in ?? ()
#10 0x000000000047a41e in cplus_demangle_v3 ()
#11 0x000000000046e778 in cplus_demangle ()
#12 0x000000000043f308 in ?? ()
#13 0x00000000004413db in dso__load ()
#14 0x0000000000449db0 in map__load ()
#15 0x0000000000449f0d in map__find_symbol ()
#16 0x000000000042ed7d in perf_event__preprocess_sample ()
#17 0x0000000000419fed in ?? ()
#18 0x000000000044c585 in ?? ()
#19 0x000000000044dbb3 in __perf_session__process_events ()
#20 0x000000000041a3c5 in cmd_report ()
#21 0x0000000000410a59 in _start ()


-- System Information:
Debian Release: wheezy/sid
 APT prefers testing
 APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-tools-3.0.0 depends on:
ii  libc6                        2.13-16     Embedded GNU C Library: Shared
lib
ii  libelf1                      0.152-1     library to read and write ELF
file
ii  libnewt0.52                  0.52.11-2.1 Not Erik's Windowing Toolkit -
tex
ii  libperl5.12                  5.12.4-4    shared Perl library
ii  libpython2.6                 2.6.7-3     Shared Python runtime library
(ver
ii  libslang2                    2.2.4-2     S-Lang programming library -
runti
ii  perl                         5.12.4-4    Larry Wall's Practical
Extraction
ii  python                       2.6.7-3     interactive high-level
object-orie

Versions of packages linux-tools-3.0.0 recommends:
ii  linux-base                    3.3        Linux image base package

Versions of packages linux-tools-3.0.0 suggests:
pn  linux-doc-3.0.0               <none>     (no description available)

-- no debconf information

Reply via email to