[Pkg-zsh-devel] Bug#732410: procps: Signal 18 (CONT) caught by ps (procps-ng version 3.3.8). ps:display.c:66: please report this bug

Axel Beckert abe at debian.org
Tue Dec 17 19:18:53 UTC 2013


Package: procps
Version: 1:3.3.8-2
Severity: normal

Hi,

since zsh 5.0.3-1 (as in Debian Unstable currently), ps throws the
following error message if called in zsh's .zshrc or on on the zsh
commandline, even if zsh is started without sourcing .zshrc and friends:

$ ssh somehost -t zsh -f
somehost% echo `ps | cat`
Signal 18 (CONT) caught by ps (procps-ng version 3.3.8).
ps:display.c:66: please report this bug
PID TTY TIME CMD 12290 pts/10 00:00:00 zsh 12293 pts/10 00:00:00 zsh 12294 pts/10 00:00:00 ps 12295 pts/10 00:00:00 cat
somehost% 

This doesn't happen in Testing (zsh 5.0.2-6 and procps 1:3.3.4-2).

IIRC it even did not happen not together with procps 1:3.3.8-2 from
Unstable and zsh 5.0.2-6. (IIRC I tested this in Unstable in early
December by downgrading to zsh 5.0.2-6 once.)

Despite the clear message "please report this bug" (which I'm doing
herewith :-), I'm not 100% sure if this is really a procps bug or if
there's something fishy in zsh 5.0.3.

The above example is btw. to what I could reduce the code to still
trigger the message, hence no "useless use of cat". ;-) The full line I
noticed the issue with comes from my .zshrc and looks like this:

_IS_MOSH=`ps uxw | awk '$2=='$PPID' && $11~/mosh/ {print}'`

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-trunk-amd64 (SMP w/1 CPU core)
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 procps depends on:
ii  initscripts   2.88dsf-43
ii  libc6         2.17-97
ii  libncurses5   5.9+20130608-1
ii  libncursesw5  5.9+20130608-1
ii  libprocps1    1:3.3.8-2
ii  libtinfo5     5.9+20130608-1
ii  lsb-base      4.1+Debian12

Versions of packages procps recommends:
ii  psmisc  22.20-1

procps suggests no packages.

-- no debconf information



More information about the Pkg-zsh-devel mailing list