View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002331 | Xdebug | Step Debugging | public | 2025-03-24 11:57 | 2025-05-14 09:36 |
| Reporter | hburger | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.4.2 | ||||
| Target Version | 3.4dev | Fixed in Version | 3.4.3 | ||
| Summary | 0002331: Segmentation fault with 'invalid' variable names | ||||
| Description | A segmentation fault happens when assigning any value to $GLOBALS using an index that ends with "-h" while step-debugging. Without an active breakpoint the script will run fine. I could reproduce it through Apache as well as CLI | ||||
| Steps To Reproduce | Using the attached example (test.php):
| ||||
| Additional Information | PHP-Version: PHP 8.4.5 (cli) (built: Mar 13 2025 17:27:36) (NTS) I ran the code inside a Docker Container using "debian:bookworm-slim" as the image and installed php/xdebug from sury | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 8.4-dev | ||||
|
|
This turns out to not be a problem with I have fixed the crash with https://github.com/xdebug/xdebug/pull/1003, but Xdebug still won't be able to show you the value for it. |