Bug #74410 [NEW]: stream_select() is broken on Windows Nanoserver
From: mattficken
Operating system: Windows Nanoserver
PHP version: 7.1.3
Package: Streams related
Bug Type: Bug
Bug description:stream_select() is broken on Windows Nanoserver
Description:
------------
stream_select() is broken by recent updates to Nanoserver, the reduced
resource edition of Windows Server (Nanoserver supports x64 applications
and enough windows APIs that PHP and most applications run on it like
any other edition of Windows, just with no GUI).
For standard streams, such as with proc_open from system_with_timeout()
function in run-tests.php, stream_select() will return
FALSE immediately regardless of any pending IO on those streams.
Ultimately, this is caused because recently Nanoserver
deprecated/stubbed MsgWaitForMultipleObjects(), which is used by
php_select() which is used
by PHP on regular Windows and Nanoserver (which only support select()
for sockets).
--
Edit bug report at https://bugs.php.net/bug.php?id=74410&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74410&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74410&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74410&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=74410&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=74410&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=74410&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=74410&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=74410&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=74410&r=support
Expected behavior: https://bugs.php.net/fix.php?id=74410&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=74410&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=74410&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=74410&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74410&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=74410&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=74410&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=74410&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74410&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=74410&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=74410&r=mysqlcfg
Thread (4 messages)
- mattficken@php.net