home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!pipex!warwick!uknet!comlab.ox.ac.uk!mbeattie
- From: mbeattie@black.ox.ac.uk (Malcolm Beattie)
- Newsgroups: comp.unix.ultrix
- Subject: Re: Segmentation fault when listing all processes
- Message-ID: <1992Dec18.115557.6607@black.ox.ac.uk>
- Date: 18 Dec 92 11:55:57 GMT
- References: <1992Dec17.085159.7728@imec.be> <1992Dec17.101316.10127@dcs.warwick.ac.uk>
- Organization: Oxford University Computing Service, 13 Banbury Rd, Oxford, U
- Lines: 65
- Originator: mbeattie@black
-
- In article <1992Dec17.101316.10127@dcs.warwick.ac.uk> rince@dcs.warwick.ac.uk (James Bonfield) writes:
- >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
-
- Here's a problem with ps that I occasionally see on our
- DEC 5500, Ultrix 4.2: an error message of the form
-
- ps: cant read u for pid 12345 from /dev/drum
-
- sometimes appears, seemingly while file system intensive
- processes are running. Is this something that I should
- worry about?
-
- --Malcolm
-
- --
- Malcolm Beattie <mbeattie@black.ox.ac.uk> | I'm not a kernel hacker
- Oxford University Computing Services | I'm a kernel hacker's mate
- 13 Banbury Road, Oxford, OX2 6NN (U.K.) | And I'm only hacking kernels
- Tel: +44 865 273232 Fax: +44 865 273275 | 'Cos the kernel hacker's late
-