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

From: Date: Wed, 15 Jul 2020 10:24:34 +0000
Subject: Bug #79864 [NEW]: JIT segfault in Symfony OptionsResolver
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228066@lists.php.net to get a copy of this message
From: nikic Operating system: PHP version: 8.0Git-2020-07-15 (Git) Package: opcache Bug Type: Bug Bug description:JIT segfault in Symfony OptionsResolver 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 bug report at https://bugs.php.net/bug.php?id=79864&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79864&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79864&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79864&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79864&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79864&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79864&r=support Expected behavior: https://bugs.php.net/fix.php?id=79864&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79864&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79864&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79864&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79864&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79864&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79864&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79864&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79864&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79864&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79864&r=mysqlcfg

« previous php.bugs (#228066) next »