Skip to content

[StreamSelectLoop] Warning: Invalid CRT parameters detected #218

@Grygir

Description

@Grygir

Running IoServer with StreamSelectLoop on Windows 7 (64 bit SP1) leads to warning in error output:

Warning: Invalid CRT parameters detected in D:\projects.ll\Ratchet-examples\vendor\react\event-loop\React\EventLoop\StreamSelectLoop.php on line 124

Call Stack:
    0.0003     327416   1. {main}() D:\projects.ll\Ratchet-examples\bin\pubsub.php:0
    0.0857    1194472   2. Ratchet\Server\IoServer->run() D:\projects.ll\Ratchet-examples\bin\pubsub.php:18
    0.0857    1194472   3. React\EventLoop\StreamSelectLoop->run() D:\projects.ll\Ratchet-examples\vendor\cboden\Ratchet\src\Ratchet\Server\IoServer.php:76
    0.0857    1194504   4. React\EventLoop\StreamSelectLoop->tick() D:\projects.ll\Ratchet-examples\vendor\react\event-loop\React\EventLoop\StreamSelectLoop.php:162
    0.0858    1194536   5. React\EventLoop\StreamSelectLoop->runStreamSelect() D:\projects.ll\Ratchet-examples\vendor\react\event-loop\React\EventLoop\StreamSelectLoop.php:152
    0.0858    1194864   6. stream_select() D:\projects.ll\Ratchet-examples\vendor\react\event-loop\React\EventLoop\StreamSelectLoop.php:124

The problem seems to be related to https://bugs.php.net/bug.php?id=54563. Guess, specific of implementation stream_select() function for Windows OS or something.

Suppressing the warning with @stream_select() might be a partial solution, since the general functionality is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions