View Issue Details

IDProjectCategoryView StatusLast Update
0001257XdebugUncategorizedpublic2016-02-27 15:58
Reporterdriusan Assigned To 
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
Description

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

--
<?php
xdebug_start_code_coverage(XDEBUG_CC_UNUSED);

Start the built in php webserver
php -S 192.168.57.100:8080 -t .

Access 192.168.57.100:8080/test.php 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

Activities

derick

2016-02-08 21:10

administrator   ~0003458

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

derick

2016-02-27 15:58

administrator   ~0003523

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