From: Operating system: Windows 7 PHP version: Irrelevant Package: Reproducible crash Bug Type: Bug Bug description:PHP Crash - RAM consuming
Description: ------------ I use only native PHP code with no extra plugins loaded. The PHP 5.3.1 crashes and consumes all the RAM when I use the script below. This also happens to all the versions after 5.3.1. Test script: --------------- class Test_Crash { private $virtual_func; public function __construct() { $this->virtual_func = new Test_Crash; } } -- Edit bug report at http://bugs.php.net/bug.php?id=52863&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=52863&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=52863&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=52863&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=52863&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=52863&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=52863&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=52863&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=52863&r=needscript Try newer version: http://bugs.php.net/fix.php?id=52863&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=52863&r=support Expected behavior: http://bugs.php.net/fix.php?id=52863&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=52863&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=52863&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=52863&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=52863&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=52863&r=dst IIS Stability: http://bugs.php.net/fix.php?id=52863&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=52863&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=52863&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=52863&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=52863&r=mysqlcfg