View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002028 | Xdebug | Installation | public | 2021-10-05 07:40 | 2021-10-07 16:34 |
Reporter | Otomatic | Assigned To | derick | ||
Priority | urgent | Severity | block | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
OS | Windows | OS Version | 10.0.19043.1266 | ||
Product Version | 3.1.0 | ||||
Summary | 0002028: Does not works - Restart Apache | ||||
Description | xDebug 3.1.0 doesn't work with all PHP versions 7.2.34, 7.3.31, 7.4.24, 8.0.11 | ||||
Steps To Reproduce | nformation: Below, the examples are given with Xdebug 3.0.4 which works correctly. It is by replacing 3.0.4 with 3.1.0 that the non-working and restarts of Apache appear. PHP used as an Apache module in httpd.conf xDebug is loaded as zend_extension in php.ini: phpinfo() = By the way, it seems strange to me that phpinfo() gives PHP 7.4.24 while xdebug_info() gives: And, despite the above configuration, the xDebug: E:/wamp64/logs/xdebug.log file is empty, even when intentionally generating PHP errors. | ||||
Additional Information | With xdebug 3.1.0 xdebug.log is | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.0.5-8.0.9 | ||||
|
With xdebug configuration in php.ini added: xdebug.log is: We can also see that the date/time informations are inconsistent and wrong. |
|
I can confirm this issue. If tracing is done in a ZTS environment on Windows 8.0+, xdebug_nanotime_context.win_precise_time_func is not properly initialized, and the wrong code path is taken, resulting in a division by zero, which causes the Apache worker process to be terminated. It seems to me that xdebug_nanotime_context needs to be a proper module global, which is initialized in GINIT. |
|
Duplicate of 0002024 |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-10-05 07:40 | Otomatic | New Issue | |
2021-10-05 12:25 | Otomatic | Note Added: 0006079 | |
2021-10-05 14:01 | cmb | Note Added: 0006082 | |
2021-10-07 16:34 | derick | Assigned To | => derick |
2021-10-07 16:34 | derick | Status | new => resolved |
2021-10-07 16:34 | derick | Resolution | open => duplicate |
2021-10-07 16:34 | derick | Note Added: 0006091 | |
2021-10-07 16:34 | derick | Relationship added | duplicate of 0002024 |