Repository navigation
fix: crash when a node-integrated iframe is removed before its loop starts - #53883
Merged
Conversation
…tarts A nodeIntegrationInSubFrames frame's NodeBindings only initializes its dummy_uv_handle_ from the task that first runs the frame's loop. A frame removed before that task ran destroyed a uv_async_t that never went through uv_async_init(), so uv_close() ran on uninitialized memory. UvHandle now value-initializes its handle, and reset() frees one that was never initialized instead of closing it. Fixes #53789. Co-authored-by: Samuel Attard <[email protected]>
MarshallOfSound
enabled auto-merge (squash)
September 13, 2026 06:53
MarshallOfSound
approved these changes
Sep 13, 2026
MarshallOfSound
deleted the
trop/45-x-y-bp-fix-crash-when-a-node-integrated-iframe-is-removed-before-its-loop-starts-1789282358877
branch
September 13, 2026 07:51
|
Release Notes Persisted
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #53833
See that PR for details.
Notes: Fixed a renderer crash when an iframe was removed right after loading with
nodeIntegrationInSubFramesenabled andsandboxdisabled, e.g. on pages that embed Meta Pixel.