View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002306 | Xdebug | Uncategorized | public | 2024-12-03 07:57 | 2024-12-04 15:48 |
Reporter | mtassinari | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | WSL | OS | Ubuntu | OS Version | 22.04 |
Product Version | 3.4.0 | ||||
Summary | 0002306: Segmentation fault on each HTTP request when not listening to debugging connections | ||||
Description | After upgrading to PHP 8.4.1 with xDebug 3.4.0, I noticed that if I disable listening to incoming connections in PHPStorm, or if I disable step debugging using xDebug helper extension, I get an apache segmentation fault. If I re-enable listening to connections, even if I set no breakpoints, it seems to work correctly. Apache error logs just says: [Tue Dec 03 08:45:28.909764 2024] [core:notice] [pid 19961] AH00052: child pid 20192 exit signal Segmentation fault (11) while xDebug error log says: [28175] Log opened at 2024-12-03 07:51:48.886735 NOTE: I picked php8.4-dev in the selector as there is no option for PHP 8.4.1 | ||||
Additional Information | Here is some system info $ php -v $ httpd -v $ php -m xDebug config: Here, XDEBUG_REMOTE_HOST is an environment variable I set in the WSL by getting the output of the command ip route list | grep default | awk '{ print $3 }' In my setup, PHP is run as an apache module: $ httpd -DPHP -M | ||||
Tags | php8.4, segfault | ||||
Operating System | Windows Subsystem for Linux | ||||
PHP Version | 8.4-dev | ||||
|
I wanted to add that, I thought it might be a PHP issue, but even reverting to PHP 8.3 doesn't fix the issue. Also, I cannot revert to 3.3.2 as it seems not available anymore on the repository from which I installed it using apt, or at least apt doesn't find version 3.3.2 So, for the time being, I need to disable the extension. |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-12-03 07:57 | mtassinari | New Issue | |
2024-12-03 07:57 | mtassinari | Tag Attached: php8.4 | |
2024-12-03 07:57 | mtassinari | Tag Attached: segfault | |
2024-12-03 10:38 | mtassinari | Note Added: 0007111 |