#20665 [NEW]: Memory leaks and allocation problems
| From: | msopacua@php.net | Date: | Wed, 27 Nov 2002 01:47:48 +0000 |
| Subject: | #20665 [NEW]: Memory leaks and allocation problems | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-25899@lists.php.net to get a copy of this message | ||
From: msopacua@php.net
Operating system: BSD/OS 4.2
PHP version: 4.3.0RC1
PHP Bug Type: Performance problem
Bug description: Memory leaks and allocation problems
Running 4.3RC1 in production, I see a returning problem, for the allocation
of 129 bytes. Since no executed file is being reported it's hard for me to
track down which is the cause.
Additionally, on logrotation and a SIGHUP, there are leaks being reported,
broken down to:
/home/mdev/_src/php-4.3.0RC1/Zend/zend_opcode.c(295) : Freeing 0x082F6024
(7200 bytes)
Zend/zend_language_scanner.c(4365) : Freeing 0x082E2824 (50 bytes)
Last leak repeated 112 times
Zend/zend_language_scanner.c(4450) : Freeing 0x082DFAE4 (4 bytes)Last
leak repeated 2 times
/home/mdev/_src/php-4.3.0RC1/Zend/zend_hash.c(262) : Freeing 0x082DE324
(100 bytes)
Last leak repeated 76 times
Zend/zend_language_scanner.c(3060) : Freeing 0x082E01A4 (84 bytes)
/home/mdev/_src/php-4.3.0RC1/Zend/zend_execute.c(478) : Freeing
0x082DF7A4 (12 bytes)
/home/mdev/_src/php-4.3.0RC1/Zend/zend_hash.c(406) : Freeing 0x082E2124
(35 bytes)
etc.
Full log here:
http://melvyn.idg.nl/php43/leaks.log
I stripped the script= part as it doesn't make any sence.
Note that this is the only point where these leaks are reported.
--
Edit bug report at http://bugs.php.net/?id=20665&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20665&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20665&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20665&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20665&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20665&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20665&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20665&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20665&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20665&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20665&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20665&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20665&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20665&r=isapi