home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.sys.sun.admin:10764 comp.sys.sun.apps:3096 comp.sys.sun.misc:6521
- Newsgroups: comp.sys.sun.admin,comp.sys.sun.apps,comp.sys.sun.misc
- Path: sparky!uunet!virtech!cpcahil
- From: cpcahil@vti.com (Conor P. Cahill)
- Subject: Re: SEGV inside malloc() - This shouldn't happen!
- Message-ID: <C1GoK1.3nC@vti.com>
- Organization: Virtual Technologies Inc.
- References: <C1B6v8.Ixn@vti.com> <1993Jan26.004746.7742@sj.ate.slb.com>
- Distribution: na
- Date: Tue, 26 Jan 1993 12:40:48 GMT
- Lines: 39
-
- In article <1993Jan26.004746.7742@sj.ate.slb.com>, poffen@sj.ate.slb.com (Russ Poffenberger) writes:
- >
- > 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.
-
- What you say is true. However, the thing that you need to look at is the
- difference that this will make in a real world environment. There are two
- places where this will make a difference:
-
- 1. Purify will report an error for a read access directly by your program,
- while SENTINEL can only trap this if you attempt the read access through
- one of the intercepted libc functions. (Of course, we intercept all of
- the library functions that are typically used to access memory such as the
- mem*, b*, and str* functions).
-
- 2. Purify will report an error for a write access directly by your program
- at the time it occurs. SENTINEL will report it at the time it occurs if
- the write attempt was made via one of the intercepted library calls or
- at the next library call that accesses that data area.
-
- These are Purify's two main advantages (especially when you consider that
- we will have an optional garbage collection leak report (the same kind of
- leak report that Purify uses) in our 1.4 release which will be shipped on
- March 1).
-
- To get these advantages, you have to pay 6 or 7 times the price, live
- with much more restrictive licensing, and only have the tool available
- on Sun OS 4.1.x on a SPARC 2. SENTINEL is available right now on
- Sun OS 4.1.x, Solaris 2.x, HP-UX, DYNIX/ptx, DG-UX, ULTRIX, AIX,
- SCO UNIX, SVR3.2, and SVR4.x.
-
-
- --
- *** SENTINEL(tm) The ultimate Debugging Environment - email for more info ***
-
- Conor P. Cahill (703)430-9247 cpcahil@virtech.vti.com
- Virtual Technologies, Inc. 46030 Manekin Plaza Dulles, VA 20166
-