public inbox for cygwin-announce@cygwin.com
 help / color / mirror / Atom feed
* Updated: dmalloc-5.5.2-1
@ 2015-09-04 13:36 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2015-09-04 13:36 UTC (permalink / raw)
  To: cygwin-announce


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-04 13:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-04 13:36 Updated: dmalloc-5.5.2-1 Jon TURNEY

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).