#46178 [NEW]: memory leak in ext/phar
From: cellog@php.net
Operating system: Mac OS X
PHP version: 5.3CVS-2008-09-26 (CVS)
PHP Bug Type: PHAR related
Bug description: memory leak in ext/phar
Description:
------------
When running
http://svn.pear.php.net/PEAR2/Pyrus/trunk/src/Pyrus/makepackage.php
I get
Greg-Beavers-monster:Pyrus Greg$ php -d phar.readonly=0 makepackage.php
[Thu Sep 25 20:38:04 2008] Script: 'makepackage.php'
/Users/Greg/Documents/php/php5/ext/phar/util.c(1524) : Freeing 0x00E41CD0
(54 bytes), script=makepackage.php
Last leak repeated 5 times
[Thu Sep 25 20:38:04 2008] Script: 'makepackage.php'
/Users/Greg/Documents/php/php5/ext/phar/util.c(1521) : Freeing 0x00E2FCF8
(104 bytes), script=makepackage.php
/Users/Greg/Documents/php/php5/Zend/zend_alloc.c(2391) : Actual location
(location was relayed)
Last leak repeated 5 times
=== Total 12 memory leaks detected ===
not sure why yet
--
Edit bug report at http://bugs.php.net/?id=46178&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46178&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46178&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46178&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=46178&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=46178&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=46178&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=46178&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=46178&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=46178&r=support
Expected behavior: http://bugs.php.net/fix.php?id=46178&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=46178&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=46178&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=46178&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46178&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=46178&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=46178&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=46178&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=46178&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=46178&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=46178&r=mysqlcfg
Thread (3 messages)
- cellog@php.net