Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77096 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7719 invoked from network); 8 Sep 2014 07:26:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2014 07:26:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.174 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.174 mail-vc0-f174.google.com Received: from [209.85.220.174] ([209.85.220.174:35383] helo=mail-vc0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/91-26504-51A5D045 for ; Mon, 08 Sep 2014 03:26:14 -0400 Received: by mail-vc0-f174.google.com with SMTP id hy10so709347vcb.33 for ; Mon, 08 Sep 2014 00:26:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to:cc :content-type; bh=MwfJb729Xw9ga463aF22L2OlgKzjUcRR6nj99DjAVdM=; b=jQLhagiwb7Rlm310+y3YquzPMcu/rgbVScjm1AZyBYIV0oXUei2owVH39/6HHl1g5L 2R5IIQm2zgKT2Rr/kMBvLWSyL7deBP6xRUgH8rk6o81oCkhzW+zHzB4xfGFdZFsZSlKx ItRuT1EvXIPcTyYnGMpxcgMB28o/zigGZoIDXcGnMvobgZa/AG1ED2x5g1fltgdyt3P1 HOBXnawpv/c3rY3APkH+uPEMMbTil/Qkkv/YF5VBY3I+MIMY/YOFYyfwkOpvhOlHX4GM ORv1eeiw0tiFSCGQcIKNEb8DH2bbClP7pUCUH46uLYb/4skjExD8FtVXr2A3HuDYlAPf dClg== X-Gm-Message-State: ALoCoQnwt1esBxN/0TWtpIvyuZz90Cx659dkrlDw4qJaNqmTv0S5RYtYhkOLmEzyxesS5cUiwgjG4y/XLLwK/ldqfOAStm10ea0nc3ZX1pqDKHsUjkenQHq2IzKqSXk/9hj71jeTA7pPNEaBeDg3rsRuh+tgtwYp3w== MIME-Version: 1.0 X-Received: by 10.221.49.133 with SMTP id va5mr4613095vcb.37.1410161170717; Mon, 08 Sep 2014 00:26:10 -0700 (PDT) Received: by 10.52.110.170 with HTTP; Mon, 8 Sep 2014 00:26:10 -0700 (PDT) Date: Mon, 8 Sep 2014 11:26:10 +0400 Message-ID: To: Nikita Popov Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a113397e4a8361c050288bb69 Subject: Memory corruptions related to AST patch From: dmitry@zend.com (Dmitry Stogov) --001a113397e4a8361c050288bb69 Content-Type: text/plain; charset=UTF-8 Hi Nikita, On weekend I ran PHP test suite with valgrind and opcache. I noticed few new tests failures, that most probably introduced by AST patch. Bug #21820 ("$arr['foo']" generates bogus E_NOTICE, should be E_PARSE) [tests/lang/bug21820.phpt] Bug #66286: Incorrect object comparison with inheritance [Zend/tests/bug66286.phpt] unbraced complex variable replacement test (heredoc) [Zend/tests/heredoc_005.phpt] isset() can be used on dereferences of temporary expressions [Zend/tests/varSyntax/issetOnTemp.phpt] I suppose they indicate two different problems. One of them indicates that some zvals became a subject for GC, however they won't before. This may be fixed in opcache, but it's better to understand what was changed. Please take a look. Thanks. Dmitry. --001a113397e4a8361c050288bb69--