Edit report at https://bugs.php.net/bug.php?id=78119&edit=1
ID: 78119
Updated by: [email protected]
Reported by: v-altruo at microsoft dot com
Summary: server not running error
-Status: Verified
+Status: Duplicate
Type: Bug
Package: Testing related
Operating System: Windows
PHP Version: 7.3.6
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Thanks for the ping!
Some further debugging shows that there is indeed a segfault (aka.
access violation) in the CLI server, which is actually caused by
bug #78212, so I'm closing this ticket as duplicate.
Previous Comments:
------------------------------------------------------------------------
[2019-07-10 22:07:49] v-altruo at microsoft dot com
Similar error occurs for 7.3.7 for the following test:
ext\opcache\tests\bug78106.phpt
Again, only for all TS builds regardless of opcache on/off.
------------------------------------------------------------------------
[2019-06-28 14:50:14] [email protected]
Thanks! I can confirm the test failure. The exit code of the
server process hints at an access violation, which has to be
investigated.
By the way, the code in php_cli_server.inc, which checks that the
server is actually running, makes not much sense. The for loop is
supposed to be executed multiple times, but if the server process
is not running during the first pass, the code breaks out of the
loop. Also it makes not much sense to call fsockopen() before
checking the $status. It likely makes sense to overhaul this code
similar to commit d6480fa[1].
[1] <http://git.php.net/?p=php-src.git;a=commit;h=d6480fa231831feece7403a640b6037c11eec317>
------------------------------------------------------------------------
[2019-06-25 18:48:21] v-altruo at microsoft dot com
Similar error occurs for ext\opcache\tests\bug78106.phpt with php-7.3.7RC3.
Error occurs only for TS builds regardless opcache enabled/disabled.
------------------------------------------------------------------------
[2019-06-05 21:10:02] v-altruo at microsoft dot com
A similar error occurs for 'ext\opcache\tests\issue0149.phpt' with the same settings mentioned.
------------------------------------------------------------------------
[2019-06-05 21:04:40] v-altruo at microsoft dot com
Description:
------------
Test fails only for TS builds with opcache enabled.
Test file location: ext\opcache\tests\issue0115.phpt
Expected result:
----------------
Hello from Index 1.
Hello World 1!
Hello from Index 2.
Hello World 2!
Actual result:
--------------
Server is not running
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78119&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.