Edit report at http://bugs.php.net/bug.php?id=52863&edit=1

 ID:                 52863
 Updated by:         cataphr...@php.net
 Reported by:        g dot delaportas at gmail dot com
 Summary:            PHP Crash - RAM consuming
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Windows 7
 PHP Version:        Irrelevant
 Block user comment: N



Previous Comments:
------------------------------------------------------------------------
[2010-09-16 18:53:49] cataphr...@php.net

Did actually crash? Can you provide a backtrace? It's normal it consumes
all the RAM (if you have no memory limit), since you are allocating
memory recursively and indefinitely.

------------------------------------------------------------------------
[2010-09-16 18:16:47] g dot delaportas at gmail dot com

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 this bug report at http://bugs.php.net/bug.php?id=52863&edit=1

Reply via email to