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 | |||
| 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. | ||||
| 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 |
|
|
|