Re: [PHP4BETA] memory leak in modules
| From: | Zeev Suraski | Date: | Thu, 02 Sep 1999 15:07:09 +0000 |
| Subject: | Re: [PHP4BETA] memory leak in modules | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4000@lists.php.net to get a copy of this message | ||
At 14:49 02/09/99 , Jakub Skopal wrote:
Hi, I'm creating a dynamic module and compiling with ZEND_DEBUG option. Unfortunatelly, when I get a memory leak in my dynamic module, zend tries to print the filename of the module, leak occured in, and since it is no longer loaded (I think it's becouse of this), the filename pointer no longer points into valid memory area and thus httpd gets SIGSEGV, while trying to write "memory leak at....". what 'bout redefining emalloc to _emalloc(...,__LINE__,__FILE__) only when COMPILE_DL is not defined?Good idea! Can you submit a bug report so that this doesn't get forgotten? Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il