Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:29007 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90095 invoked by uid 1010); 25 Apr 2007 00:34:28 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90080 invoked from network); 25 Apr 2007 00:34:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Apr 2007 00:34:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:4431] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D3/7F-60955-312AE264 for ; Tue, 24 Apr 2007 20:34:27 -0400 Received: (qmail 37085 invoked by uid 98); 25 Apr 2007 00:34:29 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3154. Clear:RC:1(127.0.0.1):. Processed in 0.073117 secs); 25 Apr 2007 00:34:29 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 25 Apr 2007 00:34:29 -0000 Received: from 216.230.84.67 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 24 Apr 2007 19:34:29 -0500 (CDT) Message-ID: <57028.216.230.84.67.1177461269.squirrel@www.l-i-e.com> In-Reply-To: References: <35.58.21560.7D6AD264@pb1.pair.com> <13.9B.60955.4A65E264@pb1.pair.com> <200704242140.08487.pstradomski@gmail.com> Date: Tue, 24 Apr 2007 19:34:29 -0500 (CDT) To: "Derick Rethans" Cc: =?iso-8859-1?Q?Pawe=B3_Stradomski?= , internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] Segfault in PHP 5.2.1 From: ceo@l-i-e.com ("Richard Lynch") On Tue, April 24, 2007 3:22 pm, Derick Rethans wrote: > 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 While this is certainly good advice, it seems to me that expecting every QA process to get complete code coverage and detect every possible combination of inputs that might overflow stack is just not realistic... Or am I missing something here? -- 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?