Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mark@alsvid.une.edu.au (Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859)
Subject: Re: seggy fault with ps
Date: 20 Nov 92 06:56:48 GMT	[thread overview]
Message-ID: <By05yo.3E9@alsvid.une.edu.au> (raw)
In-Reply-To: 1992Nov17.121941.4889@dcs.warwick.ac.uk

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.


  reply	other threads:[~1992-11-20  6:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-11-17 12:19 seggy fault with ps James Bonfield
1992-11-20  6:56 ` Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859 [this message]
1992-11-20  9:36   ` James Bonfield
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox