home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8924 < prev    next >
Encoding:
Text File  |  1992-12-17  |  1.9 KB  |  60 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!pipex!warwick!dcs.warwick.ac.uk!rince
  3. From: rince@dcs.warwick.ac.uk (James Bonfield)
  4. Subject: Re: Segmentation fault when listing all processes 
  5. Message-ID: <1992Dec17.101316.10127@dcs.warwick.ac.uk>
  6. Sender: news@dcs.warwick.ac.uk (Network News)
  7. Nntp-Posting-Host: stone
  8. Organization: Department of Computer Science, Warwick University, England
  9. References: <1992Dec17.085159.7728@imec.be>
  10. Date: Thu, 17 Dec 1992 10:13:16 GMT
  11. Lines: 47
  12.  
  13. In <1992Dec17.085159.7728@imec.be> elsen@imec.be (Marc  Elsen) writes:
  14. y
  15.  
  16. >  - In VAX Ultrix 4.2 on a 3900 I sometimes (intermittent) get
  17. >  
  18. >    % ps aux
  19. >    Segmentation fault
  20. >   Has anyone seen this before ?
  21.  
  22. I've seen the problem (and posted it here) before on A Dec5000/240 running
  23. Ultrix 4.2. It's possible to force the problem too. Imagine the following
  24. scenario:
  25.  
  26. jkb@rutland[home3/jkb]& cat a.c
  27. main() {
  28.     vfork();
  29.     pause();
  30. }
  31. jkb@rutland[home3/jkb]& ps
  32.   PID TT STAT   TIME COMMAND
  33. [ fairly long process list ommited ]
  34. jkb@rutland[home3/jkb]& cc a.c
  35. jkb@rutland[home3/jkb]& ./a.out &
  36. [1] 13671
  37. jkb@rutland[home3/jkb]& ps
  38.   PID TT STAT   TIME COMMAND
  39. Segmentation fault
  40. jkb@rutland[home3/jkb]& kill %1
  41. [1]+  Terminated              ./a.out
  42. jkb@rutland[home3/jkb]& ps
  43.   PID TT STAT   TIME COMMAND
  44. [ working process list once more ]
  45. jkb@rutland[home3/jkb]& 
  46.  
  47.     Unfortunately I do not know of any solution. The problem you have
  48. could easily be the same. If, intermittently, other users create processes of
  49. the same type, and you try to examine their processes using 'ps aux'. I'm not
  50. sure precisely which status the process is in that causes ps to die. There are
  51. other processes (eg pagedaemon) in disk wait (D).
  52.  
  53.  
  54. -- 
  55. James Bonfield (jkb@mrc-lmba.cam.ac.uk / rince@dcs.warwick.ac.uk)
  56. Medical Research Council Laboratory of Molecular Biology, Hills Road,
  57. Cambridge, CB2 2QH, England. Tel: 0223 402499   Fax: 0223 412282
  58.