Bug 158920

Summary: Crash in Page::diagnosticLoggingClient() under ResourceLoader::didReceiveResponse()
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, beidson, cdumez
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
crash log none

Description Alexey Proskuryakov 2016-06-19 17:39:06 PDT
Created attachment 281628 [details]
crash log

Saw this crash on a bot. It's crazy, we shouldn't be receiving resource loading messages when there is no page!

We had some substantial changes in loading code over the last couple of weeks, so could be a recent regression.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.WebCore             	0x000000010dbdd5e3 WebCore::Page::diagnosticLoggingClient() const + 35 (Page.cpp:767)
1   com.apple.WebCore             	0x000000010de1ed6d WebCore::ResourceLoader::didReceiveResponse(WebCore::ResourceResponse const&) + 429 (ResourceLoader.cpp:430)
2   com.apple.WebCore             	0x000000010dfae3a4 WebCore::SubresourceLoader::didReceiveResponse(WebCore::ResourceResponse const&) + 772 (SubresourceLoader.cpp:277)
3   com.apple.WebKit              	0x000000010b3af9d5 WebKit::WebResourceLoader::didReceiveResponse(WebCore::ResourceResponse const&, bool) + 65 (WebResourceLoader.cpp:126)
4   com.apple.WebKit              	0x000000010b3b04fb void IPC::handleMessage<Messages::WebResourceLoader::DidReceiveResponse, WebKit::WebResourceLoader, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool)>(IPC::MessageDecoder&, WebKit::WebResourceLoader*, void (WebKit::WebResourceLoader::*)(WebCore::ResourceResponse const&, bool)) + 133 (HandleMessage.h:93)
5   com.apple.WebKit              	0x000000010b1a65cf IPC::Connection::dispatchMessage(std::__1::unique_ptr<IPC::MessageDecoder, std::__1::default_delete<IPC::MessageDecoder> >) + 119 (Connection.cpp:920)