Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16807 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13515 invoked by uid 1010); 20 Jun 2005 17:52:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13498 invoked from network); 20 Jun 2005 17:52:51 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 20 Jun 2005 17:52:51 -0000 X-Host-Fingerprint: 62.46.17.234 M224P010.dipool.highway.telekom.at Received: from ([62.46.17.234:19695] helo=localhost.localdomain) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id F7/C4-25080-27207B24 for ; Mon, 20 Jun 2005 13:52:50 -0400 Message-ID: To: internals@lists.php.net Date: Mon, 20 Jun 2005 19:53:20 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 [http://iworks.at] X-Accept-Language: de, en-us, en MIME-Version: 1.0 References: <34469481.20050620041927@marcus-boerger.de> In-Reply-To: <34469481.20050620041927@marcus-boerger.de> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 62.46.17.234 Subject: Re: Problem with leak detection From: mike@php.net (Michael Wallner) Marcus Boerger wrote: > i just stumbled over a strange issue while testing. Some of my tests > have exit(0) at the end for easier test verification. Now i found a new > one that has a few memleaks but only reports them if i drop that exit(0) > line. Is this something we need to fix (e.g. exit() omits leakage info)? Sorry, but I cannot speak for exit(), but I usually replace all occurrences of #if PHP_WIN32 OutputDebugString(...); #else fprintf(stderr, ...); #endif with just fprintf(stderr, ...) to see any mem-leaks on Win32-CLI. JFYI. Regards, -- Mike