View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001992 | Xdebug | Code Coverage | public | 2021-07-08 18:35 | 2021-10-04 09:32 |
Reporter | ComiR | Assigned To | derick | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | MacBook Pro | OS | MacOS | OS Version | 10.15.7 |
Product Version | 3.0.4 | ||||
Target Version | 3.1dev | Fixed in Version | 3.1.0 | ||
Summary | 0001992: Code Coverage with filter produces Segmentation fault on xdebug_stop_code_coverage() | ||||
Description | Xdebug throws a Segmentation fault when xdebug_stop_code_coverage() is called, but nothing was covered.
| ||||
Steps To Reproduce |
Test 'Foo\Tests\BarTest::testNothing' started
| ||||
Additional Information | The segfault also occured in php 7.4.20, Xdebug 3.0.2 and also with PHPUnit 7.5.20 (with appropriate phpunit.xml). I ran the tests in a php docker container based on buster. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 7.4.10-7.4.19 | ||||
|
I can reproduce this, and much easier as well: derick@gargleblaster:/tmp/1992$ cat test.php derick@gargleblaster:/tmp/1992$ cat filter.php derick@gargleblaster:/tmp/1992$ php -dxdebug.mode=coverage -dauto_prepend_file=filter.php test.php |
|
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-07-08 18:35 | ComiR | New Issue | |
2021-07-08 18:35 | ComiR | File Added: foo.zip | |
2021-07-12 17:44 | derick | Assigned To | => derick |
2021-07-12 17:44 | derick | Status | new => confirmed |
2021-07-12 17:44 | derick | Note Added: 0005921 | |
2021-07-12 17:44 | derick | Target Version | => 3.1dev |
2021-07-12 17:44 | derick | Description Updated | |
2021-07-12 17:44 | derick | Steps to Reproduce Updated | |
2021-07-12 17:44 | derick | Additional Information Updated | |
2021-07-14 10:28 | derick | Note Added: 0005922 | |
2021-07-14 10:29 | derick | Status | confirmed => closed |
2021-07-14 10:29 | derick | Resolution | open => fixed |
2021-07-14 10:29 | derick | Fixed in Version | => 3.1dev |
2021-09-05 16:15 | derick | Fixed in Version | 3.1dev => 3.1.0beta1 |
2021-10-04 09:32 | derick | Fixed in Version | 3.1.0beta1 => 3.1.0 |