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 | derick | ||
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. |
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 | |
2024-11-27 16:02 | derick | Status | confirmed => feedback |
2024-11-27 16:02 | derick | Note Added: 0007092 | |
2024-11-27 16:43 | easteregg | Note Added: 0007100 | |
2024-11-27 16:43 | easteregg | Status | feedback => assigned |
2024-11-27 16:44 | easteregg | Note Added: 0007101 | |
2024-11-28 13:15 | derick | Status | assigned => resolved |
2024-11-28 13:15 | derick | Resolution | open => fixed |
2024-11-28 13:15 | derick | Fixed in Version | => 3.4dev |
2024-11-28 13:15 | derick | Note Added: 0007107 | |
2024-11-28 13:41 | derick | Fixed in Version | 3.4dev => 3.4.0 |