Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure that file descriptors 0/1/2 are opened at startup (backport: 4-0-x) #15763

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Nov 19, 2018

Backport of #15555

See that PR for details.

Notes: Fixed a freeze when using the GPU in some configurations.

This fixes an issue where the gpu subprocess was writing messages to a
random pipe or socket. The standard file desciptors are closed in
chromium's subprocesses because of an unfortunate interaction with
libuv's tty handling code leaving them with the FD_CLOEXEC flag.
@trop trop bot requested a review from a team November 19, 2018 19:46
@trop trop bot added 4-2-x backport This is a backport PR labels Nov 19, 2018
@nornagon nornagon merged commit 3276ebf into electron:4-0-x Nov 26, 2018
@release-clerk
Copy link

release-clerk bot commented Nov 26, 2018

Release Notes Persisted

Fixed a freeze when using the GPU in some configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4-2-x backport This is a backport PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants