home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8939 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  1.9 KB

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