home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / dec / 6085 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.5 KB  |  59 lines

  1. Path: sparky!uunet!munnari.oz.au!metro!grivel!alsvid!mark
  2. From: mark@alsvid.une.edu.au (Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859)
  3. Newsgroups: comp.sys.dec
  4. Subject: Re: seggy fault with ps
  5. Message-ID: <By05yo.3E9@alsvid.une.edu.au>
  6. Date: 20 Nov 92 06:56:48 GMT
  7. References: <1992Nov17.121941.4889@dcs.warwick.ac.uk>
  8. Organization: University of New England - Northern Rivers (Lismore)
  9. Lines: 48
  10.  
  11. From article <1992Nov17.121941.4889@dcs.warwick.ac.uk>, by rince@dcs.warwick.ac.uk (James Bonfield):
  12. > Hello,
  13. >     The following program compiles and runs fine on my Decstation 5000/240
  14. > running Ultrix 4.2.
  15. > main() {
  16. >     vfork();
  17. >     pause();
  18. > }
  19. > However, from then on /bin/ps prints up the following:
  20. > $ ps
  21. >   PID TT STAT   TIME COMMAND
  22. > Segmentation fault
  23. > $
  24.  
  25.     What compiler have you been using? Is it Ultrix 4.2 or 4.2A?
  26.  
  27. I've just tried in on all cominations of the following :-
  28.  
  29.     Ultrix 4.2A and 4.3
  30.  
  31.     cc gcc2.2.2 gcc2.3.1 
  32.  
  33.     now problems
  34.  
  35. 4123 mark:alsvid> cc tst.c -o tst
  36. 4124 mark:alsvid> tst
  37. ^Z
  38. ^C4125 mark:alsvid> tst&
  39. [1]     4333
  40. 4126 mark:alsvid> ps
  41.   PID TT STAT   TIME COMMAND
  42.  4333 p4 D N    0:00 tst
  43.  4334 p4 S N    0:00 tst
  44.  4335 p4 R      0:00 ps
  45.  4696 p4 S      0:00 -ksh (ksh)
  46.  2507 p7 I      0:05 vn
  47.  4313 p7 I      0:00 sh -c /usr/ucb/vi /tmp/vna02507
  48.  4314 p7 S      0:00 /usr/ucb/vi /tmp/vna02507
  49.  4697 p7 I      0:00 -ksh (ksh)
  50.  
  51.     Cheers
  52.         Mark :)
  53. -- 
  54. Mark Garrett    Internet:  mark@arvak.une.edu.au    Phone:     +61 66 20 3859
  55.    University of New England, Northern Rivers, Lismore NSW Australia.
  56.