From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,f2b4b482f51a32a1,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1992-11-17 12:24:40 PST Newsgroups: comp.sys.dec Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!mrccrc!warwick!dcs.warwick.ac.uk!rince From: rince@dcs.warwick.ac.uk (James Bonfield) Subject: seggy fault with ps Message-ID: <1992Nov17.121941.4889@dcs.warwick.ac.uk> Summary: main(){vfork();pause();} Keywords: vfork pause ps Sender: news@dcs.warwick.ac.uk (Network News) Nntp-Posting-Host: stone Organization: Department of Computer Science, Warwick University, England Date: Tue, 17 Nov 1992 12:19:41 GMT 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 $ Can anyone explain this problem? Is it unique to my system, or does everyone have this prob? (Also another problem is that sendmail gets the following error no matter what I do, *unless* I trace it! pid 29155 (sendmail) was killed on an unaligned access, at pc 0x40ccd8 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 \/__/ \_\ ~