Last active
October 14, 2021 00:45
-
-
Save shqking/ed865e0501c96a56fccf5d68a2695ed1 to your computer and use it in GitHub Desktop.
function JIT failed on lavarel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
# php vendor/bin/phpunit ./tests/Integration/Notifications/SendingNotificationsWithLocaleTest.php | |
PHPUnit 9.5.10 by Sebastian Bergmann and contributors. | |
Runtime: PHP 8.2.0-dev | |
Configuration: /opt/php-oss/framework/phpunit.xml.dist | |
......AddressSanitizer:DEADLYSIGNAL | |
================================================================= | |
==410160==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000348 (pc 0x7f28ee00886f bp 0x7ffe6a700290 sp 0x7ffe6a700210 T0) | |
==410160==The signal is caused by a READ memory access. | |
==410160==Hint: address points to the zero page. | |
#0 0x7f28ee00886e in zend_jit_fetch_obj_w_slow ext/opcache/jit/zend_jit_helpers.c:1565 | |
#1 0x489ae7a1 (/dev/zero (deleted)+0x80dc7a1) | |
AddressSanitizer can not provide additional info. | |
SUMMARY: AddressSanitizer: SEGV ext/opcache/jit/zend_jit_helpers.c:1565 in zend_jit_fetch_obj_w_slow | |
==410160==ABORTING | |
``` | |
Affected versions: | |
JIT/x86: all 6 combinations: NTS/ZTS, HYBRID/CALL+GRV/CALL+noGRV | |
JIT/arm64: only ZTS+HYBRID and ZTS+CALL+GRV | |
It seems that `zobj->handlers` at ext/opcache/jit/zend_jit_helpers.c:1565 is an invalid address, i.e. 0x348. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed by upstream in php/php-src@afeadc6 and php/php-src@28cca5d