View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002311 | Xdebug | Uncategorized | public | 2024-12-24 10:14 | 2025-01-19 09:45 |
| Reporter | stanilnytskyi | Assigned To | |||
| Priority | high | Severity | crash | Reproducibility | always |
| Status | assigned | Resolution | open | ||
| Product Version | 3.4.0 | ||||
| Summary | 0002311: Segmentation fault on xdebug 3.4.0 | ||||
| Description | After upgrading from 3.2.1 to 3.4.0 some composer scripts are failing. | ||||
| Steps To Reproduce | I attach my docker reproducer (just build container, all files and dependencies already included) The docker: The video: I just run a script inside attached reproducer: | ||||
| Additional Information | Interestingly it work if xdebug mode is off
I tried to dig into the code and found it starts to fail after calling
The method does not seem to be unusual, it's just a class like this: https://github.com/magento/magento-cloud-patches/blob/1.1.2/src/Command/Process/Action/ReviewAppliedAction.php We upgraded form xdebug 3.2.1 The debugger config can be seen in ini files and .env. We usually put xdebug into XDEBUG_MODE=develop,debug and enable listener on demand. | ||||
| Tags | crash, segfault | ||||
| Operating System | Linux | ||||
| PHP Version | 8.1.20-8.1.29 | ||||
|
|
Please follow the instructions at https://xdebug.org/reporting-bugs while reporting bug reports. This is however possibly a duplicate of https://bugs.xdebug.org/view.php?id=2307, which has reportedly been fixed with https://github.com/xdebug/xdebug/pull/987, and is part of the cheers, |
|
|
Thanks for your reply, I am not sure if this is exact duplicate of https://bugs.xdebug.org/view.php?id=2307 To check if mentioned fix help should we to try to compile xdebug from latest |
|
|
Xdebug 3.4.1 will be released imminently (an hour), so wait for that. |
|
|
On our side we still have the issue even after upgrading Xdebug to last release PHP 8.3.15 (cli) (built: Dec 24 2024 22:23:49) (NTS) |
|
|
@NicolasD — Xdebug does not support being loaded with ionCube at the same time. Can you disable that? And if you can still reproduce it, please create a new issue as it is likely different than this one. |
|
|
I did some extended testing with my reproducer and xdebug 3.4.1 The issue still present Works OK: Works NOT OK: I use this env Current setup: PHP 8.1.23 (cli) (built: Sep 20 2023 19:22:02) (NTS) I wondered if XDEBUG_MODE=develop might conflict with other profilers like blackfire and spx due to function overloading or neighbors decorators overlapping. But it previously worked just fine to me. I also followed some steps with GDB and got this result: Starting program: /usr/local/bin/php ./vendor/bin/magento-patches -n status Program received signal SIGSEGV, Segmentation fault. full output in gdb.txt |
|
|
Do you still get this error without blackfire too? |