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

  1. Xref: sparky comp.sys.sun.admin:10764 comp.sys.sun.apps:3096 comp.sys.sun.misc:6521
  2. Newsgroups: comp.sys.sun.admin,comp.sys.sun.apps,comp.sys.sun.misc
  3. Path: sparky!uunet!virtech!cpcahil
  4. From: cpcahil@vti.com (Conor P. Cahill)
  5. Subject: Re: SEGV inside malloc() - This shouldn't happen!
  6. Message-ID: <C1GoK1.3nC@vti.com>
  7. Organization: Virtual Technologies Inc.
  8. References: <C1B6v8.Ixn@vti.com> <1993Jan26.004746.7742@sj.ate.slb.com>
  9. Distribution: na
  10. Date: Tue, 26 Jan 1993 12:40:48 GMT
  11. Lines: 39
  12.  
  13. In article <1993Jan26.004746.7742@sj.ate.slb.com>, poffen@sj.ate.slb.com (Russ Poffenberger) writes:
  14. > Yes, but this sounds like you are merely replacing the Sun library with your
  15. > own to do heap checking. Purify does much more than that, actually tracks
  16. > pointer usage for validity whenever you refernce memory. A simple library
  17. > cannot do this.
  18.  
  19. What you say is true.  However, the thing that you need to look at is the
  20. difference that this will make in a real world environment.  There are two
  21. places where this will make a difference:
  22.  
  23. 1. Purify will report an error for a read access directly by your program,
  24. while SENTINEL can only trap this if you attempt the read access through
  25. one of the intercepted libc functions.  (Of course, we intercept all of 
  26. the library functions that are typically used to access memory such as the
  27. mem*, b*, and str* functions).
  28.  
  29. 2. Purify will report an error for a write access directly by your program
  30. at the time it occurs.  SENTINEL will report it at the time it occurs if
  31. the write attempt was made via one of the intercepted library calls or 
  32. at the next library call that accesses that data area.
  33.  
  34. These are Purify's two main advantages (especially when you consider that
  35. we will have an optional garbage collection leak report (the same kind of
  36. leak report that Purify uses) in our 1.4 release which will be shipped on
  37. March 1).
  38.  
  39. To get these advantages, you have to pay 6 or 7 times the price, live
  40. with much more restrictive licensing, and only have the tool available
  41. on Sun OS 4.1.x on a SPARC 2.  SENTINEL is available right now on 
  42. Sun OS 4.1.x, Solaris 2.x, HP-UX, DYNIX/ptx, DG-UX, ULTRIX, AIX,
  43. SCO UNIX,  SVR3.2, and SVR4.x.
  44.  
  45.  
  46. -- 
  47. *** SENTINEL(tm) The ultimate Debugging Environment - email for more info ***
  48.  
  49. Conor P. Cahill              (703)430-9247            cpcahil@virtech.vti.com
  50. Virtual Technologies, Inc.  46030 Manekin Plaza          Dulles, VA 20166 
  51.