Re: [PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-11 Thread Derick Rethans
Hi Dmitry, I can confirm that it works locally again too now. cheers, Derick On Wed, 10 Mar 2021, Dmitry Stogov wrote: > This is fixed in master. > > Thanks. Dmitry. > > On Fri, Mar 5, 2021 at 4:43 PM Dennis Birkholz > wrote: > > > Hello, > > > > I was also able to reproduce the error. > >

Re: [PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-10 Thread Dmitry Stogov
This is fixed in master. Thanks. Dmitry. On Fri, Mar 5, 2021 at 4:43 PM Dennis Birkholz wrote: > Hello, > > I was also able to reproduce the error. > > I used the latest available "daily" cloud image for Debian Buster and > created a small recipe to reproduce. Hopefully this helps in finding th

Re: [PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-05 Thread Dennis Birkholz
Hello, I was also able to reproduce the error. I used the latest available "daily" cloud image for Debian Buster and created a small recipe to reproduce. Hopefully this helps in finding the problem. Greets Dennis wget "https://cloud.debian.org/images/cloud/buster/20210208-542/debian-10-nocloud

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-05 Thread Derick Rethans
On Fri, 5 Mar 2021, Dmitry Stogov wrote: > On Thu, Mar 4, 2021 at 11:49 PM Derick Rethans wrote: > > > On 4 March 2021 20:22:37 GMT, Dmitry Stogov > > wrote: > > >I can't reproduce this on Linux. > > > > > >[dmitry@tpl2 xdebug]$ php run-xdebug-tests.php -d opcache.enable=1 -d > > >opcache.enabl

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-05 Thread Dmitry Stogov
On Thu, Mar 4, 2021 at 11:49 PM Derick Rethans wrote: > On 4 March 2021 20:22:37 GMT, Dmitry Stogov > wrote: > >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/

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-04 Thread Derick Rethans
On 4 March 2021 20:22:37 GMT, Dmitry Stogov wrote: >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 >... >

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-04 Thread Dmitry Stogov
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/tra

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-04 Thread 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 al

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-04 Thread Dmitry Stogov
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 ru

[PHP-DEV] Re: Recent changes to opcache cause crashes

2021-03-04 Thread Derick Rethans
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 "opca

[PHP-DEV] Re: Recent changes to opcache cause crashes when loaded with Xdebug

2021-03-04 Thread Dmitry Stogov
We already made few significant changes in PHP-8.1. e.g. most classes and methods are immutable. It's not allowed to change them (this is the same as before, but now almost all of them are immutable). Use opcache.protect_memory=1 to catch potentially wrong modification. >From the quick look, I don