View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002342 | Xdebug | Tracing | public | 2025-04-27 08:30 | 2025-04-27 22:14 |
Reporter | thecrypto | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 3.4.2 | ||||
Summary | 0002342: Segfault in PHP-FPM on Alpine when xdebug.start_with_request=yes and calling StripeClient->subscriptions->all() | ||||
Description | Running Xdebug 3.4.2 on PHP 8.4.6-fpm-alpine3.21 (Docker). As soon as xdebug.start_with_request = yes is set, any call to \Stripe\StripeClient->subscriptions->all(...) crashes the FPM worker with SIGSEGV inside Xdebug’s trace_textual.c::add_arguments. Other endpoints (e.g. customers->all()) complete normally. Changing xdebug.start_with_request to no (even with trace still enabled) eliminates the crash. | ||||
Steps To Reproduce |
| ||||
Additional Information | • Only subscriptions->all() triggers the crash | ||||
Tags | alpine, bug, php-fpm, segfault, stripe-php, tracing, xdebug | ||||
Operating System | Alpine 3.21 (Docker) | ||||
PHP Version | 8.4-dev | ||||
|
Appears as though the sample (zip) files I provided when creating this case, did not attach to the request. Trying again... |
|
Apologies, please disregard previous zip as it was missing php.ini and an empty vendor folder required for the docker compose file. Please use this instead to easily reproduce the segmentation fault. |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-04-27 08:30 | thecrypto | New Issue | |
2025-04-27 08:30 | thecrypto | Tag Attached: alpine | |
2025-04-27 08:30 | thecrypto | Tag Attached: bug | |
2025-04-27 08:30 | thecrypto | Tag Attached: php-fpm | |
2025-04-27 08:30 | thecrypto | Tag Attached: segfault | |
2025-04-27 08:30 | thecrypto | Tag Attached: stripe-php | |
2025-04-27 08:30 | thecrypto | Tag Attached: tracing | |
2025-04-27 08:30 | thecrypto | Tag Attached: xdebug | |
2025-04-27 21:26 | thecrypto | Note Added: 0007262 | |
2025-04-27 21:26 | thecrypto | File Added: docker-sample.zip | |
2025-04-27 22:14 | thecrypto | Note Added: 0007263 | |
2025-04-27 22:14 | thecrypto | File Added: docker-sample-250428.zip |