Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16856 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1636 invoked by uid 1010); 22 Jun 2005 14:03:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1621 invoked from network); 22 Jun 2005 14:03:46 -0000 Received: from unknown (HELO zend.com) (127.0.0.1) by localhost with SMTP; 22 Jun 2005 14:03:46 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:53720] helo=mail.zend.com) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 2D/24-22648-DBF69B24 for ; Wed, 22 Jun 2005 10:03:44 -0400 Received: (qmail 2852 invoked from network); 22 Jun 2005 14:03:36 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 22 Jun 2005 14:03:36 -0000 Message-ID: <5.1.0.14.2.20050622165412.046597e0@localhost> X-Sender: zeev@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 22 Jun 2005 17:03:35 +0300 To: Marcus Boerger Cc: internals@lists.php.net In-Reply-To: <34469481.20050620041927@marcus-boerger.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Problem with leak detection From: zeev@zend.com (Zeev Suraski) References: <34469481.20050620041927@marcus-boerger.de> When exit() is called, like any other case in which zend_bailout() is used, there can be memory blocks which will not be 'properly' freed, and we have to rely on the memory manager to free it. So the fact leaks are not shown in case of exit() is intentional. Zeev At 05:19 20/06/2005, Marcus Boerger wrote: >Hello internals, > > 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)? > >-- >Best regards, > Marcus mailto:mail@marcus-boerger.de > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php