PHP 4.0 Bug #2220: dynamic module memory leaks cause SIGSEGV
| From: | j at kubs dot cz | Date: | Thu, 02 Sep 1999 16:33:16 +0000 |
| Subject: | PHP 4.0 Bug #2220: dynamic module memory leaks cause SIGSEGV | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10456@lists.php.net to get a copy of this message | ||
From: j@kubs.cz
Operating system: Linux
PHP version: 4.0 Latest CVS (02/09/1999)
PHP Bug Type: Dynamic loading related
Bug description: dynamic module memory leaks cause SIGSEGV
when a dynamic module leaves memory leaks and ZEND_DEBUG
is enabled, zend crashes while trying to write "memory leak at...", becouse filename
pointer no longer points to a valid
area of memory after the module is unloaded. what'bout redefining emalloc to
_emalloc(...,__LINE__,__FILE__) only
if COMPILE_DL is not defined?