[php-src] Issue #12494: Zend/tests/arginfo_zpp_mismatch.phpt causes a segfault withJIT + --repeat 2
| From: | danog | Date: | Sun, 22 Oct 2023 16:50:48 +0000 |
| Subject: | [php-src] Issue #12494: Zend/tests/arginfo_zpp_mismatch.phpt causes a segfault withJIT + --repeat 2 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-245621@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/12494
Author: danog
### Description
The test fails with a segfault with any
--repeat value bigger than 1, if either
function or tracing JIT is enabled:
```
php run-tests.php Zend/tests/arginfo_zpp_mismatch.phpt --repeat 2
```
php.ini:
```
memory_limit = -1
zend.assertions = 1
display_errors = On
display_startup_errors = On
extension=gmp
extension=iconv
[opcache]
zend_extension=opcache
opcache.memory_consumption=4096M
opcache.enable=1
opcache.enable_cli=1
opcache.jit=tracing
opcache.validate_timestamps=0
opcache.jit_buffer_size=1G
opcache.file_update_protection=0
opcache.max_accelerated_files=1000000
opcache.interned_strings_buffer=64
opcache.file_cache=/tmp/opc
opcache.jit_prof_threshold=0.000000001
opcache.jit_max_root_traces= 30000000
opcache.jit_max_side_traces= 30000000
opcache.jit_max_exit_counters=30000000
opcache.jit_hot_loop=1
opcache.jit_hot_func=1
opcache.jit_hot_return=1
opcache.jit_hot_side_exit=1
opcache.jit_blacklist_root_trace=255
opcache.jit_blacklist_side_trace=255
opcache.protect_memory=1
```
### PHP Version
f09340905263d0abb7cb9d60dc2dd1c1a5737215
### Operating System
_No response_