dmalloc ------------------------------------------ A debug version of malloc. NOTES: This Cygwin port does not inherit the Cygwin related issues listed in the official dmalloc documentation when used with Cygwin 1.5.20 or more recent. 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. The -o [ lock_on ] option in dmalloc does not need to be specified, its has a suitable default value. 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 dmalloc does not support posix_memalign(). Debian has patches to add this support, but as they are quite invasive, I haven't incorporated them.