flaupretre / pecl-pcs

PHP Code Service
Other
25 stars 4 forks source link

Incompatibiliity with Xdebug v3 #19

Open remicollet opened 3 years ago

remicollet commented 3 years ago

When both extension are enabled

(gdb) bt
#0  xdebug_add_stack_frame (zdata=<optimized out>, zdata@entry=0x0, op_array=op_array@entry=0x7ffff727e1c0, type=type@entry=2)
    at /usr/src/debug/php-pecl-xdebug3-3.0.0~beta1-1.fc31.remi.7.3.x86_64/NTS/src/base/base.c:587
#1  0x00007ffff7529493 in xdebug_execute_ex (execute_data=0x7ffff721c030) at /usr/src/debug/php-pecl-xdebug3-3.0.0~beta1-1.fc31.remi.7.3.x86_64/NTS/src/base/base.c:725
#2  0x0000555555881a37 in zend_execute (op_array=<optimized out>, return_value=0x7fffffffbad0) at /usr/src/debug/php-7.3.23-1.fc31.remi.x86_64/Zend/zend_vm_execute.h:60944
#3  0x00007fffbaa1a36d in PCS_Loader_loadNode () from /usr/lib64/php/modules/pcs.so
#4  0x00007fffbaa1a4d1 in zm_activate_pcs () from /usr/lib64/php/modules/pcs.so
#5  0x00005555557fcf70 in zend_activate_modules () at /usr/src/debug/php-7.3.23-1.fc31.remi.x86_64/Zend/zend_API.c:2611
#6  0x00005555557979ac in php_request_startup () at /usr/src/debug/php-7.3.23-1.fc31.remi.x86_64/main/main.c:1827
#7  0x0000555555883ab4 in do_cli (argc=7, argv=0x5555559fe340) at /usr/src/debug/php-7.3.23-1.fc31.remi.x86_64/sapi/cli/php_cli.c:971
#8  0x00005555556630b8 in main (argc=7, argv=0x5555559fe340) at /usr/src/debug/php-7.3.23-1.fc31.remi.x86_64/sapi/cli/php_cli.c:1396

Also reported as https://bugs.xdebug.org/view.php?id=1864