Edit report at https://bugs.php.net/bug.php?id=78119&edit=1

 ID:                 78119
 Updated by:         c...@php.net
 Reported by:        v-altruo at microsoft dot com
 Summary:            server not running error
-Status:             Open
+Status:             Verified
 Type:               Bug
 Package:            Testing related
 Operating System:   Windows
 PHP Version:        7.3.6
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

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>


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to