Re: Problem with leak detection
| From: | Marcus Boerger | Date: | Thu, 23 Jun 2005 00:17:51 +0000 |
| Subject: | Re: Problem with leak detection | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16868@lists.php.net to get a copy of this message | ||
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)?