php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38571 Memory leak in Zend/zend_variables
Submitted: 2006-08-23 16:34 UTC Modified: 2006-08-23 17:10 UTC
From: phpbugs at thequod dot de Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5CVS-2006-08-23 (CVS) OS: Ubuntu Linux
Private report: No CVE-ID: None
 [2006-08-23 16:34 UTC] phpbugs at thequod dot de
Description:
------------
There appears to be a memory leak in current CVS 
(PHP_5_2, cli):

[Wed Aug 23 18:30:37 2006]  
Script:  '/X/PhpDocumentor/phpdoc' /X/PHP_5_2/Zend/zend_variables.h(45) :  
Freeing 0x9482C650 (1 bytes), 
script=/X/PhpDocumentor/phpdoc
/X/PHP_5_2/Zend/zend_variables.c(120) : Actual location 
(location was relayed)
Last leak repeated 365 times
=== Total 366 memory leaks detected ===



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-23 16:37 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.


 [2006-08-23 17:04 UTC] phpbugs at thequod dot de
Not possible, sorry.

This is with running PhpDocumentor on a quite huge 
project.

I thought it would be enough to have the place where it 
leaks maybe.

Please close it, if this is not enough.
 [2006-08-23 17:10 UTC] tony2001@php.net
Even if I install PHPDocumentor and run it, I doubt I'll be able to see anything, since I don't have your data.
Please reopen the report when/if you get a short reproduce case.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC