PHP 4.0 Bug #7720: Return address in stack overwritten?
| From: | sven at devcon dot net | Date: | Thu, 09 Nov 2000 12:05:56 +0000 |
| Subject: | PHP 4.0 Bug #7720: Return address in stack overwritten? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37529@lists.php.net to get a copy of this message | ||
From: sven@devcon.net
Operating system: freebsd
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: Return address in stack overwritten?
When doing a recursion like this:
function foo ()
{
foo ();
}
php crashes after a few thousand recursions. The number of recursions
possible depends on the function size. I recompiled the webserver without optimization and debugging
symbols accordingly.
Program received signal SIGSEGV, Segmentation fault.
0x2822f7bb in object.11 () at ./zend_execute.c:877
877 }
(gdb) bt
#0 0x2822f7bb in object.11 () at ./zend_execute.c:877
Error accessing memory address 0xbbbffc3c: Bad address.
Oh btw, I'd appreciate to see a password field for passwords in the bug form...
--
Edit Bug report at: http://bugs.php.net/?id=7720&edit=1