Skip to content

Conversation

TimWolla
Copy link
Member

When a test process spawns a subprocess that keeps STDOUT open and then dies uncleanly, while writing something to STDERR run-tests.php would erroneously attempt to read from STDOUT and then get blocked until the subprocess dies (which might never happen).

When a test process spawns a subprocess that keeps STDOUT open and then dies
uncleanly, while writing something to STDERR `run-tests.php` would erroneously
attempt to read from `STDOUT` and then get blocked until the subprocess dies
(which might never happen).
@TimWolla TimWolla force-pushed the run-tests_stuck_when_subprocess_exists branch from 5e23c92 to f5973c8 Compare October 16, 2024 12:13
@TimWolla
Copy link
Member Author

@devnexen Do you happen to have an idea why this completely breaks on FreeBSD? And perhaps also for the ext/pcntl/tests/pcntl_unshare_02.phpt test on Linux x64? I'm unable to reproduce the latter on my local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant