Package: procps
Version: 1:3.3.2-3
Severity: normal
top -p foo works if foo is the PID of an existing process. If not, top
segfaults just when it launches (the headers are printed, but it's
otherwise immediate):
signal 11 (SEGV) was caught by top, please
see http://www.debian.org/Bugs/Reporting
This happens either as my user or as root.
$ gdb top
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/top...(no debugging symbols found)...done.
(gdb) run -p 999
Starting program: /usr/bin/top -p 999
Program received signal SIGSEGV, Segmentation fault.
0x0804d84a in ?? ()
(gdb) bt
#0 0x0804d84a in ?? ()
#1 0x0804f104 in ?? ()
#2 0x0804f579 in ?? ()
#3 0x0804a654 in ?? ()
#4 0xf7e19e46 in __libc_start_main (main=0x8049b90, argc=3,
ubp_av=0xffffd454, init=0x8052df0, fini=0x8052de0,
rtld_fini=0xf7fef310, stack_end=0xffffd44c) at libc-start.c:228
#5 0x0804ad99 in ?? ()
(gdb)
If you can't reproduce, feel free to ask for more information, although
I would appreciate hints if you want a more helpful backtrace.
--- System information. ---
Architecture: i386
Kernel: Linux 3.2.0-2-amd64
Debian Release: wheezy/sid
990 testing security.debian.org
990 testing debian.mirror.iweb.ca
500 unstable debian.mirror.iweb.ca
--- Package information. ---
Depends (Version) | Installed
==================================-+-==================
libc6 (>= 2.11) | 2.13-27
libncurses5 (>= 5.5-5~) | 5.9-4
libncursesw5 (>= 5.6+20070908) | 5.9-4
libprocps0 (>= 1:3.3.2-1) | 1:3.3.2-3
libtinfo5 | 5.9-4
lsb-base (>= 3.0-10) | 4.1+Debian0
initscripts | 2.88dsf-22.1
Recommends (Version) | Installed
=========================-+-===========
psmisc | 22.16-1
Package's Suggests field is empty.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org