PHP 4.0 Bug #1920 Updated: limit on number of function calls (non recursive)
| From: | Bug Database | Date: | Thu, 29 Jul 1999 11:27:46 +0000 |
| Subject: | PHP 4.0 Bug #1920 Updated: limit on number of function calls (non recursive) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-9310@lists.php.net to get a copy of this message | ||
ID: 1920
Updated by: danny
Reported By: alan@gocdo.net.au
Status: Open
Bug Type: Reproduceable crash
Assigned To:
Comments:
If you put the function definition before the main program
(as one usually does), your script works perfectly well on my system with the current CVS.
However, your script "as is" gives me a segfault :
Program received signal SIGSEGV, Segmentation fault.
0x807bdeb in zend_ptr_stack_push (stack=0x81f2c78, ptr=0x8070719) at zend_ptr_stack.c:42
42 *(stack->top_element++) = ptr;
(gdb) bt
#0 0x807bdeb in zend_ptr_stack_push (stack=0x81f2c78, ptr=0x8070719) at zend_ptr_stack.c:42
#1 0x8084c6a in execute (op_array=0x820bb70) at zend_execute.c:1309
#2 0x806a583 in php_execute_script (primary_file=0xbffffc04) at main.c:1131
#3 0x806f349 in main (argc=2, argv=0xbffffc28) at cgi_main.c:448
Full Bug description available at: http://bugs.php.net/version4/?id=1920