Updated: dmalloc-5.5.2-1

Jon TURNEY jon.turney@dronecode.org.uk
Fri Sep 4 13:36:00 GMT 2015


The following package has been updated in the Cygwin distribution:

* dmalloc-5.5.2-1

This is an update to the final(?) 2007 release of dmalloc.  This is also 
the first dmalloc package for 64-bit Cygwin.

dmalloc is a malloc debugger. It is a drop in replacement for the 
system's `malloc', `realloc', `calloc', `free' and other memory 
management routines that provides powerful debugging facilities 
configurable at runtime. These facilities include such things as 
memory-leak tracking, fence-post write detection, file/line number 
reporting, and general logging of statistics.

For more details, see http://dmalloc.com

Notes on using dmalloc with Cygwin
==================================

IGNORE ALL CYGWIN SPECIFIC SECTIONS OF THE OFFICIAL DMALLOC 
DOCUMENTATION AND WEB SITE. All Cygwin workarounds documented there are 
obsolete.

As the Cygwin DLL uses malloc and creates helper threads, it is 
recommended to use the threaded version of the library even if your 
program does not use threads.

Due to the way interposition of memory management functions is 
implemented in Cygwin, dmalloc will report the calling file/line 
location as a wrapper function in Cygwin's malloc_wrapper.cc

The dmalloc utility program's feature to report debug flags as token 
names seems to be broken, always reporting 'unknown token'

dmalloc does not support posix_memalign().  Debian has patches to add 
this support, but as they are quite invasive, I haven't incorporated them.

dmalloc isn't the greatest malloc debugger.  Don't expect miracles.



More information about the Cygwin-announce mailing list