View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001919 | Xdebug | Code Coverage | public | 2020-12-18 14:57 | 2021-01-05 08:20 |
Reporter | mwijngaard | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 3.0.1 | ||||
Target Version | 3.0dev | Fixed in Version | 3.0.2 | ||
Summary | 0001919: Crash when enabling filter without the right mode active | ||||
Description | When running xdebug in just debug mode (no coverage or tracing) and using xdebug_set_filter. A segfault is generated when a file is included that does not pass the filter. I guess this would be solved by 0001800, but it probably should not segfault anyway. | ||||
Steps To Reproduce | Add the two files to the same folder and run test1.php with xdebug in debug mode. | ||||
Tags | No tags attached. | ||||
Attached Files | test1.php (188 bytes)
<?php if (function_exists('xdebug_set_filter')) { xdebug_set_filter(XDEBUG_FILTER_CODE_COVERAGE, XDEBUG_PATH_INCLUDE, [ __DIR__ . '/foo/', ]); } include_once __DIR__ . '/test2.php'; | ||||
Operating System | |||||
PHP Version | 8.0.0-8.0.4 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-18 14:57 | mwijngaard | New Issue | |
2020-12-18 14:57 | mwijngaard | File Added: test1.php | |
2020-12-18 14:57 | mwijngaard | File Added: test2.php | |
2020-12-18 14:59 | mwijngaard | Note Added: 0005601 | |
2020-12-23 12:08 | derick | Status | new => confirmed |
2020-12-23 12:08 | derick | Target Version | => 3.0dev |
2020-12-23 12:08 | derick | Summary | xdebug_set_filter causes segfault when coverage is not enabled => Crash when enabling filter without the right mode active |
2020-12-23 18:44 | derick | Assigned To | => derick |
2020-12-23 18:44 | derick | Status | confirmed => closed |
2020-12-23 18:44 | derick | Resolution | open => fixed |
2020-12-23 18:44 | derick | Fixed in Version | => 3.0.2 |
2021-01-05 08:20 | mwijngaard | Note Added: 0005635 |