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 <p...@dennis.birkholz.biz>
> 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 the
> > problem.
> >
> > Greets
> > Dennis
> >
> >
> > wget
> > "
> > https://cloud.debian.org/images/cloud/buster/20210208-542/debian-10-nocloud-amd64-20210208-542.tar.xz
> > "
> > tar -xvf "debian-10-nocloud-amd64-20210208-542.tar.xz"
> >
> > # Resized the image, 2GB is to small
> > dd if=/dev/zero bs=1M count=1 seek=20479 of=disk.raw
> > echo ", +" | /sbin/sfdisk -N 1 disk.raw
> > sudo losetup -f --show disk.raw
> > sudo partprobe /dev/loop0
> > sudo e2fsck -f /dev/loop0p1
> > sudo resize2fs /dev/loop0p1
> > sudo losetup -d /dev/loop0
> >
> > # create and start VM, e.g. with virt-manager
> >
> > # Inside VM
> > # Generate ssh host keys
> > dpkg-reconfigure openssh-server
> > # Change PermitRootLogin, PasswordAuthentication and
> > PermitEmptyPasswords to yes to login without password/key
> > systemctl restart sshd.service
> >
> > apt install git autoconf make gcc g++ pkg-config bison re2c libssl-dev
> > libxml2-dev libsqlite3-dev zlib1g-dev libbz2-dev libcurl4-openssl-dev
> > libpng-dev libjpeg-dev libonig-dev libreadline-dev libsodium-dev
> > libxslt1-dev libzip-dev libffi-dev
> >
> > git clone https://github.com/php/php-src
> > cd php-src
> > ./buildconf
> > ./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'
> > make && make install
> >
> > cd ~
> > wget
> > "
> > https://derickrethans.nl/files/dump/xdebug_var_dump_typed_properties-text.php.txt
> > "
> > -O "xdebug_var_dump_typed_properties-text.php"
> > /usr/local/php/master/bin/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
> >
> >
> > Am 04.03.21 um 19:14 schrieb 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 <der...@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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to