View Issue Details

IDProjectCategoryView StatusLast Update
0001528XdebugCode Coveragepublic2018-03-03 12:00
Reporterasystance Assigned Toderick  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionno change required 
PlatformLinuxOSUbuntuOS Version17.10
Product Version2.6.0 
Summary0001528: Segmentation fault when getting test coverage
Description

This may be similar to bug 0001382.

The setup is as follows:

One particular test runs fine, but when it's time to collect coverage, the CLI server always segfaults. There's a particular spot in the test where, if I skip the rest, everything works fine. The next step causes a form submission, which in turn makes the server run quite a bit of code.

Strangely, if I try to get the coverage information manually (through the server), it works fine. Maybe PHPUnit-Selenium sets

I'm running PHP-CLI (7.1.11-1-ubuntu0.17.10.1 and 7.1.14 built from source) and have tried xdebug 2.6.0, 2.5.5 and current master. I've had segfaults like these before after upgrading PHP, but up until now upgrading to the latest version of xdebug fixed that. Not this time, however.

How can I help debugging this? I can't create a minimal test case, but I am willing to set up an environment where we can run the code that causes the segfault.

TagsNo tags attached.
Operating SystemUbuntu 17.10
PHP Version7.1.10-7.1.14

Activities

asystance

2018-02-23 10:51

reporter   ~0004597

My apologies, xdebug isn't at fault at all here. If I start the CLI server without xdebug, it still segfaults.

Please close this bug while I hang my head in shame.

derick

2018-03-03 12:00

administrator   ~0004602

That's okay, no worries. Please do file a bug for the PHP project at https://bugs.php.net though if you haven't yet!

Issue History

Date Modified Username Field Change
2018-02-22 11:51 asystance New Issue
2018-02-23 10:51 asystance Note Added: 0004597
2018-03-03 12:00 derick Note Added: 0004602
2018-03-03 12:00 derick Status new => resolved
2018-03-03 12:00 derick Resolution open => no change required
2018-03-03 12:00 derick Assigned To => derick