home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!decwrl!deccrl!news.crl.dec.com!dbased.nuo.dec.com!nntpd.lkg.dec.com!nntpd2.cxo.dec.com!nabeth!alan
- From: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
- Newsgroups: comp.unix.ultrix
- Subject: Re: Segmentation fault when listing all processes
- Message-ID: <1992Dec17.181434.18371@nntpd2.cxo.dec.com>
- Date: 17 Dec 92 18:14:34 GMT
- References: <1992Dec17.085159.7728@imec.be>
- Sender: alan@nabeth (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
- Reply-To: alan@nabeth.enet.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.)
- Organization: Digital Equipment Corporation
- Lines: 33
-
-
- In article <1992Dec17.085159.7728@imec.be>, elsen@imec.be (Marc Elsen) writes:
- >
- > - In VAX Ultrix 4.2 on a 3900 I sometimes (intermittent) get
- >
- > % ps aux
- > Segmentation fault
- >
- > Has anyone seen this before ?
-
- Not recently, if ever. The problem is most likely a bug in ps(1)
- not robustly handling the fact that data can change out from under-
- neath it. Ps(1) takes a snapshot of the proc table and then starts
- to summarize the data. There's probably some information that it
- collects for the process later (user structure). The problem is that
- between the time that it reads the proc table (and in fact while it
- reads the proc table) the table can change. Processes will go away
- and start up.
-
- Most likely something has changed between the time it took the first
- snapshot and started printing the information. A robust problem would
- catch these problems and just cope. Ps(1) is probably not that robust.
- If you can easily reproduce it, please contact the CSC or submit an
- SPR. They may be able to provide a non-stripped version that will
- generate a core file that can be used to debug the problem.
-
- >--
- > Marc (elsen@imec.be)
- > 'Waterdust is fine but even hydrogen would have lead
- > to a never ending story...'
- >
- --
- Alan Rollow alan@nabeth.cxo.dec.com
-