[CLUE-Tech] C programming question

Dave Anselmi anselmi at americanisp.net
Thu Dec 13 14:01:11 MST 2001


Jim Ockers wrote:

> Hi all,
>
> One of our programmers asked me a C programming question today that I
> thought I'd ask this list about.  Since there is already a thread of C
> programming questions for Linux systems..
>
> We have a C program that has a memory leak.  We are 100% sure it has a
> memory leak.  We do not know how to go about discovering the cause or
> source of the memory leak.  The program runs under Linux/glibc21 of course.
> Here is an output from lsof:

> <snip>
>
> We have almost ruled out gdb because it is so dense.  Undoubtedly it has the
> functionality we want but it is very unfriendly.

There's a gui for gdb called ddd, http://www.gnu.org/software/ddd/.  I've read that it is very
useful.  I don't know about memory leaks, but perhaps a quick look at the manual will give you some
hints.

Dave





More information about the clue-tech mailing list