View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001881 | Xdebug | Installation | public | 2020-11-05 16:13 | 2021-03-17 08:38 |
Reporter | rjung | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Product Version | 3.0.0beta1 | ||||
Summary | 0001881: Unterminated loop during unit test | ||||
Description | The DebugClient class tests/debugger/dbgp/dbgpclient.php contains a do-while read loop in function doRead(). When the script debugged in the PHP child process terminates due to an error, this is not detected and the following call to doRead() will loop unterminated. Observed on Solaris. The first attempt to read() from the socket after the child script error results on a ECONNRESET and all following ones simply will read zero bytes. I scripted a workaround but it is not particularly elegent: --- tests/debugger/dbgp/dbgpclient.php 2020-09-28 12:24:43.000000000 +0000
| ||||
Tags | test | ||||
Operating System | |||||
PHP Version | 8.0-dev | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-11-05 16:13 | rjung | New Issue | |
2020-11-05 16:13 | rjung | Tag Attached: test | |
2020-11-05 16:25 | derick | Assigned To | => derick |
2020-11-05 16:25 | derick | Status | new => feedback |
2020-11-05 16:25 | derick | Note Added: 0005501 | |
2021-03-17 08:38 | derick | Status | feedback => resolved |
2021-03-17 08:38 | derick | Resolution | open => suspended |
2021-03-17 08:38 | derick | Note Added: 0005721 |