View Issue Details

IDProjectCategoryView StatusLast Update
0001257XdebugUncategorizedpublic2016-02-27 15:58
Reporterdriusan Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status resolvedResolutionunable to reproduce 
PlatformLinuxOSCentOSOS Version6.7
Product Version2.4.0rc3 
Summary0001257: Segmentation fault with XDEBUG_CC_UNUSED and built in PHP web server

I have PHP 7.0.2 and xdebug 2.4.0RC3 installed on CentOS using yum and the webtatic repo.

When I try using x_debug_start_code_coverage(XDEBUG_CC_UNUSED), I get a segmentation fault in PHP.

Steps To Reproduce

Put the following code into a file named test.php


Start the built in php webserver
php -S -t .

Access in a web browser (may take 1 or 2 reloads, but it's pretty consistent.) PHP crashes.

Additional Information

The segmentation fault doesn't happen if I take out XDEBUG_CC_UNUSED and just use "x_debug_start_code_coverage()".

TagsNo tags attached.
Operating System
PHP Version7.0.0-7.0.4



2016-02-08 21:10

administrator   ~0003458

Is that the only code in the script? Does it still happen with 2.4.0RC4?


2016-02-27 15:58

administrator   ~0003523

Closing this out, as I can't reproduce this and not reproducible case was submitted.

Issue History

Date Modified Username Field Change
2016-01-20 16:33 driusan New Issue
2016-02-08 21:10 derick Note Added: 0003458
2016-02-08 21:10 derick Assigned To => derick
2016-02-08 21:10 derick Status new => feedback
2016-02-27 15:58 derick Note Added: 0003523
2016-02-27 15:58 derick Status feedback => resolved
2016-02-27 15:58 derick Resolution open => unable to reproduce
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