Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16868 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15564 invoked by uid 1010); 23 Jun 2005 00:17:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15549 invoked from network); 23 Jun 2005 00:17:42 -0000 Received: from unknown (HELO marcus-boerger.de) (127.0.0.1) by localhost with SMTP; 23 Jun 2005 00:17:42 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:35161] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 7A/27-22648-5AFF9B24 for ; Wed, 22 Jun 2005 20:17:42 -0400 Received: from baumbart.mbo (dsl-082-083-226-040.arcor-ip.net [82.83.226.40]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id E8AFD35C280; Thu, 23 Jun 2005 02:31:48 +0200 (CEST) Date: Thu, 23 Jun 2005 02:17:51 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <533010654.20050623021751@marcus-boerger.de> To: Zeev Suraski Cc: internals@lists.php.net In-Reply-To: <5.1.0.14.2.20050622165412.046597e0@localhost> References: <34469481.20050620041927@marcus-boerger.de> <5.1.0.14.2.20050622165412.046597e0@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Problem with leak detection From: mail@marcus-boerger.de (Marcus Boerger) Hello Zeev, thanks for clarifying. Any chance we could change that for "normal/unproblemeatic" exit()s in the future with run-tests in mind? marcus Wednesday, June 22, 2005, 4:03:35 PM, you wrote: > 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)?