UIProcess crash in WebPageProxy::reattachToWebProcess when web process crashes with an empty, new window. In radar as <rdar://problem/8860833> Windows backtrace (but can repro on Mac as well) > WebKit.dll!WebKit::WebPageProxy::reattachToWebProcessWithItem(WebKit::WebBackForwardListItem * item=0x00000000) Line 226 C++ WebKit.dll!WebKit::WebPageProxy::reload(bool reloadFromOrigin=false) Line 372 C++ WebKit.dll!WKPageReload(const OpaqueWKPage * pageRef=0x7f84db80) Line 88 C++ Safari.dll!Safari::BrowserContentViewController::reload() Line 2307 + 0x19 bytes C++ Safari.dll!Safari::BrowserPageLoaderClient::processDidExit(const Safari::WK::Page & page=0x7f84db80) Line 431 + 0x8 bytes C++ Safari.dll!Safari::WK::processDidExit(const OpaqueWKPage * pageRef=0x7f84db80, const void * clientInfo=0x7f848cf0) Line 206 C++ WebKit.dll!WebKit::WebPageProxy::processDidCrash() Line 2201 + 0xe bytes C++ WebKit.dll!WebKit::WebProcessProxy::didClose(CoreIPC::Connection * __formal=0x7ff39200) Line 303 + 0x8 bytes C++ WebKit.dll!CoreIPC::Connection::dispatchConnectionDidClose() Line 357
Happens on Mac, too. And happens anytime the WebProcess crashes before it's notified the UIProcess of the current item in a new frame. Null-check should suffice.
Created attachment 79370 [details] Patch v1
r76089