Package: pstack
Version: 1.3.1-1
Severity: normal
Tags: upstream

Dear Maintainer,

pstack on amd64 at least fails to generate stacks of any threads in a
process except the main thread.  This is fairly unfortunate, as one of
the main goals of pstack is to generate a quick snapshot of a program
in all its state, so it only fullfills its promise for single-threaded
programs.

The documentation is fairly clear that it supports LinuxThreads and not
NPTL, but this is a 10 year old limitation at this point.  No one has
been using LinuxThreads since the early 2000s.

The net result is that the pstack binary actually blocks productivity,
since it suggests it will offer pstack-like functionality (eg RHEL,
solaris, etc) but fails to deliver.

There are any number of possible resolution paths.

1 - replace pstack binary with shellscript around gdb as RHEL has done

2 - pass this upstream

3 - enhance pstack to be able to discover all the running threads.  For
example, strace has functionality to accomplish thist that is more or
less maintained.

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

Kernel: Linux 3.2.0-4-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 pstack depends on:
ii  libc6  2.13-38

pstack recommends no packages.

pstack suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to