home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / amiga / programm / 11448 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. 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
  3. From: catapcnl@NeXTwork.Rose-Hulman.Edu (Chris Lawrence)
  4. Subject: Re: Segmentation faults needed
  5. Message-ID: <1992Jul21.222212.29270@cs.rose-hulman.edu>
  6. Sender: news@cs.rose-hulman.edu (The News Administrator)
  7. Nntp-Posting-Host: l130a5.nextwork.rose-hulman.edu
  8. Organization: Rose-Hulman Institute of Technology
  9. References: <1992Jul21.190824.7598@emr1.emr.ca>
  10. Date: Tue, 21 Jul 1992 22:22:12 GMT
  11. Lines: 22
  12.  
  13. Distribution: World
  14.  
  15. In article <1992Jul21.190824.7598@emr1.emr.ca> dostie@ccrs.emr.ca (M Dostie)  
  16. writes:
  17. :This may be hopeful thinking but is there some utility which will
  18. :prevent C programs from crashing the machine and rebooting it and
  19. :instead print something like Segmentation fault and return to the
  20. :console??
  21. :
  22. :    Mark Dostie
  23. :    mdostie@ccrs.emr.ca
  24.  
  25. If you use SAS/C, try using the catch.o startup code.  This will trap many  
  26. (though not all) exceptions.  As for segmentation faults, that sort of stuff  
  27. requires protected memory support or a program like MemWatch.
  28. --
  29. Chris Lawrence
  30. Pretender to the Throne; Destroyer of the Faith
  31. -----------------------------------------------
  32. "Giving money and power to politicians is like giving whiskey and car keys to  
  33. teenage boys."
  34.      - P. J. O'Rourke, "Parliament of Whores"
  35.