From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f2b4b482f51a32a1 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-11-19 19:10:26 PST Newsgroups: comp.sys.dec Path: sparky!uunet!pipex!warwick!dcs.warwick.ac.uk!rince From: rince@dcs.warwick.ac.uk (James Bonfield) Subject: Re: seggy fault with ps Message-ID: <1992Nov20.093645.4441@dcs.warwick.ac.uk> Sender: news@dcs.warwick.ac.uk (Network News) Nntp-Posting-Host: stone Organization: Department of Computer Science, Warwick University, England References: <1992Nov17.121941.4889@dcs.warwick.ac.uk> Date: Fri, 20 Nov 1992 09:36:45 GMT In mark@alsvid.une.edu.au (Mark Garrett Internet: mark@arvak.une.edu.au Phone: +61 66 20 3859) writes: > 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 The following script says pretty much everything I think: bash$ uname -a ULTRIX rutland 4.2 0 RISC bash$ cat > a.c main() {vfork();pause();} bash$ cc a.c bash$ ./a.out & [1] 3428 bash$ ps x PID TT STAT TIME COMMAND Segmentation fault bash$ kill %1 [1]+ Terminated ./a.out bash$ c89 a.c bash$ ./a.out & [1] 3436 bash$ ps x PID TT STAT TIME COMMAND Segmentation fault bash$ kill %1 [1]+ Terminated ./a.out bash$ type ps ps is /bin/ps bash$ exit So what do the new OS's (4.2A/4.3) provide over 4.2? (Other than presumably a fix to this bug.) We haven't got gcc on this machine - but I expect the result would be pretty much the same. Is there a list of patches available for the OS as on Suns? Cheers, James Bonfield (jkb@mrc-lmba.cam.ac.uk) Tel: 0223 402499 Fax: 0223 412282 Medical Research Council Laboratory of Molecular Biology, Hills Road, Cambridge, CB2 2QH, England. -- James 'Rince' Bonfield O .__ ._ ~ ~ /\/ ~ /\/ jkb@mrc-lmba.cam.ac.uk o /o \_/ / \/\ /o\/ \/\ ~ rince@dcs.warwick.ac.uk ( | ( ~ ~ \(/\ ~ csuba@csv.warwick.ac.uk \/__/ \_\ ~