[lug] Re: Valgrind?

Scott A. Herod herod at dimensional.com
Mon Jul 29 19:43:52 MDT 2002


Matt Armstrong wrote:
> 
> "Scott A. Herod" <herod at dimensional.com> writes:
> 
> > I see (on /.) that the KDE group has released their memory debugger
> > called Valgrind.  http://developer.kde.org/~sewardj/ Is anyone
> > familiar with it?  It appears to still have quite a few restrictions
> > but less than dmalloc.
> 
> If you've ever used Rational Software's Purify, this is the closest
> free equivalent.  I'll never release another C program not run through
> it.

I downloaded and installed it on my (pretty much) stock RH 6.2 machine
at home.  (One day I'm going to have to get a drive larger than 2G and
put 7.3 on it.)  I've got some old sample code that I'm using to test. 
The output is pretty clear.  I've added some errors to the code just to
see the results.

I have only barely used Purify.  In the last place I worked that had SGI
boxen we had the official purify person.  I only used it on my test
harnesses.  I think that I used CaseVision tools instead.  (It's been
awhile.)

Anyway, a much more detailed example is saying:

==12014== Conditional jump or move depends on uninitialised value(s)

Looks like I'll be trying to figure out what mistake I've made there.

Scott



More information about the LUG mailing list