llaville / php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions
https://llaville.github.io/php-compatinfo-db/6.12/
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

[CI] PHP 8.2.0-dev produces segmentation fault #127

Closed llaville closed 2 years ago

llaville commented 2 years ago

Need to investigate why latest version of PHP 8.2.0 produces segmentation fault on db:create command.

Run fine with php-fpm version PHP 8.2.0-dev (cli) (built: Sep 23 2022 11:01:40) (NTS)

Fails with php-pfm version PHP 8.2.0-dev (cli) (built: Oct 13 2022 08:56:39) (NTS)

Confirmed locally with same docker image rebuilt !

llaville commented 2 years ago

I've just tested again with PHP 8.2.0RC4 and get same segmentation fault.

After test it with a fresh copy of PHP 8.2 (RC4) locally, and with help of Hardcore Debug Logger script (thanks to @lyrixx), I realized that it was a regression on last PHP 8.2 versions.

I've opened a PHP issue report at https://github.com/php/php-src/issues/9749

llaville commented 2 years ago

After many attempts, and with help of @cmb69 (thanks to him for his help on PHP report 9749), I've found origin of segmentation fault. xhprof should be disabled until a fix is available !

llaville commented 2 years ago

xhprof extension issue report opened at https://github.com/longxinH/xhprof/issues/71

llaville commented 2 years ago

Disabled temporary on GitHub Workflow [CI] by commit 9bf237d215b141e63eb73609b3007c7be88387f7 until a new xhprof version is released with a fix.