View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002246 | Xdebug | Step Debugging | public | 2024-02-12 18:08 | 2024-07-18 13:31 |
Reporter | vlad.babayan | Assigned To | derick | ||
Priority | urgent | Severity | block | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
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) |
|
Can you provide the requested feedback please? |
|
Hi! |
|
This is my configuration: |
|
@derick |
|
Having exactly the same issue:
Deleting the XDEBUG_SESSION everything works fine. |
|
My config: |
|
Hi, any update on that ? Currently it is totally impossible to use Xdebug on any project using PHP 8.1 and even PHP 8.3 with XDebug Helper Chrome extension, because it adds XDEBUG_SESSION cookie to the requests. @se45ky could you also check and eventually confirm that it works for you when using query param instead of cookie ? |
|
By the way the easiest way to reproduce this (I think) is to install Laravel Herd for Windows, add some PHP version to it, download XDebug DLL, put it into and restart herd services. But I've had this problem also with |
|
The original reporter still has not a provided a way on how to reproduce this problem. There are currently several reported crash bugs where more than one person added information, but often with a different cause. This makes researching this challenging, especially because I still do not have a reproducible case. I am going to close this ticket (and the others), and will only accept issues related to crashes when there is a full reproducible case — the exact steps on how I could potentially try to have the same issue. |
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 | |
2024-05-06 10:24 | derick | Note Added: 0006934 | |
2024-05-27 10:46 | zaalbarxx | Note Added: 0006958 | |
2024-05-27 10:55 | zaalbarxx | Note Added: 0006959 | |
2024-05-27 10:55 | zaalbarxx | File Added: image.png | |
2024-05-27 11:01 | zaalbarxx | Note Added: 0006960 | |
2024-07-09 01:05 | se45ky | Note Added: 0006984 | |
2024-07-09 01:06 | se45ky | Note Added: 0006985 | |
2024-07-18 10:27 | zaalbarxx | Note Added: 0007006 | |
2024-07-18 10:30 | zaalbarxx | Note Added: 0007007 | |
2024-07-18 13:31 | derick | Status | feedback => resolved |
2024-07-18 13:31 | derick | Resolution | open => unable to reproduce |
2024-07-18 13:31 | derick | Note Added: 0007008 |