Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54791 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37396 invoked from network); 22 Aug 2011 10:38:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Aug 2011 10:38:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=kalle.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=kalle.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: kalle.php@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:39355] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8A/CA-13024-FB1325E4 for ; Mon, 22 Aug 2011 06:38:56 -0400 Received: by vxh24 with SMTP id 24so4406334vxh.29 for ; Mon, 22 Aug 2011 03:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3pakmiTSpN2wYW7kWCs11fsm+XrdxfOq9Ex1cVo3Y1A=; b=wJGu/cLbtkC2FqzBN0B8Ee72OKJa04ejmf7KNXz8Hcvfvkb0Wr/JV2Bj9uSNh2i2v9 KAtNVHjtfYIUKAb0vNq3xhK/QUON0m39w1CDDXEq8FPlkg5J9iumTH5UpeaIlQFdOyN4 v8xp3cQARuYYCqjbx9ZjY5hjlpax4YiA0PNyg= MIME-Version: 1.0 Received: by 10.220.203.137 with SMTP id fi9mr16957vcb.106.1314009532950; Mon, 22 Aug 2011 03:38:52 -0700 (PDT) Sender: kalle.php@gmail.com Received: by 10.220.158.213 with HTTP; Mon, 22 Aug 2011 03:38:52 -0700 (PDT) In-Reply-To: <78581403.20110822122727@gmail.com> References: <78581403.20110822122727@gmail.com> Date: Mon, 22 Aug 2011 06:38:52 -0400 X-Google-Sender-Auth: Wrt-EFPkCrUedRbEz30zR40Cbok Message-ID: To: speedy Cc: PHP Internals Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] php.exe crashes on infinite recursion (PHP 5.3.5) From: kalle@php.net (Kalle Sommer Nielsen) 2011/8/22 speedy : > Hello PHP dev crew, > > =A0 =A0 =A0The screenshot of the crash is in the attachment. > > =A0 =A0 =A0The problem is easily reproducible, just make a PHP function > =A0 =A0 =A0call itself. Infinite recursions have always crashed, while Dmitry patched some of those in the early 5.3 development it wasn't possible to cover all cases and there are many still existing. Such as: class A { public function __destruct() { new self; } } new A; They should all give out a memory limit error, but fixing such a thing don't have a big priority and is most likely to get marked as Bogus. Also check the database if you choose to report it, as there would be no need to open a new report if an already existing one is open or if one recently have been closed. --=20 regards, Kalle Sommer Nielsen kalle@php.net