gnunet-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUnet-developers] [patch] compiling with dmalloc memory checker


From: Christian Grothoff
Subject: Re: [GNUnet-developers] [patch] compiling with dmalloc memory checker
Date: Sat, 15 Jun 2002 18:16:03 -0500

Thanks, I've checked it into CVS and will play with it at some point :-)

Christian

On Saturday 15 June 2002 09:29 am, you wrote:
> This patch allows GNUnet to be configured --with-dmalloc which links
> GNUnet to libdmalloc if it exists, if --with-dmalloc=yes is specified and
> the library isnt found the configure fails, if --with-dmalloc isnt
> specified or set to =no then it isnt used.
>
> Dmalloc is a memory debugger see http://dmalloc.com/ it does all sorts of
> memory checks.
>
> To use it compile GNUnet with dmalloc support then specify an environmet
> variable, i normally do "export
> DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile" then run the
> binary and look the generated "logfile" in the current directory.
>
> A quick test running it on ./gnunet-insert (generated from CVS) find 26KB
> of unfree'ed memory from 158 pointers. I find it quite comforting to have
> dmalloc looking over my shoulder, it picks up/helps track down so many
> things i overlook.
>
> If you want to give it a try and have trouble let me know, i use it a fair
> bit and maintain its debian package.
>
>
> Glenn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]