[php-src] Issue #8133: Constants in Enum classes causes php-fpm worker to segfault
| From: | alshenetsky | Date: | Thu, 24 Feb 2022 00:14:53 +0000 |
| Subject: | [php-src] Issue #8133: Constants in Enum classes causes php-fpm worker to segfault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240000@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8133
Comment Author: alshenetsky
I failed at it. As far as I understand, gdb attaches to one of the fpm processes. But my php-fpm
(when compiled with --enable-debug) doesn't start at all. I should also clarify that I observe
this in a docker container inside a kubernetes pod.
Also, I cannot reproduce it running same script in CLI.
In answer to the second question:
```
php -i | grep "jit"
auto_globals_jit => On => On
pcre.jit => 1 => 1
opcache.jit => tracing => tracing
opcache.jit_bisect_limit => 0 => 0
opcache.jit_blacklist_root_trace => 16 => 16
opcache.jit_blacklist_side_trace => 8 => 8
opcache.jit_buffer_size => 0 => 0
opcache.jit_debug => 0 => 0
opcache.jit_hot_func => 127 => 127
opcache.jit_hot_loop => 64 => 64
opcache.jit_hot_return => 8 => 8
opcache.jit_hot_side_exit => 8 => 8
opcache.jit_max_exit_counters => 8192 => 8192
opcache.jit_max_loop_unrolls => 8 => 8
opcache.jit_max_polymorphic_calls => 2 => 2
opcache.jit_max_recursive_calls => 2 => 2
opcache.jit_max_recursive_returns => 2 => 2
opcache.jit_max_root_traces => 1024 => 1024
opcache.jit_max_side_traces => 128 => 128
opcache.jit_prof_threshold => 0.005 => 0.005
```