php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #44528 Memory Leaks
Submitted: 2008-03-25 09:20 UTC Modified: 2008-03-29 14:48 UTC
From: admin at itech7 dot com Assigned:
Status: Closed Package: Session related
PHP Version: 5.2.5 OS: Fedora 8 / i386
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: admin at itech7 dot com
New email:
PHP Version: OS:

 

 [2008-03-25 09:20 UTC] admin at itech7 dot com
Description:
------------
When sessions are configured to autostart in php.ini ; there two memory leaks when calling a simple phpinfo() script using FastCGI with lighttpd server. I have a Pentium 3 / 500 Mhz / 384 MB RAM / 50 GB HDD box.

Reproduce code:
---------------
<?
phpinfo();
?>


Expected result:
----------------
Clean working without any errors on the terminal.

Actual result:
--------------
PHP printed two memory leaks in my terminal.

backtrace -

[Tue Mar 25 14:49:38 2008]  Script:  '/var/www/lighttpd/_server/index.php'
/root/php-5.2.5/ext/standard/url_scanner_ex.c(305) :  Freeing 0x096F2D28 (79 bytes), script=/var/www/lighttpd/_server/index.php
[Tue Mar 25 14:49:38 2008]  Script:  '/var/www/lighttpd/_server/index.php'
/root/php-5.2.5/ext/standard/url_scanner_ex.c(316) :  Freeing 0x096F2DA4 (79 bytes), script=/var/www/lighttpd/_server/index.php
=== Total 2 memory leaks detected ===


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-03-29 14:48 UTC] admin at itech7 dot com
UPDATE: The PHP-5.2.5 release I downloaded from in.php.net was giving problems. When I downloaded it from the PHP's default mirror i.e. www.php.net it had no memory leak problems. This suggests that the PHP releases at the Indian mirrors in.php.net and in2.php.net have been edited/modified. PHP should look upon this.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 29 11:01:32 2024 UTC