php.exe crashes on infinite recursion (PHP 5.3.5)
| From: | speedy | Date: | Mon, 22 Aug 2011 10:27:27 +0000 |
| Subject: | php.exe crashes on infinite recursion (PHP 5.3.5) | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-54788@lists.php.net to get a copy of this message | ||
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.
I think the stack grows too big and the php interpreter crashes
inside the MSVCRT.dll.
Maybe it could be handled with more grace? I feel that
high level language interpreter should not crash its process
whatever I do in the php code. Throwing a stack overflow / memory exausted
exception would make it much easier to debug.
Cheers,
Milan
--
Best regards,
speedy mailto:speedy.spam@gmail.com