|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13234 memory leak (see also bug 12507)
Submitted: 2001-09-10 12:30 UTC Modified: 2002-08-13 23:37 UTC
From: jpeeters at lashout dot net Assigned:
Status: Not a bug Package: Performance problem
PHP Version: 4.0.6 OS: linux kernel-2.2.19
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: jpeeters at lashout dot net
New email:
PHP Version: OS:


 [2001-09-10 12:30 UTC] jpeeters at lashout dot net

I got the same problem as bug .  Also, with php-4.0.4pl1 i have no problems, and with php-4.0.5 and php-4.0.6 there is a memory leak:

[jpeeters@wodka php-4.0.6]$ mtrace libs/

Memory not freed:
   Address     Size     Caller
0000000000        0  at
[jpeeters@wodka php-4.0.6]$ mtrace ../php-4.0.4pl1/libs/
- 0000000000 Free 7052 was never alloc'd
No memory leaks.
[jpeeters@wodka php-4.0.6]$

The configure line i used for all the versions is ./configure --with-apxs --with-config-file-path=/usr/local/apache/conf --disable-debug --enable-track-vars --enable-magic-quotes --enable-calendar --with-ftp --enable-ftp --with-gd --enable-versioning --with-jpeg-dir=/usr/ --with-gdbm --with-mysql=/usr/local/mysql/ --with-tiff-dir=/usr/ --with-dom --with-expat --with-sablot --with-zlib-dir=/usr/ --with-png-dir=/usr/ --with-freetype-dir=/usr/ --with-rrdtool --with-pgsql=/usr/local/postgres

The leak occurs also with the latest cvs version.  If you need more information, feel free to contact me.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 19:11 UTC]
Could you try 4.1.0 see if it help?
 [2001-12-13 09:22 UTC] jpeeters at lashout dot net
I will try it between this and a few days...
 [2002-08-13 23:37 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.

Your are not using mtrace correctly, this utility is used to analyzed datadumps made by mtrace() function if used in the source. This cli binary simply analyzes those files, running it on a compiled file is utterly useless.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 03:01:28 2024 UTC