View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002246 | Xdebug | Step Debugging | public | 2024-02-12 18:08 | 2024-04-15 13:47 |
Reporter | vlad.babayan | Assigned To | derick | ||
Priority | urgent | Severity | block | Reproducibility | always |
Status | feedback | Resolution | open | ||
Platform | AMD64 | OS | Windows 11 | OS Version | 22H2 |
Product Version | 3.3.1 | ||||
Summary | 0002246: Nginx + PHP-FPM 8.1.27 with Xdebug 3.3.1 502 Bad Gateway Error | ||||
Description | I have an Ubuntu 22.04 VirtualBox VM, with Docker installed on it with 2 containers - nginx:latest configured for fastcgi_pass and php-fpm:8.1.27-fpm. There is a simple 'Hello World' index.php. When I make a GET request with Postman to Nginx container, it gives 502 bad gateway error (with Xdebug 3.3.1). When I downgrade to Xdebug 3.2.2, it gives 200 OK. | ||||
Steps To Reproduce | Provision an Ubuntu 22.04 VM, Install Docker on it, run Nginx and PHP-FPM containers, configure them, install Xdebug on PHP-FPM container, make GET requests with Postman or even via browser. | ||||
Additional Information |
######## php.ini # (Xdebug Part)######## [xsl] [XDebug] ########### Nginx Conf########### server { | ||||
Tags | php8.1, xdebug | ||||
Operating System | Windows 11 22H2 | ||||
PHP Version | 8.1.10-8.1.19 | ||||
|
I had the same issue with PHP 8.1 and Xdebug 3.3.1 on an M2 Macbook Pro. Downgrading to 3.2.2 has worked for me also. |
|
same issue as well (PHP 8.1, Xdebug 3.3.2, M2 Macbook Pro), only when listening to xdebug connections (PhpStorm), downgrading to 3.2.2 worked. |
|
Xdebug 3.3.1* :) |
|
The latest working version is 3.3.0alpha2, starting from 3.3.0alpha3 there is this problem. |
|
I have the same crash. the backtrace points at Xdebug: GI___memmove_falkor () at ../sysdeps/aarch64/multiarch/memcpy_falkor.S:310 |
|
seeing that the backtrace points at the control socket, I have set
in my php.ini as I don't need this feature. This has solved the crash for me. |
|
|
|
I have released Xdebug 3.3.1, which could have fixed this issue. Can you please try it? (I don't think it will, but it would be good to test. And it does fix some other bugs too) |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-02-12 18:08 | vlad.babayan | New Issue | |
2024-02-12 18:08 | vlad.babayan | Tag Attached: php8.1 | |
2024-02-12 18:08 | vlad.babayan | Tag Attached: xdebug | |
2024-02-23 06:10 | incon | Note Added: 0006851 | |
2024-02-23 09:30 | RiseAndCry | Note Added: 0006852 | |
2024-02-23 09:40 | RiseAndCry | Note Added: 0006853 | |
2024-02-23 12:09 | vlad.babayan | Note Added: 0006854 | |
2024-02-29 12:25 | pilif | Note Added: 0006857 | |
2024-02-29 12:31 | pilif | Note Added: 0006858 | |
2024-03-01 01:40 | incon | Note Added: 0006859 | |
2024-04-15 13:47 | derick | Assigned To | => derick |
2024-04-15 13:47 | derick | Status | new => feedback |
2024-04-15 13:47 | derick | Note Added: 0006911 |