View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002283 | Xdebug | Code Coverage | public | 2024-07-29 07:33 | 2024-11-28 13:41 |
| Reporter | easteregg | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.3.2 | ||||
| Target Version | 3.3dev | Fixed in Version | 3.4.0 | ||
| 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. |
|
|
Can you still reproduce this with PHP 8.3.14? |
|
|
uh, nice in fact it seems to be resolved :) |
|
|
no segfault anymore :) |
|
|
Thanks for letting me know. I'll close this then. |