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