Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47652 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89439 invoked from network); 27 Mar 2010 12:10:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Mar 2010 12:10:00 -0000 Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.216 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.218.216 mail-bw0-f216.google.com Received: from [209.85.218.216] ([209.85.218.216:53878] helo=mail-bw0-f216.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/50-20638-695FDAB4 for ; Sat, 27 Mar 2010 07:09:59 -0500 Received: by bwz8 with SMTP id 8so3712776bwz.23 for ; Sat, 27 Mar 2010 05:09:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type; bh=MPQNiAY1N997R/js4IvFwluNAFlO353lbMhu445GUss=; b=G2vZRL49DnlyIeheGpUs41o88NQWETFm11w41AFF1a4Q0RzA7aY+SKIKmi0WCfnSB6 hqcUy6ee7/KI0VW3ur0VggoLlgKX3PhWL32mdXZLvHFb4sGS4g4WVf33qUFn896XPAG8 WH86yXjsmHsMvbIpWHwwdCCugtip5JZPYKOEA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=n6czJ7hLP+P1wGXUc4ztwI7GSztTNVzMqOE1MQCMFofoOJS1dC8XSb+IesTIcFvDH4 eSqLuEmyD8bCyPPFuw8aSOUiiyn+JRn9F3ZCc1nsP26KPVsIVoG51A/sOGwsk4h+M8AQ h24Kz+m5xqh5irQesUv7kbJSIIy5meuAdQa5Q= MIME-Version: 1.0 Received: by 10.204.67.206 with HTTP; Sat, 27 Mar 2010 05:09:55 -0700 (PDT) In-Reply-To: <56C17734-9D63-4758-83A4-071B4C46C567@gmail.com> References: <4BAB0190.8090103@cubiclesoft.com> <1269507195.1737.2.camel@guybrush> <4BAB281F.3030807@rowe-clan.net> <4BAC1C7E.2090409@cubiclesoft.com> <4BADA03F.6010301@cubiclesoft.com> <56C17734-9D63-4758-83A4-071B4C46C567@gmail.com> Date: Sat, 27 Mar 2010 13:09:55 +0100 Received: by 10.204.7.194 with SMTP id e2mr3439172bke.103.1269691795805; Sat, 27 Mar 2010 05:09:55 -0700 (PDT) Message-ID: To: Alexey Zakhlestin Cc: Thomas Hruska , internals@lists.php.net Content-Type: multipart/alternative; boundary=0015174c1b3676d73e0482c72817 Subject: Re: [PHP-DEV] How to trace a crash bug? From: tyra3l@gmail.com (Ferenc Kovacs) --0015174c1b3676d73e0482c72817 Content-Type: text/plain; charset=UTF-8 On Sat, Mar 27, 2010 at 11:00 AM, Alexey Zakhlestin wrote: > > On 27.03.2010, at 9:05, Thomas Hruska wrote: > > > One thought: Has a way to track call depth been considered (perhaps > _execute())? If the number of calls exceeds a certain (reasonable) number, > a warning or notice could be displayed and the output buffer flushed. That > way, when it crashes, there is a log of some sort for the function. Then > again, I don't know Zend well enough to make that sort of judgment call and > such a thing could affect performance. > > XDebug can do this. > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > And suhosin can prevent infininte recursion (bailing out with a fatal error instead of segfault). We had a discussion with Pierre that this(maximum recursion limit) should be in the core or not. Tyrael --0015174c1b3676d73e0482c72817--