Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 38e3c810c7afdf0fe789089fd9d1cbb01d706283
      
https://github.com/WebKit/WebKit/commit/38e3c810c7afdf0fe789089fd9d1cbb01d706283
  Author: Rupin Mittal <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  StabilityTracer: Crash in WebKit::WebPageProxy::activityStateDidChange
https://bugs.webkit.org/show_bug.cgi?id=320013
rdar://182529810

Reviewed by Alex Christensen.

We crash in WebPageProxy::activityStateDidChange() because WebPageProxy's
m_pageClient is null and we attempt to access it. This state is possible
when the WebViewImpl is being destroyed (it's the sole owner of PageClient)
but the WebPageProxy is still alive because something else refs it. Null
checking m_pageClient is common practice in the WebPageProxy code likely
for this reason. Since activityStateDidChange() relies on data from the
PageClient, we can early return if it isn't alive.

This is a speculative fix.

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::activityStateDidChange):

Canonical link: https://commits.webkit.org/317758@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to