[webkit-changes] [WebKit/WebKit] 66ec7a: Crash under NetworkResourceLoader::sendDidReceiveR...

Chris Dumez noreply at github.com
Thu Aug 10 08:46:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 66ec7a05017c92a85a3813c5897954b9a3bbaa3d
      https://github.com/WebKit/WebKit/commit/66ec7a05017c92a85a3813c5897954b9a3bbaa3d
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-08-10 (Thu, 10 Aug 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp

  Log Message:
  -----------
  Crash under NetworkResourceLoader::sendDidReceiveResponsePotentiallyInNewBrowsingContextGroup()
https://bugs.webkit.org/show_bug.cgi?id=260007
rdar://110454775

Reviewed by David Kilzer.

It looks like takeNetworkResourceLoader() returns null even though the
NetworkResourceLoader is still alive. I am not sure how this can happen though
I suspect it could be related to keptAlive loads.

I am dealing with this case to avoid the crash and adding error logging to
help figure out how this can happen.

* Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::sendDidReceiveResponsePotentiallyInNewBrowsingContextGroup):

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




More information about the webkit-changes mailing list