X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:from:subject:to:message-id:date
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=wO9lAXu1A+0WvFwtDHg15o82uQ1aP5I13aRqonu2HKUzBRLwH26RL
	CUQXwX4jKejuTYJUeh2/fSnJfIJhyEnl3PX3ZxoT9Sw6Z/J9Ja8p+iPOnPLDEsZi
	v8/dFSqWnTpN2EEDsv3D4CAyjhf++hQc+GhLrBT3/qXnwBK/CHz9dg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:reply-to:from:subject:to:message-id:date
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=AiESNxSK1kl7R1MqSQsN1SzJaxI=; b=pOPx/3fsH5q5Cw/s5+o4MygNsj5E
	9SSql/goF7W5DjiPPodXnPYEM8+66Sk9dPWOk64e1koq6viYULPg2CSAeTMpGtrS
	T9mAxQU8YBc7rRIx/kIIqyN05gfrZpnWJlcOqSiL0Ho01jZtoWOJs2q18Mr3S+co
	AflAtnYRmmDRtZ4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-HELO: localhost.localdomain
Reply-To: cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2
From: Jon TURNEY <jon.turney@dronecode.org.uk>
Subject: [ANNOUNCEMENT] Updated: dmalloc-5.5.2-1
X-Mozilla-News-Host: news://news.gmane.org
To: cygwin@cygwin.com
Message-Id: <announce.55E99D97.1060701@dronecode.org.uk>
Date: Fri, 4 Sep 2015 14:33:11 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit


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.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

