Skip to content

fix: osr crash on window close - #45573

Merged
codebytere merged 1 commit into
mainfrom
osr-crash-fix
Feb 14, 2025
Merged

codebytere merged 1 commit into
mainfrom
osr-crash-fix

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Closes #45486.
Refs CL:5909989.

Fixes a crash that occurred in OSR after the above CL, which called into a RenderWidgetHostDelegate function without checking whether or not the delegate had been previously detached. Also pull in some other dtor fixes from CEF - see here

Checklist

Release Notes

Notes: Fixed a crash that could occur in OSR on window close.

@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Feb 11, 2025
@codebytere codebytere added semver/patch backwards-compatible bug fixes target/34-x-y PR should also be added to the "34-x-y" branch. target/35-x-y PR should also be added to the "35-x-y" branch. labels Feb 11, 2025
@electron-cation electron-cation Bot removed the new-pr 🌱 PR opened recently label Feb 12, 2025
@ckerr

ckerr commented Feb 13, 2025 •

Copy link
Copy Markdown
Member

not ok 6 contentTracing stopRecording creates a temporary file when an empty string is passed
Failed to stop tracing
Error: Failed to stop tracing

I am seeing this in the Chromium roll as well, so I think this is a pre-existing flake rather than something new here or in the roll.

@codebytere WDYT about a separate PR to disable this test + a followup issue to re-enable it?

edit: #45612

@codebytere
codebytere merged commit 2af57c4 into main Feb 14, 2025
@release-clerk

release-clerk Bot commented Feb 14, 2025

Copy link
Copy Markdown

Release Notes Persisted

Fixed a crash that could occur in OSR on window close.

@codebytere
codebytere deleted the osr-crash-fix branch February 14, 2025 10:01
@trop

trop Bot commented Feb 14, 2025

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "34-x-y", please check out #45629

@trop trop Bot added in-flight/34-x-y and removed target/34-x-y PR should also be added to the "34-x-y" branch. labels Feb 14, 2025
@trop

trop Bot commented Feb 14, 2025

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "35-x-y", please check out #45630

@trop trop Bot added in-flight/35-x-y merged/35-x-y PR was merged to the "35-x-y" branch. and removed target/35-x-y PR should also be added to the "35-x-y" branch. in-flight/35-x-y in-flight/34-x-y labels Feb 14, 2025
@trop trop Bot added the merged/34-x-y PR was merged to the "34-x-y" branch. label Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/34-x-y PR was merged to the "34-x-y" branch. merged/35-x-y PR was merged to the "35-x-y" branch. semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

offscreen error

2 participants