Re: php.exe crashes on infinite recursion (PHP 5.3.5)
| From: | Kalle Sommer Nielsen | Date: | Mon, 22 Aug 2011 10:38:52 +0000 |
| Subject: | Re: php.exe crashes on infinite recursion (PHP 5.3.5) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54791@lists.php.net to get a copy of this message | ||
2011/8/22 speedy <speedy.spam@gmail.com>:
> Hello PHP dev crew,
>
> The screenshot of the crash is in the attachment.
>
> The problem is easily reproducible, just make a PHP function
> call itself.
Infinite recursions have always crashed, while Dmitry patched some of
those in the early 5.3 development it wasn't possible to cover all
cases and there are many still existing. Such as:
class A { public function __destruct() { new self; } } new A;
They should all give out a memory limit error, but fixing such a thing
don't have a big priority and is most likely to get marked as Bogus.
Also check the database if you choose to report it, as there would be
no need to open a new report if an already existing one is open or if
one recently have been closed.
--
regards,
Kalle Sommer Nielsen
kalle@php.net