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

Changeset 242629 in webkit


Ignore:
Timestamp:
Mar 7, 2019, 7:26:38 PM (7 years ago)
Author:
timothy_horton@apple.com
Message:

Crash under RemoteLayerTreePropertyApplier::applyProperties
https://bugs.webkit.org/show_bug.cgi?id=195448
<rdar://problem/48588226>

Reviewed by Simon Fraser.

  • UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:

(WebKit::RemoteLayerTreeHost::updateLayerTree):
Under some currently-unknown circumstances, the UI process is receiving
commits referring to layers that it does not know about.
One understood case of this was fixed in r241899, but there seem to be
cases remaining that are not understood.
Also, add a release log so that we can identify any downstream effects.

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r242628 r242629  
     12019-03-07  Tim Horton  <timothy_horton@apple.com>
     2
     3        Crash under RemoteLayerTreePropertyApplier::applyProperties
     4        https://bugs.webkit.org/show_bug.cgi?id=195448
     5        <rdar://problem/48588226>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
     10        (WebKit::RemoteLayerTreeHost::updateLayerTree):
     11        Under some currently-unknown circumstances, the UI process is receiving
     12        commits referring to layers that it does not know about.
     13        One understood case of this was fixed in r241899, but there seem to be
     14        cases remaining that are not understood.
     15        Also, add a release log so that we can identify any downstream effects.
     16
    1172019-03-07  Zalan Bujtas  <zalan@apple.com>
    218
  • trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm

    r240918 r242629  
    103103        ASSERT(node);
    104104
     105        if (!node) {
     106            // We have evidence that this can still happen, but don't know how (see r241899 for one already-fixed cause).
     107            RELEASE_LOG_IF_ALLOWED("%p RemoteLayerTreeHost::updateLayerTree - failed to find layer with ID %llu", this, layerID);
     108            continue;
     109        }
     110
    105111        if (properties.changedProperties.contains(RemoteLayerTreeTransaction::ClonedContentsChanged) && properties.clonedLayerID)
    106112            clonesToUpdate.append({ layerID, properties.clonedLayerID });
Note: See TracChangeset for help on using the changeset viewer.