Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: timw@isac.hces.com (Timothy M. Wieman)
Subject: Re: Looking for "Purify"?
Date: 1995/10/10	[thread overview]
Message-ID: <1995Oct10.172054.25662@isac.hces.com> (raw)
In-Reply-To: 44sjj9$n8p@usenet.pa.dec.com

Jeffrey Mogul (mogul@pa.dec.com) wrote:
: In article <44rguo$ige@uranium.chem> bensona@metamor.com writes:
: >	 There's a program available for Suns called "purify"
: >which is a library that you link with that does all kinds of
: >neat checking against your code, watches mallocs and frees and
: >so forth.  Basically it helps find memory leaks and things like
: >that.
: >
: >	Anyway, does anyone know of a similar program available
: >for DEC OSF1 3.2?  Or even DEC UNIX?

: This is becoming a FAQ.

: The "Third degree" program, part of the ATOM tools kit, probably
: does what you want.  As far as I know, it has been shipping with
: DEC OSF/1 since version 3.0.  Note that it is not yet a supported
: piece of software (which means that you may not be able to get
: bugs fixed).

: -Jeff

I discovered Third Degree a couple weeks ago, but I'm unable to get it
to work.  AlphaServer 1000 4/200 running Digital UNIX 3.2 214.  Here's
what I get (following the documents instructions):
$ 3rd cc junk.c -o junk
Assertion failed: IsLoad[ins->memtype] /* SP modification? */, file tdi.c, line 1463
/usr2/tmp//Atom.junk21621: Fatal error: One of Atom's passes terminated abnormally
/usr2/tmp//Atom.junk21621: Run atom with -dbx to see if it was in the instrumentation routines
3rd: error running ATOM

This also leaves a ~5 Meg. core file.  I try running atom with "-dbx"
and it stops in dbx giving the following stack trace:
(dbx) t
>  0 Instrument(0x1400340c0, 0x100000008, 0x1200163f8, 0x0, 0x14048e040) ["tdi.c":1594, 0x12005ca94]
   1 main(argc = 10, argv = 0x11ffff7e8) ["alpha2rtl.c":2635, 0x120016444]

I know that 3rd is unsupported, so I'm hoping someone here can help out.
I think this would be a VERY useful tool if I can get it working.

TIA, Tim
P.S. "setld -i" shows ATMBASE320 installed, the "confidence" program
that comes with ATOM also fails on 3rd with the same error, and junk.c is
just a "Hello World" program.
-- 
------------------------------------------------------------------------
   Timothy M. Wieman    |       Software Engineer
                        |
     timw@hces.com      |       PACE Health Management Systems, Inc.



  parent reply	other threads:[~1995-10-10  4:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-10-03  4:00 Looking for "Purify"? Andrew Benson
1995-10-03  4:00 ` Timothy M. Wieman
1995-10-04  4:00 ` Conor P. Cahill
1995-10-04  4:00 ` Jeffrey Mogul
1995-10-06  4:00   ` Greg Lueck Development Environment
1995-10-10  4:00   ` Timothy M. Wieman [this message]
1995-10-12  4:00     ` Greg Lueck Development Environment
1995-10-05  4:00 ` Hal Lue
     [not found] ` <44rmrk$50u@dual.crhc.uiuc.edu>
1995-10-03  4:00   ` Dirk Grunwald
1995-10-05  4:00   ` Juerg Staub
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox