#39125 [NEW]: Memleak when reflecting non-existing class/method
| From: | cweiske@php.net | Date: | Wed, 11 Oct 2006 15:01:35 +0000 |
| Subject: | #39125 [NEW]: Memleak when reflecting non-existing class/method | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-103424@lists.php.net to get a copy of this message | ||
From: cweiske@php.net
Operating system: Linux
PHP version: 5.1.6
PHP Bug Type: Unknown/Other Function
Bug description: Memleak when reflecting non-existing class/method
Description:
------------
I get a memleak when trying to reflect a nonexisting class and method from
commandline.
Reproduce code:
---------------
php --rf someclass::somefunct
Expected result:
----------------
Exception: Class someclass does not exist
Actual result:
--------------
Exception: Class someclass does not exist
[Wed Oct 11 16:56:28 2006] Script: '-'
/data/cvs/php/php-5.1.6/ext/reflection/php_reflection.c(2124) : Freeing
0x08DF74AC (10 bytes), script=-
=== Total 1 memory leaks detected ===
--
Edit bug report at http://bugs.php.net/?id=39125&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39125&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39125&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39125&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39125&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39125&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39125&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39125&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39125&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39125&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39125&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39125&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39125&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39125&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39125&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39125&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39125&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39125&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39125&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39125&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39125&r=mysqlcfg