Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28999 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69377 invoked by uid 1010); 24 Apr 2007 20:23:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 69362 invoked from network); 24 Apr 2007 20:23:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Apr 2007 20:23:02 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 82.94.239.5 cause and error) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Received: from [82.94.239.5] ([82.94.239.5:42952] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/81-60955-3276E264 for ; Tue, 24 Apr 2007 16:23:01 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id l3OKMuHY029972; Tue, 24 Apr 2007 22:22:56 +0200 Date: Tue, 24 Apr 2007 22:22:48 +0200 (CEST) X-X-Sender: derick@localhost To: =?iso-8859-2?q?Pawe=B3_Stradomski?= cc: internals@lists.php.net In-Reply-To: <200704242140.08487.pstradomski@gmail.com> Message-ID: References: <35.58.21560.7D6AD264@pb1.pair.com> <13.9B.60955.4A65E264@pb1.pair.com> <200704242140.08487.pstradomski@gmail.com> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Segfault in PHP 5.2.1 From: derick@php.net (Derick Rethans) On Tue, 24 Apr 2007, 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". > > > > 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. For debugging you install a debugger... which correctly warns you when this happens. See: http://xdebug.org/docs-settings.php#max_nesting_level regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org