🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #3768

seggy fault with ps

#3768
From: James Bonfield
Date: Tue, 17 Nov 1992 12:19
31 lines
1623 bytes
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                \/__/ \_\                  ~
Technical Details
Message-ID: <1992Nov17.121941.4889@dcs.warwick.ac.uk>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.dec
Path: arc1-ca.pugleaf.net!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
Lines: 31