Hi,
could you please give me some hint to debug a segmentation fault that I've when I enable the dbg extension?
this is my php version:
[root@dev centos]# php -v
PHP 7.2.29 (cli) (built: Mar 17 2020 11:36:1

( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with DBG v9.2.8, (C) 2000,2018, by Dmitri Dmitrienko
with Zend OPcache v7.2.29, Copyright (c) 1999-2018, by Zend Technologies
with Xdebug v2.9.3, Copyright (c) 2002-2020, by Derick Rethans
[root@dev centos]#
I've tried without xdebug, but doesn't solve anything.
The php scripts are able to run, but some stops at a certain time with a segmentation fault.
This happens with Magento too:
-bash-4.2$ bin/magento module:status
.... normal output...
segmentation fault
I'm using dbg-9.2.8-Linux\x86_64
In my php.ini I've:
zend.ze1_compatibility_mode Off
zend_extension="/usr/lib64/php/modules/dbg-php-7.2.so"
[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost 127.0.0.1 <some_ips> [::1]
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16
The problem happens in CLI. If I set debugger.enabled=off doesn't solve anything
Where can I start looking?