home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sun / admin / 10746 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.8 KB

  1. Xref: sparky comp.sys.sun.admin:10746 comp.sys.sun.apps:3094 comp.sys.sun.misc:6508
  2. Newsgroups: comp.sys.sun.admin,comp.sys.sun.apps,comp.sys.sun.misc
  3. Path: sparky!uunet!cs.utexas.edu!geraldo.cc.utexas.edu!slcs.slb.com!leo.asc.slb.com!sjsca4!poffen
  4. From: poffen@sj.ate.slb.com (Russ Poffenberger)
  5. Subject: Re: SEGV inside malloc() - This shouldn't happen!
  6. Message-ID: <1993Jan26.004746.7742@sj.ate.slb.com>
  7. Followup-To: comp.sys.sun.admin,comp.sys.sun.apps,comp.sys.sun.misc
  8. Sender: news@sj.ate.slb.com
  9. Organization: Schlumberger Technologies, ATE division, San Jose, Ca.
  10. X-Newsreader: TIN [version 1.1 PL7]
  11. References: <C1B6v8.Ixn@vti.com>
  12. Distribution: na
  13. Date: Tue, 26 Jan 93 00:47:46 GMT
  14. Lines: 23
  15.  
  16. Conor P. Cahill (cpcahil@vti.com) wrote:
  17. : In article <1993Jan22.215835.25188@sj.ate.slb.com>, poffen@sj.ate.slb.com (Russ Poffenberger) writes:
  18. : > 
  19. : > The best product I have seen is called "purify". It is not a debugger, but
  20. : > rather instruments your module at link time. No funny macros, no funny
  21. : > switches, just a change of your link line from "cc ..." to "purify cc ...",
  22. : > then run the program. It will report memory overwrites, uninitialized
  23. : > pointer usage, and memory leaks.
  24. : This is very similar to how SENTINEL works.  No funny macros, no funny 
  25. : switches, just change your link line from "cc .... " to "cc ... -lsent .."
  26. : then run the program.
  27.  
  28. Yes, but this sounds like you are merely replacing the Sun library with your
  29. own to do heap checking. Purify does much more than that, actually tracks
  30. pointer usage for validity whenever you refernce memory. A simple library
  31. cannot do this.
  32.  
  33. Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
  34. Schlumberger Technologies ATE   UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
  35. 1601 Technology Drive        CIS:    72401,276
  36. San Jose, Ca. 95110             Voice: (408)437-5254  FAX: (408)437-5246
  37.