View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001457 | Xdebug | Uncategorized | public | 2017-07-20 13:58 | 2017-07-22 08:20 |
Reporter | alien_life_from | Assigned To | derick | ||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Platform | Linux | OS | CentOS | OS Version | 6.9 |
Summary | 0001457: set_time_limit(0) hangs indefinitely | ||||
Description | For a (apache) system where the xdebug extension is installed calling set_time_limit(0) a few times hangs indenfinitely, with httpd stuck at 99 %CPU Uninstalling the extension, the problem disappears. System details: OS: CentOS 6.9 | ||||
Steps To Reproduce | Run the following script a few times (less then 4 is usually enough) through the web browser:
If DISPLAY_ERROS is on, the following is displayed:
30 seconds is the value of max_execution_time in php.ini. Raising it to some high value, the scripts just keeps spinning untile the HTTP request times out. | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.1.0-7.1.4 | ||||
|
This should be fixed in Xdebug 2.5.4 - you seem to be running an older 2.5.3. |
|
True enough, but that's what the repo (webtatic) offers, so I have no "official" way to test that. (By the way CentOS7 - that tracks RHEL7 - is in somewhat worse shape, as fa as recent releases go, being at php-pecl-xdebug.x86_64 2.2.7-1.el7). I will try to see if pinging the repo maintainers works (they go no higher than 2.5.3 across all php versions). Fact is, the bug is quite stealthy: you do not need to activate the extension to trigger it, just installing the RPM is enough to cause extended breakage in all kind of applications. I ran across this while investigating misbehaviors in moodle on a machine where xdebug had been installed weeks ago for unrelated purposes, then let around disabled 'just in case'. |
|
Just installing the Xdebug extension shouldn't trigger this, but enabling them in php.ini or similar would. I am marking this as a duplicate, as this is fixed in a later version. |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-07-20 13:58 | alien_life_from | New Issue | |
2017-07-20 14:23 | derick | Note Added: 0004372 | |
2017-07-20 14:23 | derick | Assigned To | => derick |
2017-07-20 14:23 | derick | Status | new => feedback |
2017-07-20 15:08 | alien_life_from | Note Added: 0004373 | |
2017-07-20 15:08 | alien_life_from | Status | feedback => assigned |
2017-07-22 08:20 | derick | Note Added: 0004375 | |
2017-07-22 08:20 | derick | Status | assigned => resolved |
2017-07-22 08:20 | derick | Resolution | open => duplicate |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |