|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4742 phpinfo() gives leak-warning in zend_hash.c
Submitted: 2000-06-01 00:29 UTC Modified: 2000-07-06 09:15 UTC
From: mavetju at chello dot nl Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.0 Release OS: FreeBSD 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mavetju at chello dot nl
New email:
PHP Version: OS:


 [2000-06-01 00:29 UTC] mavetju at chello dot nl
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/
Last leak repeated 1 time
session.c(1240) :  Freeing 0x08224224 (10 bytes), script=/home/www/
session.c(1250) :  Freeing 0x082237E4 (8 bytes), script=/home/www/
session.c(1239) :  Freeing 0x081C01E4 (5 bytes), script=/home/www/
session.c(1248) :  Freeing 0x081EF964 (2 bytes), script=/home/www/
session.c(1249) :  Freeing 0x081EF564 (1 bytes), script=/home/www/
session.c(1245) :  Freeing 0x081EF524 (1 bytes), script=/home/www/
session.c(1241) :  Freeing 0x081EF4E4 (1 bytes), script=/home/www/
session.c(1248) :  Freeing 0x08221064 (2 bytes), script=/home/www/
session.c(1250) :  Freeing 0x0820D424 (8 bytes), script=/home/www/
session.c(1245) :  Freeing 0x081C6F24 (1 bytes), script=/home/www/
zend_hash.c(185) :  Freeing 0x081C6FA4 (20 bytes), script=/home/www/
Last leak repeated 1 time
session.c(1240) :  Freeing 0x081C1924 (10 bytes), script=/home/www/
session.c(1239) :  Freeing 0x081C0464 (5 bytes), script=/home/www/
session.c(1241) :  Freeing 0x081EF564 (1 bytes), script=/home/www/
session.c(1249) :  Freeing 0x081EF4E4 (1 bytes), script=/home/www/

./configure' '--with-apache=../apache_1.3.12' '--enable-track-vars' '--with-zlib-dir' '--with-png-dir'

./configure --prefix=/home/www --activate-module=src/modules/php4/libphp4.a

php.ini is the default one (php.ini-dist)

If you need more information feel free to contact me.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-24 10:29 UTC] stas at cvs dot php dot net
That's session module which leaks, if it isn't fixed yet.
 [2000-07-06 09:15 UTC] sas at cvs dot php dot net
This has been fixed in PHP 4.0.1. Please upgrade to the latest release.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 21 21:01:31 2024 UTC