Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113390 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 16186 invoked from network); 4 Mar 2021 20:32:01 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Mar 2021 20:32:01 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D82CA1804F6 for ; Thu, 4 Mar 2021 12:22:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 4 Mar 2021 12:22:50 -0800 (PST) Received: by mail-vs1-f47.google.com with SMTP id w76so3046229vsw.10 for ; Thu, 04 Mar 2021 12:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=r/r++14EexbwsvtStT3R8WJWK5w4hA9JmLhc5BHj+yw=; b=C+nClBiB1mklaWvXtgK7xqSPL+6iTgpJcWVnwAKm3h9svyKf/oiqaQXf3j6jImPvbG Mtj8xgORcE08Ulu3Wg8Uxhf4ENmC9sS5rILxao/Zdd2m18tgV0kLS9tBMwP/EHLxEwXf gtA5riD1C4l+0pv+A1sXXCNb49d0HL5X2QBQ24i5Nf/TKwlKKP2xQWYeR+4xxvdPT7Ox UvLEob8sOEc0ExByHI32itG5vBGfkJhTYGobHiV//UqbRBG7qoQGhGIEG2+MeEVzBLF0 WiM5B2qI1Timg31t30VnXTojrbvZd1b+DETGf3b/TS5kCl6RCH3Y/kpTLLAvMI7tciVZ rq7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=r/r++14EexbwsvtStT3R8WJWK5w4hA9JmLhc5BHj+yw=; b=futB4mJ7MYKbwWQbJvBRnEvOG15PO5hgpSHUpJCNb/jTt9OWhkUDhOMQpu4u9b7uV5 pGm4XfSrFANHZfoWjrhKkq/D13h9s3Ec0sd0ff6y/0IUJ0E0oWbXhX4HuKPG2o7YpsCU tlnjMxF49oui0hjp0AEw2ZkN2IBWrgx0QiF2NNW6IPVRl9wDodYJcOoEYEbFQNDnREkS qIKw7NapGgCt7cz3LKh7pRsBQocvovghKAy4KMr/vVtHLkdJEHss3FY1UxlNgx+dw2J1 LB/d6aO+HM359HGhQ//d6ABPz1KS6Ki/qQrMgm7bIWDo9oFhCP1Kb+mw0CR46ovmSszQ sHeA== X-Gm-Message-State: AOAM531pOrAT8kJcj4+cq0nJ+o7v1rO9tjN5Vwrg4/6ZYsEOKTAxjdjd DTguOPhtINXG5kOXuq9e5nu5zgtfpOzbkUunN84= X-Google-Smtp-Source: ABdhPJwH4xsv8M8ItBWwJoSjgrM3fWf0vRL1J+oZXsEpayfQHf7kyj0kH8O1pmnrxMeF9kOknM4bZaX7x/OR2t43s3c= X-Received: by 2002:a67:e90f:: with SMTP id c15mr4349287vso.46.1614889368939; Thu, 04 Mar 2021 12:22:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 4 Mar 2021 23:22:37 +0300 Message-ID: To: Derick Rethans Cc: Nikita Popov , PHP Developers Mailing List Content-Type: multipart/alternative; boundary="0000000000002ff1d905bcbbbbaf" Subject: Re: Recent changes to opcache cause crashes From: dmitrystogov@gmail.com (Dmitry Stogov) --0000000000002ff1d905bcbbbbaf Content-Type: text/plain; charset="UTF-8" I can't reproduce this on Linux. [dmitry@tpl2 xdebug]$ php run-xdebug-tests.php -d opcache.enable=1 -d opcache.enable_cli=1 -d opcache.optimization_level=-1 tests/tracing/functrace_typed_properties.phpt ... PHP_VERSION : 8.1.0-dev ... PASS Test for function traces with typed properties [tests/tracing/functrace_typed_properties.phpt] ... Thanks. Dmitry On Thu, Mar 4, 2021 at 9:43 PM Derick Rethans wrote: > Hi, > > It's not just my own build, see this one on OSX on Azure Pipelines (line > 427): > > > https://dev.azure.com/php-xdebug/Xdebug/_build/results?buildId=388&view=logs&j=fa4207ea-b23d-55f8-a438-8fcfe0ff1a84&t=a376e1dc-bcfe-530b-98ce-61c964f8af0f&l=425 > > Which is a build from scratch. > > And I've locally also just rebuild from scratch, but still getting the > same result. > > My build log: > http://derickrethans.nl/files/dump/master.log > > My configure line: > './configure' '--prefix=/usr/local/php/master' '--enable-debug' > '--with-gettext' '--with-gd' '--enable-gd' '--with-jpeg' > '--without-freetype' '--with-jpeg-dir=/usr' '--without-freetype-dir' > '--with-mysql=mysqlnd' '--enable-bcmath' '--with-readline' '--with-openssl' > '--without-esmtp' '--with-curl' '--with-sodium' '--with-ffi' > '--with-mysqli' '--enable-pcntl' '--enable-sockets' '--enable-zip' > '--with-zip' '--enable-memory-limit' '--with-mcrypt' '--with-libxml' > '--enable-libxml' '--with-iconv' '--enable-wddx' '--enable-calendar' > '--with-sqlite3' '--enable-spl' '--enable-pdo' '--with-pdo-mysql' > '--with-pdo-sqlite' '--with-ctype' '--with-bz2' '--enable-mbstring' > '--with-mime-magic' '--with-xmlrpc' '--with-zlib' > '--disable-zend-memory-manager' '--with-esmtp' '--with-xsl' '--enable-exif' > '--enable-soap' '--enable-ftp' '--enable-intl' '--enable-opcache' > '--enable-fpm' '--enable-fileinfo' '--with-pear' > > cheers, > Deric > > On Thu, 4 Mar 2021, Dmitry Stogov wrote: > > > I suppose, something is wrong with your build. > > This code works fine for me. > > Please, try full rebuild. > > > > Thanks. Dmitry. > > > > On Thu, Mar 4, 2021 at 9:00 PM Derick Rethans wrote: > > > > > Hi, > > > > > > turns out that this test fails even without Xdebug even loaded, so it's > > > not something on my side :-) > > > > > > Just run it as: > > > > > > wget > > > > https://derickrethans.nl/files/dump/xdebug_var_dump_typed_properties-text.php.txt > > > -O xdebug_var_dump_typed_properties-text.php > > > php -n -dzend_extension=opcache -d "opcache.enable=1" -d > > > "opcache.enable_cli=1" -d "opcache.optimization_level=-1" -f > > > xdebug_var_dump_typed_properties-text.php > > > > > > Result: > > > > > > php: /home/derick/dev/php/php-src.git/ext/opcache/zend_persist.c:327: > > > zend_accel_get_type_map_ptr: Assertion `ret > 2' failed. > > > Aborted > > > > > > > > > cheers, > > > Derick > > > > > > > > > > -- > PHP 7.4 Release Manager > Host of PHP Internals News: https://phpinternals.news > Like Xdebug? Consider supporting me: https://xdebug.org/support > https://derickrethans.nl | https://xdebug.org | https://dram.io > twitter: @derickr and @xdebug > --0000000000002ff1d905bcbbbbaf--