View Issue Details

IDProjectCategoryView StatusLast Update
0001002XdebugUncategorizedpublic2013-11-11 10:54
Reporternusphere Assigned Toderick  
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.

Issue History

Date Modified Username Field Change
2013-11-11 01:32 nusphere New Issue
2013-11-11 01:34 nusphere Note Added: 0002606
2013-11-11 10:54 derick Note Added: 0002609
2013-11-11 10:54 derick Status new => resolved
2013-11-11 10:54 derick Resolution open => not fixable
2013-11-11 10:54 derick Assigned To => derick
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized