RESOLVED FIXED289096
REGRESSION(289248@main?): Null LocalFrame dereference during render tree teardown
https://bugs.webkit.org/show_bug.cgi?id=289096
Summary REGRESSION(289248@main?): Null LocalFrame dereference during render tree tear...
Charlie Wolfe
Reported 2025-03-04 10:45:08 PST
Crash data indicates that dereferencing a null LocalFrame during render tree teardown has recently become more likely. All crashes occur beneath the disconnectDescendantFrames call in Document::willBeRemovedFromFrame, which constructs a NavigationDisabler that previously held a RefPtr to LocalFrame but, after 289248@main, now holds a WeakPtr. Revert it to a RefPtr to speculatively fix this crash.
Attachments
Charlie Wolfe
Comment 1 2025-03-04 10:45:11 PST
Charlie Wolfe
Comment 2 2025-03-04 10:50:23 PST
EWS
Comment 3 2025-03-04 14:03:43 PST
Committed 291590@main (e4ba0ad28c51): <https://commits.webkit.org/291590@main> Reviewed commits have been landed. Closing PR #41858 and removing active labels.
EWS
Comment 4 2025-03-05 09:06:49 PST
Committed 289651.230@safari-7621-branch (b957e34486ff): <https://commits.webkit.org/289651.230@safari-7621-branch> Reviewed commits have been landed. Closing PR #2741 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.