Re: Recent changes to opcache cause crashes

From: Date: Thu, 04 Mar 2021 18:43:33 +0000
Subject: Re: Recent changes to opcache cause crashes
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-113387@lists.php.net to get a copy of this message
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 <derick@php.net> 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


Thread (12 messages)

« previous php.internals (#113387) next »