Debian bug report logs - #729
Bizarre corrupted output from top
Package: procps; Reported by: iwj10@cus.cam.ac.uk (Ian Jackson); 211 days old.
Message received at debian-bugs:
From gnu.ai.mit.edu!imurdock Wed Apr 5 06:22:57 1995
Return-Path: <imurdock@gnu.ai.mit.edu>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0rwV2u-0005qwC; Wed, 5 Apr 95 06:22 PDT
Received: from duality.gnu.ai.mit.edu by pixar.com with SMTP id AA12978
(5.65c/IDA-1.4.4); Wed, 5 Apr 1995 06:22:52 -0700
Received: (from imurdock@localhost) by duality.gnu.ai.mit.edu (8.6.10/8.6.10) id JAA02808; Wed, 5 Apr 1995 09:22:52 -0400
Date: Wed, 5 Apr 1995 09:22:52 -0400
From: Ian Murdock <imurdock@gnu.ai.mit.edu>
Message-Id: <199504051322.JAA02808@duality.gnu.ai.mit.edu>
To: debian-bugs@Pixar.com
Cc: bruce@Pixar.com, iwj10@cus.cam.ac.uk
In-Reply-To: <m0rwMyi-0005syC@mongo.pixar.com> (bruce@Pixar.com)
Subject: Re: Bug#729: Bizarre corrupted output from top
The infamous utmp/wtmp problem has gone away in R5 (or at least I
have not had it). I need to mark this bug done, along with about
a dozen or so more. :)
I think this is a problem with the general procps utilities, which
have not been updated in some time. `w' from this package was
displaying garbage (as Ian indicates that `top' is), so I replaced
it from the `w' from kmem-ps, modified to use the /proc file system.
I'll look into this.
Acknowledgement sent to Ian Murdock <imurdock@gnu.ai.mit.edu>
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#729
; Package procps
.
Full text available.
Message received at debian-bugs:
From pixar.com!bruce Tue Apr 4 21:47:10 1995
Return-Path: <bruce@pixar.com>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0rwMzl-0005syC; Tue, 4 Apr 95 21:47 PDT
Received: from mongo.pixar.com by pixar.com with SMTP id AA07912
(5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Tue, 4 Apr 1995 21:47:07 -0700
Received: by mongo.pixar.com (Smail3.1.28.1 #15)
id m0rwMyi-0005syC; Tue, 4 Apr 95 21:46 PDT
Message-Id: <m0rwMyi-0005syC@mongo.pixar.com>
Date: Tue, 4 Apr 95 21:46 PDT
From: bruce@pixar.com (Bruce Perens)
To: Debian bugs submission address <debian-bugs@pixar.com>,
debian-bugs@pixar.com, iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Re: Bug#729: Bizarre corrupted output from top
References: <m0rvu2F-00063gC@mongo.pixar.com>
Bruce Perens writes ("Re: Bug#729: Bizarre corrupted output from top"):
> I think this is another symptom of sysvinit and other programs writing utmp
> and wtmp incorrectly.
From: iwj10@cus.cam.ac.uk (Ian Jackson)
> I don't think all if it can be, really. Why should bogus entries in
> the utmp file (which doesn't contain process names) corrupt the
> process name field in the top listing ?
You're right. I don't know what I was thinking of.
Bruce
--
Attention Ham Radio Operators: For information on "Linux for Hams", read
the World Wide Web page http://www.rahul.net/perens/LinuxForHams
Acknowledgement sent to bruce@pixar.com (Bruce Perens)
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#729
; Package procps
.
Full text available.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Tue Apr 4 16:07:53 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0rwHhR-0005kyA; Tue, 4 Apr 95 16:07 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA01005
(5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Tue, 4 Apr 1995 16:07:27 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #30) id m0rwEkc-000C0nA; Tue, 4 Apr 95 20:58 BST
Received: by chiark
id m0rwECh-0000XMA
(Debian /\oo/\ Smail3.1.29.1 #29.30); Tue, 4 Apr 95 20:23 BST
Message-Id: <m0rwECh-0000XMA.ijackson@nyx.cs.du.edu>
Date: Tue, 4 Apr 95 20:23 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: Re: Bug#729: Bizarre corrupted output from top
In-Reply-To: <m0rvu2F-00063gC@mongo.pixar.com>
References: <m0rvu2F-00063gC@mongo.pixar.com>
Precedence: air-mail
Bruce Perens writes ("Re: Bug#729: Bizarre corrupted output from top"):
> I think this is another symptom of sysvinit and other programs writing utmp
> and wtmp incorrectly.
I don't think all if it can be, really. Why should bogus entries in
the utmp file (which doesn't contain process names) corrupt the
process name field in the top listing ?
Ian.
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#729
; Package procps
.
Full text available.
Message received at debian-bugs:
From pixar.com!bruce Mon Apr 3 14:53:24 1995
Return-Path: <bruce@pixar.com>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0rvu3n-00063gC; Mon, 3 Apr 95 14:53 PDT
Received: from mongo.pixar.com by pixar.com with SMTP id AA01840
(5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Mon, 3 Apr 1995 14:53:21 -0700
Received: by mongo.pixar.com (Smail3.1.28.1 #15)
id m0rvu2F-00063gC; Mon, 3 Apr 95 14:51 PDT
Message-Id: <m0rvu2F-00063gC@mongo.pixar.com>
Date: Mon, 3 Apr 95 14:51 PDT
From: bruce@pixar.com (Bruce Perens)
To: Debian bugs submission address <debian-bugs@pixar.com>,
debian-bugs@pixar.com, iwj10@cus.cam.ac.uk (Ian Jackson)
Subject: Re: Bug#729: Bizarre corrupted output from top
I think this is another symptom of sysvinit and other programs writing utmp
and wtmp incorrectly.
Bruce
--
Attention Ham Radio Operators: For information on "Linux for Hams", read
the World Wide Web page http://www.rahul.net/perens/LinuxForHams
Acknowledgement sent to bruce@pixar.com (Bruce Perens)
:
Extra info received and forwarded.
Full text available.
Information forwarded to debian-devel@pixar.com
:
Bug#729
; Package procps
.
Full text available.
Message received at debian-bugs:
From cus.cam.ac.uk!iwj10 Mon Apr 3 06:46:00 1995
Return-Path: <iwj10@cus.cam.ac.uk>
Received: from pixar.com by mongo.pixar.com with smtp
(Smail3.1.28.1 #15) id m0rvmS6-0005qpC; Mon, 3 Apr 95 06:45 PDT
Received: from bootes.cus.cam.ac.uk by pixar.com with SMTP id AA07658
(5.65c/IDA-1.4.4 for <debian-bugs@pixar.com>); Mon, 3 Apr 1995 06:45:50 -0700
Received: by bootes.cus.cam.ac.uk
(Smail-3.1.29.0 #30) id m0rvmQM-000C0CC; Mon, 3 Apr 95 14:44 BST
Received: by chiark
id m0rvZXL-0000YUZ
(Debian /\oo/\ Smail3.1.29.1 #29.27); Mon, 3 Apr 95 00:58 BST
Message-Id: <m0rvZXL-0000YUZ.ijackson@nyx.cs.du.edu>
Date: Mon, 3 Apr 95 00:58 BST
From: iwj10@cus.cam.ac.uk (Ian Jackson)
To: Debian bugs submission address <debian-bugs@pixar.com>
Subject: Bizarre corrupted output from top
Package: procps
Version: 0.97-4
Here is an example of some bogus output from top. Notice the second
line, which is completely mangled, and also the pieces of leftover
command pasted onto the ends of other commands nearer the bottom of
the list. The leftover command pieces aren't there to begin with, and
appear as the top continues to run - I suspect some kind of
uninitialised memory problem. I don't think it's just a display
update anomaly, as the pieces of extra text seem to move with the
commands.
My kernel is a home-grown 1.2.0 (compiled using GCC 2.5.8).
Ian.
52 processes: 49 sleeping, 1 running, 2 zombie, 0 stopped
CPU states: 5.8% user, 17.5% system, 0.0% nice, 77.4% idle
Mem: 6688K av, 6360K used, 328K free, 2020K shrd, 2000K buff
Swap: 33784K av, 15848K used, 17936K free
PID USER PRI NI SIZE RES SHRD STAT %CPU %MEM TIME COMMAND
22302 news 6 0 331 340 416 S 8.5 5.0 1:26 sh /usr/lib/news/bin
4089193 #16513391 1 0 34 0 0 Z 7.3 0.0 0:01 (cat)up) <zombie> <z
31203 ian 21 0 122 244 292 R 2.7 3.6 2:24 top
124 root 1 0 2580 760 700 S 2.6 11.3 11:11 /etc/X11/X -auth /va
12178 root 1 0 550 0 0 Z 0.4 0.0 0:19 (xterm) <zombie>
1399 news 23 0 26 152 272 S 0.2 2.2 0:00 sleep 600
12176 ian 1 0 554 308 452 S 0.2 4.6 0:42 twm
12179 ian 1 0 5542 264 324 S 0.2 3.9 10:00 emacs -f make-sessio
12420 root 1 0 378 164 288 S 0.2 2.4 0:15 xterm -name root-xte
31200 root 1 0 442 308 356 S 0.2 4.6 0:20 xterm -e top
5 root 1 0 36 80 252 S 0.1 1.1 0:16 update (bdflush)
1 root 1 0 60 0 172 SW 0.0 0.0 0:11 (init)
115 root 1 0 45 0 180 SW 0.0 0.0 0:00 (getty)
745 root 1 0 45 0 180 SW 0.0 0.0 0:00 (getty)
4 root 1 0 36 52 232 S 0.0 0.7 0:02 (update)
32123 news 1 0 44 0 188 SW 0.0 0.0 0:00 (overchan)
18572 ijackson 1 0 302 0 180 SW 0.0 0.0 0:01 (bash)
89 root 1 0 81 64 204 S 0.0 0.9 0:20 syslogd
896 root 1 0 34 0 180 SW 0.0 0.0 0:00 (cat)d)ch)
91 root 1 0 40 0 172 SW 0.0 0.0 0:00 (klogd)
94 root 1 0 189 0 160 SW 0.0 0.0 0:01 (named)
97 root 1 0 72 0 168 SW 0.0 0.0 0:00 (inetd)
102 root 1 0 68 0 172 SW 0.0 0.0 0:00 (lpd)y)
748 root 1 0 45 0 180 SW 0.0 0.0 0:00 (getty)ion)
12135 ian 1 0 289 0 184 SW 0.0 0.0 0:00 (.xsession)
114 root 1 0 72 0 168 SW 0.0 0.0 0:29 (cron))
12169 root 1 0 365 152 280 S 0.0 2.2 0:15 (xterm)
119 root 1 0 45 0 180 SW 0.0 0.0 0:00 (getty)
120 root 1 0 129 48 236 S 0.0 0.7 0:00 (xdm)y_ps)
20466 root 1 0 108 0 196 SW 0.0 0.0 0:00 (getty_ps)
122 root 1 0 108 0 196 SW 0.0 0.0 0:00 (getty_ps)
125 root 1 0 177 48 72 S 0.0 0.7 0:00 (xdm)ck)
12170 ian 1 0 98 172 264 S 0.0 2.5 0:25 xclock
32122 news 1 0 287 0 180 SW 0.0 0.0 0:00 (sh)ad)b))
--
Ian Jackson, at home. ijackson@nyx.cs.du.edu or iwj10@cus.cam.ac.uk
+44 1223 575512 Escoerea on IRC. http://www.cl.cam.ac.uk/users/iwj10/
2 Lexington Close, Cambridge, CB4 3LS, England. Urgent: iwj@cam-orl.co.uk
Acknowledgement sent to iwj10@cus.cam.ac.uk (Ian Jackson)
:
New bug report received and forwarded.
Full text available.
Report forwarded to debian-devel@pixar.com
:
Bug#729
; Package procps
.
Full text available.
Ian Jackson /
iwj10@thor.cam.ac.uk,
with the debian-bugs tracking mechanism