Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91792 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22748 invoked from network); 20 Mar 2016 21:09:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Mar 2016 21:09:41 -0000 Authentication-Results: pb1.pair.com header.from=dz@heroku.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dz@heroku.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain heroku.com designates 74.125.82.53 as permitted sender) X-PHP-List-Original-Sender: dz@heroku.com X-Host-Fingerprint: 74.125.82.53 mail-wm0-f53.google.com Received: from [74.125.82.53] ([74.125.82.53:34108] helo=mail-wm0-f53.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/68-48999-3911FE65 for ; Sun, 20 Mar 2016 16:09:40 -0500 Received: by mail-wm0-f53.google.com with SMTP id p65so130769137wmp.1 for ; Sun, 20 Mar 2016 14:09:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heroku-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=1yJ1BRe9GZE9LPm9fBvUzGXMf3oxP/AhNzZCh3ACo+0=; b=HlLV5+z0Sunv0Gf5EMWeLhqHv1RCkTMATei93PrE/FUY190XwFE+dpfCXlgBumjOug J+/xnph8Xg8OOFkSKrIcuFiKibEKBZMBtZewB7tnSP6fxJWvT9+9k3q68U/45eDW10vn cEyg91CcE5biJpEbTqXPeQZ3RGp/vzpcuBaLKugsCvQe5z7it3a4Fo62Szv4SW/JtVIo EQBmfOW1vxyzb0hUK1CvI/arCc5oPNXnmVHNGAPstUF8RISlvr2gALuWuxWE4o4CoRfC exPbIoU8xBxuasx1oXYmR8cnjDVq1fgP75JN3JJM55VZuaeXPT5ee2+Ebi6GLmMpnMiO OHWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=1yJ1BRe9GZE9LPm9fBvUzGXMf3oxP/AhNzZCh3ACo+0=; b=dSnzk8aF38yCDal+bhkUJQjhnflivy0aDBNHvuoRBNeEQFKz5KvQgE9NQi6Rd2liM3 U3eI/Fe84gr1PFn+Wmzx1/lXfK9RFtQBnt9qVMI2DitBChM7OEaG1sdbfotz1lDeKVrZ 4ZEHqNTTmJJ3Q1lmyqKHMZBHLvhdnTMNz82qckNfmRZWMxl6BOeQ6beeRR1XUUBWoV6Y YrvsxNXy9DwOChQF4lcvYLV+aUdzt/0K9h4oU//Psh3NAonfcGDtnCGXS22lIKE351Vr 3ECUpz1xcjcKSNFGnIAnCl+qfcxBk2v12tACduXmCo8rBUtSaIJDtpshk4kBgs+tcX5g giYg== X-Gm-Message-State: AD7BkJJbEsIvIhqg/+C386nGA4v8mG10UzpUcmFma6OixqtBcdLiTXvONEJHXD0B/mBBc4qT X-Received: by 10.195.13.76 with SMTP id ew12mr30089635wjd.68.1458508176857; Sun, 20 Mar 2016 14:09:36 -0700 (PDT) Received: from [192.168.19.20] (ipb21b5588.dynamic.kabel-deutschland.de. [178.27.85.136]) by smtp.gmail.com with ESMTPSA id cb2sm22349369wjc.16.2016.03.20.14.09.35 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Mar 2016 14:09:35 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) In-Reply-To: <5E36AA30-831F-44BE-A148-8720B8E87E96@heroku.com> Date: Sun, 20 Mar 2016 22:09:35 +0100 Cc: Christoph Becker , Pierre Joye , PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: <94A89B0F-48BB-4DD8-A26B-3B6D2C8C2C9F@heroku.com> References: <55B0CADD.8000807@gmx.de> <55B136BE.8010006@gmx.de> <046401d0c644$9cf76880$d6e63980$@belski.net> <55B2B78A.4080202@gmx.de> <048001d0c665$ed19ec40$c74dc4c0$@belski.net> <55B2D779.9090409@gmx.de> <04d301d0c6e5$6b28f0c0$417ad240$@belski.net> <55B3B2E6.7080905@gmx.de> <056e01d0c7d9$b1edd990$15c98cb0$@belski.net> <55B559C7.9060304@gmx.de> <064301d0c85f$5260ac60$f7220520$@belski.net> <55C008B1.2050008@gmx.de> <05ec01d0ce97$4ee7c4e0$ecb74ea0$@belski.net> <55C09EE2.7010400@gmx.de> <063f01d0cec2$91b9baf0$b52d30d0$@belski.net> <55C0F908.2050708@gmx.de> <068e01d0cefb$6ffba3e0$4ff2eba0$@belski.net> <016e01d17ef7$cd8a2660$689e7320$@belski.net> <25D67B35-88FF-4A5C-9421-BAF482B32A96@heroku.com> <036501d17fc3$d51357e0$7f3a07a0$@belski.net> <5E36AA30-831F-44BE-A148-8720B8E87E96@heroku.com> To: Anatol Belski X-Mailer: Apple Mail (2.3112) Subject: Re: [PHP-DEV] PCRE JIT stack size limit From: dz@heroku.com (David Zuelke) > On 17.03.2016, at 05:22, David Zuelke wrote: >=20 >> On 16.03.2016, at 21:38, Anatol Belski wrote: >>=20 >> Hi, >>=20 >>> -----Original Message----- >>> From: David Zuelke [mailto:dz@heroku.com] >>> Sent: Tuesday, March 15, 2016 11:58 PM >>> To: Anatol Belski >>> Cc: Christoph Becker ; Pierre Joye >>> ; PHP internals >>> Subject: Re: [PHP-DEV] PCRE JIT stack size limit >>>=20 >>> Sure. So composer creates patterns to parse a file dynamically; I = have not >>> figured out why it only happens for some composer.json files (or = maybe it >>> happens for all of them and I just have not noticed), but this = example here I >>> extracted from a reproducibly failing "composer require" run; it = runs into the JIT >>> stack size limit on PHP 7 while it works fine on 5.x: >>>=20 >>> https://gist.github.com/dzuelke/cc64a630c14416eda3e9 >>>=20 >> I've just tried this on Debian Jessie and on Windows with the latest = 7.0.x builds, in both cases the error is PREG_BACKTRACK_LIMIT_ERROR. I'd = be next asking you to check the configuration. Runtime like system or = ini, or build config can affect this. Anyway, I don't see an issue with = PCRE JIT at the moment. >=20 > Sorry, I simplified the example too far. Updated it again to throw a = JIT stack limit error again (but works fine with "php -dpcre.jit=3D0"): >=20 > = https://gist.github.com/dzuelke/cc64a630c14416eda3e9/de7b7293798ac57b4f75d= 822dc22a625be0fe9df Were you able to reproduce this? :) David