Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113387 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 95932 invoked from network); 4 Mar 2021 18:52:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Mar 2021 18:52:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 372511804DC for ; Thu, 4 Mar 2021 10:43:35 -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=-1.1 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_NEUTRAL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Thu, 4 Mar 2021 10:43:34 -0800 (PST) Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id CDDEC10C066; Thu, 4 Mar 2021 18:43:33 +0000 (GMT) Date: Thu, 4 Mar 2021 18:43:33 +0000 (GMT) X-X-Sender: derick@singlemalt.home.derickrethans.nl To: Dmitry Stogov cc: Nikita Popov , PHP Developers Mailing List In-Reply-To: Message-ID: References: User-Agent: Alpine 2.23 (DEB 453 2020-06-18) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: Recent changes to opcache cause crashes From: derick@php.net (Derick Rethans) 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