Skip to content
This repository was archived by the owner on May 16, 2026. It is now read-only.
This repository was archived by the owner on May 16, 2026. It is now read-only.

Exception Thrown WritablePipe.php(275) #4

@karl-malakoff

Description

@karl-malakoff

I've seen this exception thrown a couple times from WritablePipe.php. Due to the inability to catch exceptions thrown here it causes a crash. I haven't been able to investigate it further since it happens rarely and only while I'm not looking.

Fatal error: Uncaught RuntimeException: Can't shift from an empty datastructure in .\vendor\icicleio\stream\src\Pipe\WritablePipe.php:275
Stack trace:
#0 .\vendor\icicleio\stream\src\Pipe\WritablePipe.php(275): SplDoublyLinkedList->shift()
#1 .\vendor\icicleio\icicle\src\Loop\Watcher\Io.php(68): Icicle\Stream\Pipe\WritablePipe::Icicle\Stream\Pipe{closure}(Resource id #88334, true, Object(Icicle\Loop\Watcher\Io))
#2 .\vendor\icicleio\icicle\src\Loop\Manager\Select\SelectIoManager.php(67): Icicle\Loop\Watcher\Io->call(true)
#3 .\vendor\icicleio\icicle\src\Loop\Watcher\Timer.php(93): Icicle\Loop\Manager\Select\SelectIoManager->Icicle\Loop\Manager\Select{closure}(Object(Icicle\Loop\Watcher\Timer))
#4 .\vendor\icicleio\icicle\src\Loop\Manager\Select\SelectTimerManager.php(185): Icicle\Loop\Watcher\Timer->call()
#5 .\vendor\icicleio\icicle\src\Loop\SelectLoop.php(83): Icicle\Loop\Manager\Select\SelectTimerManager->tick()
#6 . in .\vendor\icicleio\stream\src\Pipe\WritablePipe.php on line 275

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions