View Issue Details

IDProjectCategoryView StatusLast Update
0001002XdebugUncategorizedpublic2013-11-11 10:54
Reporternusphere Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionnot fixable 
Product Version2.2.3 
Summary0001002: xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE); seems broken on ioncube files
Description

Hi,

i used PHPUnit at a IONCube proteced Framework. And everytime, when PHPUnit is running with XDebug CodeCoverage it crashes, but only when an IONCube File is loaded. (Not all files are "proteced" - only some Files from the framework kernel)

I figured out, it depends on the xdebug setting by the PHP Code Coverage Module.

After i change:

xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE);

into

xdebug_start_code_coverage(XDEBUG_CC_UNUSED);

it worked as aspected.

when both options are enabled, i got a segfault: 11

I hope it will fixed ;)

TagsNo tags attached.
Operating System
PHP Version5.3.20-5.3.24

Activities

nusphere

2013-11-11 01:34

reporter   ~0002606

ok - i saw http://xdebug.org/docs/install#compat ... pls close :(

derick

2013-11-11 10:54

administrator   ~0002609

As you've found out, it's simple not compatible. Xdebug's code analysis relays on the opcodes that the Zend engine provides, and IonCube changes this. As IonCube is closed source, I've no way of finding out what it does, and hence can not fix this.