PHP 4.0 Bug #4742: phpinfo() gives leak-warning in zend_hash.c
| From: | mavetju at chello dot nl | Date: | Wed, 31 May 2000 22:29:37 +0000 |
| Subject: | PHP 4.0 Bug #4742: phpinfo() gives leak-warning in zend_hash.c | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19927@lists.php.net to get a copy of this message | ||
From: mavetju@chello.nl
Operating system: FreeBSD 4.0
PHP version: 4.0.0 Release
PHP Bug Type: Scripting Engine problem
Bug description: phpinfo() gives leak-warning in zend_hash.c
When checking the error-log of apache I see now and then the following warning on a script with
phpinfo() in the script:
zend_hash.c(185) : Freeing 0x082274E4 (20 bytes),
script=/home/www/htdocs.logreport.org/phpinfo.phtml
Last leak repeated 1 time
session.c(1240) : Freeing 0x08224224 (10 bytes),
script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1250) : Freeing 0x082237E4 (8 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1239) : Freeing 0x081C01E4 (5 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1248) : Freeing 0x081EF964 (2 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1249) : Freeing 0x081EF564 (1 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1245) : Freeing 0x081EF524 (1 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1241) : Freeing 0x081EF4E4 (1 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1248) : Freeing 0x08221064 (2 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1250) : Freeing 0x0820D424 (8 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1245) : Freeing 0x081C6F24 (1 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
zend_hash.c(185) : Freeing 0x081C6FA4 (20 bytes),
script=/home/www/htdocs.logreport.org/phpinfo.phtml
Last leak repeated 1 time
session.c(1240) : Freeing 0x081C1924 (10 bytes),
script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1239) : Freeing 0x081C0464 (5 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1241) : Freeing 0x081EF564 (1 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
session.c(1249) : Freeing 0x081EF4E4 (1 bytes), script=/home/www/htdocs.logreport.org/phpinfo.phtml
php-configure:
./configure' '--with-apache=../apache_1.3.12' '--enable-track-vars'
'--with-zlib-dir' '--with-png-dir'
apache-configure:
./configure --prefix=/home/www --activate-module=src/modules/php4/libphp4.a
--enable-module=rewrite
php.ini is the default one (php.ini-dist)
If you need more information feel free to contact me.