⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 236994 in webkit


Ignore:
Timestamp:
Oct 9, 2018, 5:31:33 PM (8 years ago)
Author:
youenn@apple.com
Message:

ASSERTION FAILED: m_cachesLocks.contains(sessionID) in WebKit::CacheStorageEngineConnection::dereference(PAL::SessionID, unsigned long long)
https://bugs.webkit.org/show_bug.cgi?id=190373
<rdar://problem/45106402>

Reviewed by Alex Christensen.

This assertion can be hit if:

  • WebProcess has a DOMCache
  • NetworkProcess crashes
  • WebProcess navigates and dereference DOMCache.

Remove this assertion as it is hit when a test is using testRunner.terminateNetworkProcess().

  • NetworkProcess/cache/CacheStorageEngineConnection.cpp:

(WebKit::CacheStorageEngineConnection::dereference):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r236990 r236994  
     12018-10-09  Youenn Fablet  <youenn@apple.com>
     2
     3        ASSERTION FAILED: m_cachesLocks.contains(sessionID) in WebKit::CacheStorageEngineConnection::dereference(PAL::SessionID, unsigned long long)
     4        https://bugs.webkit.org/show_bug.cgi?id=190373
     5        <rdar://problem/45106402>
     6
     7        Reviewed by Alex Christensen.
     8
     9        This assertion can be hit if:
     10        - WebProcess has a DOMCache
     11        - NetworkProcess crashes
     12        - WebProcess navigates and dereference DOMCache.
     13        Remove this assertion as it is hit when a test is using testRunner.terminateNetworkProcess().
     14
     15        * NetworkProcess/cache/CacheStorageEngineConnection.cpp:
     16        (WebKit::CacheStorageEngineConnection::dereference):
     17
    1182018-10-09  Jer Noble  <jer.noble@apple.com>
    219
  • trunk/Source/WebKit/NetworkProcess/cache/CacheStorageEngineConnection.cpp

    r235101 r236994  
    133133{
    134134    RELEASE_LOG_IF_ALLOWED("dereference cache %" PRIu64, cacheIdentifier);
    135     ASSERT(m_cachesLocks.contains(sessionID));
    136135    auto& references = m_cachesLocks.ensure(sessionID, []() {
    137136        return HashMap<CacheIdentifier, LockCount> { };
Note: See TracChangeset for help on using the changeset viewer.