View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002283 | Xdebug | Code Coverage | public | 2024-07-29 07:33 | 2024-10-08 15:22 |
Reporter | easteregg | Assigned To | derick | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 3.3.2 | ||||
Target Version | 3.3dev | ||||
Summary | 0002283: SoapClient usage causes segfault with codecoverage | ||||
Description | using the soapclient like this:
will cause a segfault, see provided github repository for a small reproducer. (gdb) bt full backtrace here: https://github.com/verfriemelt-dot-org/xdebug-soap-segfault/blob/main/backtrace.log | ||||
Steps To Reproduce | see https://github.com/verfriemelt-dot-org/xdebug-soap-segfault | ||||
Additional Information | $ php -v | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.3.5-8.3.9 | ||||
|
I can reproduce this, but I haven't managed to find out why this happens yet. I did manage to reduce your test case to even smaller - without having to use PHPUnit at all:
And running it with:
Code coverage does also not need to be enabled. |
|
just as an FYI, as of now, i found a viable workaround:
on my test does not trigger the crash shrug no idea why, but yeah |
|
This is likely caused by a bug in PHP (https://github.com/php/php-src/pull/16252), which should get fixed in the next PHP 8.2/8.3/8.4 releases. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-07-29 07:33 | easteregg | New Issue | |
2024-08-07 13:31 | derick | Assigned To | => derick |
2024-08-07 13:31 | derick | Status | new => confirmed |
2024-08-07 13:31 | derick | Note Added: 0007031 | |
2024-08-07 13:32 | derick | Target Version | => 3.3dev |
2024-09-01 18:45 | easteregg | Note Added: 0007048 | |
2024-10-08 15:22 | derick | Note Added: 0007063 |