[gmx-developers] memory leak debugging ?

Erik Lindahl lindahl at stanford.edu
Fri Aug 9 19:07:08 CEST 2002


Marc Baaden wrote:
> Hi,
> 
> after some accumulated frustration over losing a day for finding
> a memory allocation related segfault in one of my programs, I tried
> a simple malloc debugger, which was indeed helpful.
> 
> Now checking a bit more I found that there is a vast number of such
> tools, so I wonder whether any of the people on gmx-developers have
> experiences with packages such as
> 
> electric-fence
> gccchecker
> libleakbug1
> njamd
> ccmalloc
> [..]
> 
> in particular in view of using them with gromacs code/extensions/
> analysis programs.
> 

Hi Mark,

If you install 'dmalloc', you can just enable the configuration flag 
'--with-dmalloc'!

Cheers,

Erik





More information about the gromacs.org_gmx-developers mailing list