Edit report at http://bugs.php.net/bug.php?id=25335&edit=1
ID: 25335 Comment by: kgrecki at gmail dot com Reported by: cunha17 at uol dot com dot br Summary: Memory Leak with error handler and exceptions Status: Closed Type: Bug Package: Scripting Engine problem Operating System: * PHP Version: 5CVS-2003-08-31 (dev) Assigned To: helly Block user comment: N New Comment: Sorry, this looked the same issue but actually it can't be replicated with this code. I managed to narrow it down and raised a new bug #53228 Previous Comments: ------------------------------------------------------------------------ [2010-11-02 17:26:41] [email protected] I can't reproduce it. ------------------------------------------------------------------------ [2010-11-02 15:45:01] kgrecki at gmail dot com This still happens on 5.3.2. Was it actually fixed? regression? ------------------------------------------------------------------------ [2003-09-14 15:58:27] [email protected] This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2003-09-14 15:57:12] [email protected] The combination of excetions / user space error handling made me think in that direction. Further investigation showed that you were right and there was indeed a problem with temporairy allocated memory. ------------------------------------------------------------------------ [2003-09-14 15:32:07] cunha17 at uol dot com dot br My knowledge of ZE2 is too limited but I don't think the memory manager got shutdown when the error handler is called (does it?). IMHO it seems the error handler calling mechanism is allocating something and not releasing it since the user function(error handler) is terminated abnormally (exception) and not in the expected way (function end reached, return or exit/die). ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=25335 -- Edit this bug report at http://bugs.php.net/bug.php?id=25335&edit=1
