On Tue, 11 Feb 2003, David Brown wrote: > Hi Derick: > > Sorry about leaving php-dev off of the Cc - your reply didn't make it > back to the php-dev list, though you did indeed respond. :) > > A couple of followup questions: > > 1. The crashes I'm able to catch with <?php function a(){a();}a(); ?> > stop GDB at zend_execute line 1489: > zend_ptr_stack_n_push(&EG(arg_types_stack), 2, EX(fbc), EX(object).ptr); > > However, zend_ptr_stack_n_push seems to handle growth of the stack, > and there aren't pointer dereferences anywhere else. Am I looking > at the wrong section of code? The wrong stack, maybe? :)
zend_ptr_stack_n_push is for the stack of arguments to functions, this has nothing to do with the process' stack. > 2. Is the PHP stack size configurable, either at run-time or at > compile-time? (That is, assuming it's defined by PHP and not a > resource limitation/setting in the OS). It's an OS limitation/problem, so you can't configure it in PHP. Derick -- Stop mad cowboy disease! ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php