From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1e90f463041f95df X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,1e90f463041f95df X-Google-Attributes: gidf678f,public From: timw@isac.hces.com (Timothy M. Wieman) Subject: Re: Looking for "Purify"? Date: 1995/10/10 Message-ID: <1995Oct10.172054.25662@isac.hces.com>#1/1 X-Deja-AN: 117333173 references: <44rguo$ige@uranium.chem> <44sjj9$n8p@usenet.pa.dec.com> organization: PACE Health Management Systems followup-to: comp.unix.osf.osf1,comp.unix.osf.misc newsgroups: comp.unix.osf.osf1,comp.unix.osf.misc 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.