Re: Segfault in HEAD

From: Date: Thu, 01 Apr 2004 08:43:49 +0000
Subject: Re: Segfault in HEAD
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-8851@lists.php.net to get a copy of this message
At 12:41 PM 4/1/2004 +0400, Antony Dovgal wrote:
On Thu, 01 Apr 2004 10:36:43 +0200 Andi Gutmans <andi@zend.com> wrote: Sterling, It's a stack overflow caused by an infinite loop in function calls (i.e. not while/for loop). So, it's ok and won't be fixed ?
This has been discussed many times. The only way to fix it in a platform independent way is to add if() checks to see that we're not reaching some arbitrary limit. This kind of sucks so we decided not to fix it. On multi-process Apache this is a good decision because it's no biggy if the server crashes. It might need to be fixed for MT-safe builds but there's always the question of what the arbitrary limit should be. It depends according to your script how much of the stack is being used. So the limit we give by default might be too high or too low. Andi

« previous php.internals (#8851) next »