🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #3827

Re: seggy fault with ps

#3827
From: Mark Garrett Internet: mark Phon...
Date: Fri, 20 Nov 1992 06:56
48 lines
1612 bytes
From article <1992Nov17.121941.4889@dcs.warwick.ac.uk>, by rince@dcs.warwick.ac.uk (James Bonfield):
> Hello,
> 	The following program compiles and runs fine on my Decstation 5000/240
> running Ultrix 4.2.
> 
> main() {
>     vfork();
>     pause();
> }
> 
> However, from then on /bin/ps prints up the following:
> 
> $ ps
>   PID TT STAT   TIME COMMAND
> Segmentation fault
> $

	What compiler have you been using? Is it Ultrix 4.2 or 4.2A?

I've just tried in on all cominations of the following :-

	Ultrix 4.2A and 4.3

	cc gcc2.2.2 gcc2.3.1 

	now problems

4123 mark:alsvid> cc tst.c -o tst
4124 mark:alsvid> tst
^Z
^C4125 mark:alsvid> tst&
[1]     4333
4126 mark:alsvid> ps
  PID TT STAT   TIME COMMAND
 4333 p4 D N    0:00 tst
 4334 p4 S N    0:00 tst
 4335 p4 R      0:00 ps
 4696 p4 S      0:00 -ksh (ksh)
 2507 p7 I      0:05 vn
 4313 p7 I      0:00 sh -c /usr/ucb/vi /tmp/vna02507
 4314 p7 S      0:00 /usr/ucb/vi /tmp/vna02507
 4697 p7 I      0:00 -ksh (ksh)

	Cheers
		Mark :)
-- 
Mark Garrett	Internet:  mark@arvak.une.edu.au	Phone: 	+61 66 20 3859
   University of New England, Northern Rivers, Lismore NSW Australia.
Technical Details
Message-ID: <By05yo.3E9@alsvid.une.edu.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!grivel!alsvid!mark
References: <1992Nov17.121941.4889@dcs.warwick.ac.uk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!metro!grivel!alsvid!mark
From: mark@alsvid.une.edu.au (Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859)
Newsgroups: comp.sys.dec
Subject: Re: seggy fault with ps
Message-ID: <By05yo.3E9@alsvid.une.edu.au>
Date: 20 Nov 92 06:56:48 GMT
References: <1992Nov17.121941.4889@dcs.warwick.ac.uk>
Organization: University of New England - Northern Rivers (Lismore)
Lines: 48