bug in procps-ng

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Mar 12 17:03:00 GMT 2019


Hi Wayne,

I hope you're still with us.

There appears to be a bug in procps-ng:

$ procps -e
  PID TTY          TIME CMD
 1507 ?        00:00:00 tcsh
 1529 ?        00:00:00 cygrunsrv
 1506 ?        00:00:00 mintty
 1531 ?        00:00:00 bash
 1551 pty0     00:00:00 procps
 1488 pty0     00:00:00 sh
 1487 ?        00:00:01 mintty
 1530 ?        00:00:00 xterm

As you can see, the tty info seems to be broken.  In theory
procps-ng should fetch the tty info from /proc/<PID>/stat.
As far as I can see, the tty info in this file is correct
for other processes.  But procps only shows info for its
own tty for some reason.

Any idea why?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20190312/b7fbc20d/attachment.sig>


More information about the Cygwin-apps mailing list