MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001257XdebugUsage problems (Wrong Results)public2016-01-20 16:332016-02-27 15:58
Reporterdriusan 
Assigned Toderick 
PrioritynormalSeveritycrashReproducibilityhave not tried
StatusresolvedResolutionunable to reproduce 
PlatformLinuxOSCentOSOS Version6.7
Product Version2.4.0rc3 
Target VersionFixed in Version 
Summary0001257: Segmentation fault with XDEBUG_CC_UNUSED and built in PHP web server
DescriptionI 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 ReproducePut 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 InformationThe 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
Attached Files

- Relationships

-  Notes
(0003458)
derick (administrator)
2016-02-08 21:10

Is that the only code in the script? Does it still happen with 2.4.0RC4?
(0003523)
derick (administrator)
2016-02-27 15:58

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 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker