View Issue Details

IDProjectCategoryView StatusLast Update
0001849XdebugUncategorizedpublic2021-04-14 16:01
Reporterdiez Assigned Toderick  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version2.9.6 
Summary0001849: PHP Crashes by Xdebug when numeric key in query string.
Description

PHP crashed by xdebug when input numeric key query in url:
http://arb.loc/_tt/assets/base.js?123=1
when text key - all ok: http://arb.loc/_tt/assets/base.js?text=1

$ php -v
PHP 7.4.5 (cli) (built: Apr 14 2020 16:17:34) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v2.9.4, Copyright (c) 2002-2020, by Derick Rethans

OR

$ php -v
PHP 7.4.10 (cli) (built: Sep 1 2020 16:52:21) ( NTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v2.9.6, Copyright (c) 2002-2020, by Derick Rethans

Crashed when try execute code (with debug or without debug)

throw new FileNotFoundException("File does not exist at path {$path}.");

spl_autoload_register(array($this, 'loadClass'), true, $prepend);

public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            includeFile($file);

            return true;  <=== crashed here!
        }
    }
Additional Information

trying random xdebug versions.

Faulting application name: php-cgi.exe, version: 7.4.10.0, timestamp: 0x5f4e7cb4
Faulting module name: php_xdebug.dll, version: 2.9.6.1, timestamp: 0x5ed0ebaa
Exception code: 0xc0000005
Error offset: 0x0000000000007ad9
Faulting Process ID: 0x9128
Faulting application start time: 0x01d68802e3300c88
Faulting Application Path: D: \ ospanel \ modules \ php \ PHP_7.4 \ php-cgi.exe
Faulting module path: d: \ ospanel \ modules \ php \ PHP_7.4 \ ext \ php_xdebug.dll
Report ID: b7b887d8-661e-428c-9138-a77b78772a07

TagsNo tags attached.
Attached Files
Screenshot_182.png (30,910 bytes)   
Screenshot_182.png (30,910 bytes)   
Screenshot_183.png (124,367 bytes)   
Screenshot_183.png (124,367 bytes)   
Screenshot_184.png (11,097 bytes)   
Screenshot_184.png (11,097 bytes)   
Screenshot_185.png (6,181 bytes)   
Screenshot_185.png (6,181 bytes)   
Operating SystemWindows 10 X64
PHP Version7.4.0-7.4.4

Activities

derick

2021-03-17 08:45

administrator   ~0005724

Is this still an issue with Xdebug 3.0.3 (or later)?

derick

2021-04-14 16:01

administrator   ~0005828

Closing this, as I can't either reproduce this, or not enough information has been provided, even after soliciting feedback again.

Issue History

Date Modified Username Field Change
2020-09-11 06:46 diez New Issue
2020-09-11 06:46 diez File Added: Screenshot_182.png
2020-09-11 06:46 diez File Added: Screenshot_183.png
2020-09-11 06:46 diez File Added: Screenshot_184.png
2020-09-11 06:46 diez File Added: Screenshot_185.png
2021-03-17 08:45 derick Assigned To => derick
2021-03-17 08:45 derick Status new => feedback
2021-03-17 08:45 derick Note Added: 0005724
2021-04-14 16:01 derick Status feedback => closed
2021-04-14 16:01 derick Resolution open => unable to reproduce
2021-04-14 16:01 derick Note Added: 0005828