Skip to content

fix: fsPromises.readFile renderer crash#29929

Merged
zcbenz merged 1 commit into12-x-yfrom
fix-context-crash-12
Jul 6, 2021
Merged

fix: fsPromises.readFile renderer crash#29929
zcbenz merged 1 commit into12-x-yfrom
fix-context-crash-12

Conversation

@codebytere
Copy link
Member

Description of Change

This was occurring because Node.js wasn't properly entering the v8::Context before resolving the Promise. This was fixed in nodejs/node#36413 which is present in v14.17.0 and beyond, and so needs to be backported only to v12 and v13.

Checklist

Release Notes

Notes: Fixed a possible renderer crash when using fsPromises.readFile.

@codebytere codebytere added semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking labels Jun 28, 2021
@codebytere codebytere requested a review from a team June 28, 2021 22:06
@codebytere codebytere requested a review from a team as a code owner June 28, 2021 22:06
@zcbenz zcbenz merged commit b11025a into 12-x-y Jul 6, 2021
@zcbenz zcbenz deleted the fix-context-crash-12 branch July 6, 2021 01:36
@release-clerk
Copy link

release-clerk bot commented Jul 6, 2021

Release Notes Persisted

Fixed a possible renderer crash when using fsPromises.readFile.

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

Labels

backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants