php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jpeeters at lashout dot net
New email:
PHP Version: OS:

 

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


I got the same problem as bug http://www.php.net/bugs.php?id=12507 .  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/libphp4.so

Memory not freed:
-----------------
   Address     Size     Caller
0000000000        0  at
[jpeeters@wodka php-4.0.6]$ mtrace ../php-4.0.4pl1/libs/libphp4.so
- 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 19:11 UTC] yohgaki@php.net
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] iliaa@php.net
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 http://www.php.net/support.php

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: Sat Dec 21 18:01:29 2024 UTC