From:             Bjorn dot Wiberg at its dot uu dot se
Operating system: IBM AIX 5.2.0.0 ML5
PHP version:      5.1.2
PHP Bug Type:     Strings related
Bug description:  Memory leaks using phpMyAdmin 2.8.0-beta1

Description:
------------
The Apache error log lists memory leaks when using phpMyAdmin 2.8.0-beta1
on Apache 2.0.55 with PHP as SAPI. I'm wondering whether these memory
leaks are due to something wrong with PHP, or something wrong with
phpMyAdmin?

It would be interesting to know if you encounter the same problem on
another machine, with --enable-debug and report_memleaks on?

phpMyAdmin bug report:
https://sourceforge.net/tracker/?func=detail&atid=377408&aid=1418607&group_id=23067

phpMyAdmin download page:
http://www.phpmyadmin.net/home_page/downloads.php

Many thanks in advance!

Best regards,
Björn

Reproduce code:
---------------
Using phpMyAdmin, visiting the index page, browsing around (the CSS stuff
gets included just about everywhere).

Expected result:
----------------
No memleaks reported.

Actual result:
--------------
>From the Apache error log:

---8<---
[Mon Feb  6 15:00:01 2006]  Script: 
'/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php'
/usr/local/src/php-5.1.2/ext/standard/string.c(3006) :  Freeing 0x31FB153C
(28 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php
/usr/local/src/php-5.1.2/Zend/zend_alloc.c(237) : Actual location
(location was relayed)
[Mon Feb  6 15:00:01 2006]  Script: 
'/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php'
/usr/local/src/php-5.1.2/main/php_variables.c(186) :  Freeing 0x31FB0C8C
(16 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php
=== Total 2 memory leaks detected ===
[Mon Feb  6 14:59:55 2006]  Script: 
'/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php'
/usr/local/src/php-5.1.2/ext/standard/string.c(3006) :  Freeing 0x31FE62DC
(28 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php
/usr/local/src/php-5.1.2/Zend/zend_alloc.c(237) : Actual location
(location was relayed)
[Mon Feb  6 14:59:55 2006]  Script: 
'/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php'
/usr/local/src/php-5.1.2/main/php_variables.c(186) :  Freeing 0x31FE601C
(16 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php
=== Total 2 memory leaks detected ===
[Mon Feb  6 15:00:10 2006]  Script: 
'/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php'
/usr/local/src/php-5.1.2/ext/standard/string.c(3006) :  Freeing 0x31FB5AFC
(28 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php
/usr/local/src/php-5.1.2/Zend/zend_alloc.c(237) : Actual location
(location was relayed)
[Mon Feb  6 15:00:10 2006]  Script: 
'/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php'
/usr/local/src/php-5.1.2/main/php_variables.c(186) :  Freeing 0x31FB583C
(16 bytes), script=/apache/htdocs/hotel/phpmyadmin/css/phpmyadmin.css.php
=== Total 2 memory leaks detected ===
--->8---

(I get a lot of these in the error log.)

-- 
Edit bug report at http://bugs.php.net/?id=36332&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36332&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36332&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36332&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36332&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36332&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36332&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36332&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36332&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36332&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36332&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36332&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36332&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36332&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36332&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36332&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36332&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36332&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36332&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36332&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36332&r=mysqlcfg

Reply via email to