Re: Segfault in PHP 5.2.1
| From: | Richard Lynch | Date: | Wed, 25 Apr 2007 00:32:22 +0000 |
| Subject: | Re: Segfault in PHP 5.2.1 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-29006@lists.php.net to get a copy of this message | ||
On Tue, April 24, 2007 2:40 pm, Pawe³ Stradomski wrote:
> Derick Rethans wrote:
>> On Tue, 24 Apr 2007, David Lindstrom wrote:
>> > Still, PHP should never segfault?
>>
>> Almost never... stack overflows are "okay".
>>
>> regards,
>> Derick
>>
>
> I' ve run into PHP segfaulting (infinte loop of two constructors)
> recently and
> I think it should not happen in any case - no matter if the PHP script
> running is buggy or not. I makes debugging difficult and brings
> unpredicatble
> results.
>
> Besides - it is not documented at all.
It would be nice if any known conditions to make PHP segfault could be
detected and avoided...
Though I have no idea how tricky it would be for a stack overflow on
so many platforms...
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?