Bug #79864 [Opn]: JIT segfault in Symfony OptionsResolver

From: Date: Tue, 21 Jul 2020 09:27:37 +0000
Subject: Bug #79864 [Opn]: JIT segfault in Symfony OptionsResolver
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228157@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79864&edit=1 ID: 79864 Updated by: nikic@php.net Reported by: nikic@php.net Summary: JIT segfault in Symfony OptionsResolver Status: Open Type: Bug Package: opcache PHP Version: 8.0Git-2020-07-15 (Git) -Assigned To: +Assigned To: dmitry Block user comment: N Private report: N New Comment: @dmitry: If you have time, could you please take a look at this JIT crash? This if for the current default options (no tracing) and should be reproducible with: git clone git@github.com:symfony/symfony.git cd symfony composer install .../sapi/cli/php -c .../php.ini -d opcache.jit_buffer_size=1G ./phpunit src/Symfony/Component/OptionsResolver Previous Comments: ------------------------------------------------------------------------ [2020-07-15 10:24:34] nikic@php.net Description: ------------ After https://github.com/symfony/symfony/commit/d8338dc3586ccc5086bdaf4ffae83b84fb2a655d Symfony tests segfault: ~/php/php-src/sapi/cli/php -c ~/php/php-src/php.ini -d opcache.jit_buffer_size=1G ./phpunit src/Symfony/Component/OptionsResolver 0x0000555555de7f87 in i_zend_is_true (op=0x7ffff3e15420) at /home/nikic/php/php-src/Zend/zend_operators.h:378 378 if (EXPECTED(Z_OBJ_HT_P(op)->cast_object == zend_std_cast_object_tostring)) { (gdb) bt #0 0x0000555555de7f87 in i_zend_is_true (op=0x7ffff3e15420) at /home/nikic/php/php-src/Zend/zend_operators.h:378 #1 0x0000555555df040c in zend_is_true (op=0x7ffff3e15420) at /home/nikic/php/php-src/Zend/zend_operators.c:2451 #2 0x00007fffb3ed320b in ?? () #3 0x00007fffffffa4e0 in ?? () #4 0x0000555555e9956d in execute_ex (ex=0x7ffff3e14020) at /home/nikic/php/php-src/Zend/zend_vm_execute.h:52398 #5 0x0000555555e9e2ee in zend_execute (op_array=0x7ffff3e5c280, return_value=0x0) at /home/nikic/php/php-src/Zend/zend_vm_execute.h:56402 #6 0x0000555555df804a in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /home/nikic/php/php-src/Zend/zend.c:1667 #7 0x0000555555d5e9dd in php_execute_script (primary_file=0x7fffffffcb10) at /home/nikic/php/php-src/main/main.c:2537 #8 0x0000555555edd2c6 in do_cli (argc=7, argv=0x555556bbbac0) at /home/nikic/php/php-src/sapi/cli/php_cli.c:951 #9 0x0000555555ede3be in main (argc=7, argv=0x555556bbbac0) at /home/nikic/php/php-src/sapi/cli/php_cli.c:1349 The problematic function is OptionsResolver::verifyTypes(). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79864&edit=1

« previous php.bugs (#228157) next »