Bug #13234: memory leak (see also bug 12507)
| From: | jpeeters at lashout dot net | Date: | Mon, 10 Sep 2001 16:30:12 +0000 |
| Subject: | Bug #13234: memory leak (see also bug 12507) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65672@lists.php.net to get a copy of this message | ||
From: jpeeters@lashout.net
Operating system: linux kernel-2.2.19
PHP version: 4.0.6
PHP Bug Type: Performance problem
Bug description: memory leak (see also bug 12507)
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.
--
Edit bug report at: http://bugs.php.net/?id=13234&edit=1