home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!usenet.ucs.indiana.edu!newshost.cs.rose-hulman.edu!news
- From: catapcnl@NeXTwork.Rose-Hulman.Edu (Chris Lawrence)
- Subject: Re: Segmentation faults needed
- Message-ID: <1992Jul21.222212.29270@cs.rose-hulman.edu>
- Sender: news@cs.rose-hulman.edu (The News Administrator)
- Nntp-Posting-Host: l130a5.nextwork.rose-hulman.edu
- Organization: Rose-Hulman Institute of Technology
- References: <1992Jul21.190824.7598@emr1.emr.ca>
- Date: Tue, 21 Jul 1992 22:22:12 GMT
- Lines: 22
-
- Distribution: World
-
- In article <1992Jul21.190824.7598@emr1.emr.ca> dostie@ccrs.emr.ca (M Dostie)
- writes:
- :This may be hopeful thinking but is there some utility which will
- :prevent C programs from crashing the machine and rebooting it and
- :instead print something like Segmentation fault and return to the
- :console??
- :
- : Mark Dostie
- : mdostie@ccrs.emr.ca
-
- If you use SAS/C, try using the catch.o startup code. This will trap many
- (though not all) exceptions. As for segmentation faults, that sort of stuff
- requires protected memory support or a program like MemWatch.
- --
- Chris Lawrence
- Pretender to the Throne; Destroyer of the Faith
- -----------------------------------------------
- "Giving money and power to politicians is like giving whiskey and car keys to
- teenage boys."
- - P. J. O'Rourke, "Parliament of Whores"
-