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

Bug#762785: htop: No more shows any processes if once a user starting with an underscore ("_") was selected



Package: htop
Version: 1.0.3-1
Severity: important

Dear Maintainer,

with the new "_apt" user in apt 1.1~exp3 (in Debian Experimental), I
wanted to see what it does and started "htop -u _apt".

I didn't see a single process.

Then I tried it interactively:

* Started "apt-get update" in one root shell
* Started "htop" in another one, pressed "u", saw the "_apt" user there,
  selected it

Again I saw no processes listed.

The I pressed "u" again, selected "All Users" and still -- no processes
shown at all.

Then I started "htop -u _apt" again, pressed "u", selected "All Users"
and still: No processes shown at all.

I tried the latter as root as well as normal user, inside a screen
session (as root) as well as outside a screen session (as normal user).

I also noticed that when selecting "All users" in the above cases, the
terminal bell rings (^G).

Conclusion: As soon as the view is reduced to all processes of a user
which starts with an underscore, something is broken in htop.

P.S.: ps auxw | fgrep _apt indeed showed a bunch of processes, so it's
definitely htop, not apt.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (110, 'experimental'), (109, 'buildd-unstable'), (109, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages htop depends on:
ii  libc6         2.19-11
ii  libncursesw5  5.9+20140913-1
ii  libtinfo5     5.9+20140913-1

htop recommends no packages.

Versions of packages htop suggests:
ii  ltrace  0.7.3-4
ii  strace  4.9-2

-- no debconf information


Reply to: