View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002297 | Xdebug | Uncategorized | public | 2024-10-12 12:43 | 2025-11-25 14:22 |
| Reporter | schlndh | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | confirmed | Resolution | open | ||
| Product Version | 3.3.2 | ||||
| Target Version | 3.6dev | ||||
| Summary | 0002297: Crash in exception handler | ||||
| Description | I'm working on a web application which uses Tracy to catch and report errors. However, when I run into an exception with Xdebug enabled then PHP often crashes (SIGSEGV) inside of Tracy. I was able to reduce the issue down from thousands of lines of code to 3 small files by gradually inlining and removing code. At this point it seems that I can't remove any more code. | ||||
| Steps To Reproduce | Download the attached php and phtml files. Run index.php like this: php -n -d zend_extension=xdebug.so -d xdebug.mode=develop,debug index.php | ||||
| Additional Information | php -v: PHP 8.3.12 (cli) (built: Sep 29 2024 09:30:18) (NTS) The crash does NOT happen when Xdebug is not loaded. The crash also does NOT happen with USE_ZEND_ALLOC=0 ZEND_DONT_UNLOAD_MODULES=1. | ||||
| Tags | segfault | ||||
| Operating System | ArchLinux (kernel 6.11.2) | ||||
| PHP Version | 8.3.10-8.3.19 | ||||
|
|
I can indeed replicate this with your excellent reproducible case. Thanks! I'll have a look to see as to how to fix this. |
|
|
I can now reproduce this with a much smaller case:
Run with: |