home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!pipex!warwick!dcs.warwick.ac.uk!rince
- From: rince@dcs.warwick.ac.uk (James Bonfield)
- Subject: Re: Segmentation fault when listing all processes
- Message-ID: <1992Dec17.101316.10127@dcs.warwick.ac.uk>
- Sender: news@dcs.warwick.ac.uk (Network News)
- Nntp-Posting-Host: stone
- Organization: Department of Computer Science, Warwick University, England
- References: <1992Dec17.085159.7728@imec.be>
- Date: Thu, 17 Dec 1992 10:13:16 GMT
- Lines: 47
-
- In <1992Dec17.085159.7728@imec.be> elsen@imec.be (Marc Elsen) writes:
- y
-
- >
- > - In VAX Ultrix 4.2 on a 3900 I sometimes (intermittent) get
- >
- > % ps aux
- > Segmentation fault
- >
- > Has anyone seen this before ?
-
- I've seen the problem (and posted it here) before on A Dec5000/240 running
- Ultrix 4.2. It's possible to force the problem too. Imagine the following
- scenario:
-
- jkb@rutland[home3/jkb]& cat a.c
- main() {
- vfork();
- pause();
- }
- jkb@rutland[home3/jkb]& ps
- PID TT STAT TIME COMMAND
- [ fairly long process list ommited ]
- jkb@rutland[home3/jkb]& cc a.c
- jkb@rutland[home3/jkb]& ./a.out &
- [1] 13671
- jkb@rutland[home3/jkb]& ps
- PID TT STAT TIME COMMAND
- Segmentation fault
- jkb@rutland[home3/jkb]& kill %1
- [1]+ Terminated ./a.out
- jkb@rutland[home3/jkb]& ps
- PID TT STAT TIME COMMAND
- [ working process list once more ]
- jkb@rutland[home3/jkb]&
-
- Unfortunately I do not know of any solution. The problem you have
- could easily be the same. If, intermittently, other users create processes of
- the same type, and you try to examine their processes using 'ps aux'. I'm not
- sure precisely which status the process is in that causes ps to die. There are
- other processes (eg pagedaemon) in disk wait (D).
-
-
- --
- James Bonfield (jkb@mrc-lmba.cam.ac.uk / rince@dcs.warwick.ac.uk)
- Medical Research Council Laboratory of Molecular Biology, Hills Road,
- Cambridge, CB2 2QH, England. Tel: 0223 402499 Fax: 0223 412282
-