Bug #79650 [PATCH]: php-win.exe 100% cpu lockup
| From: | cmb@php.net | Date: | Sun, 31 May 2020 11:32:53 +0000 |
| Subject: | Bug #79650 [PATCH]: php-win.exe 100% cpu lockup | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-227254@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79650&edit=1
ID: 79650
Patch added by: cmb@php.net
Reported by: lzqhwo at gmail dot com
Summary: php-win.exe 100% cpu lockup
Status: Verified
Type: Bug
Package: Scripting Engine problem
Operating System: Windows 10
PHP Version: 7.3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
The following pull request has been associated:
Patch Name: Fix #79650: php-win.exe 100% cpu lockup
On GitHub: https://github.com/php/php-src/pull/5652
Patch: https://github.com/php/php-src/pull/5652.patch
Previous Comments:
------------------------------------------------------------------------
[2020-05-31 11:31:03] cmb@php.net
> php-win.exe should execute script and complete with no output
> displayed.
Indeed. That is the behavior of PHP 7.2 and likely previous
versions as well.
------------------------------------------------------------------------
[2020-05-28 19:15:48] lzqhwo at gmail dot com
Description:
------------
php-win.exe locks up with 100% cpu usage when a significant amount of data is echoed.
Test script:
---------------
$str = "";
for ($x=0; $x<500; $x++) {
$str .= "aaa bbb ccc ";
}
echo wordwrap($str);
Expected result:
----------------
php-win.exe should execute script and complete with no output displayed.
Actual result:
--------------
php-win.exe locks up causing 100% cpu usage.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79650&edit=1