Skip to content

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

Merged
nornagon merged 2 commits into
electron:4-0-xfrom
trop-bot:4-0-x-bp-fix-ensure-that-file-descriptors-0-1-2-are-opened-at-startup-1542656770660
Nov 26, 2018
Merged

nornagon merged 2 commits into
electron:4-0-xfrom
trop-bot:4-0-x-bp-fix-ensure-that-file-descriptors-0-1-2-are-opened-at-startup-1542656770660

Conversation

@trop

@trop trop Bot commented Nov 19, 2018

Copy link
Copy Markdown
Contributor

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

release-clerk Bot commented Nov 26, 2018 •

Copy link
Copy Markdown

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