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

Changeset 242843 in webkit


Ignore:
Timestamp:
Mar 13, 2019, 12:05:30 AM (7 years ago)
Author:
bshafiei@apple.com
Message:

Cherry-pick r242629. rdar://problem/48716552

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.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242629 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Location:
branches/safari-607-branch/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/safari-607-branch/Source/WebKit/ChangeLog

    r242565 r242843  
     12019-03-12  Kocsen Chung  <kocsen_chung@apple.com>
     2
     3        Cherry-pick r242629. rdar://problem/48716552
     4
     5    Crash under RemoteLayerTreePropertyApplier::applyProperties
     6    https://bugs.webkit.org/show_bug.cgi?id=195448
     7    <rdar://problem/48588226>
     8   
     9    Reviewed by Simon Fraser.
     10   
     11    * UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
     12    (WebKit::RemoteLayerTreeHost::updateLayerTree):
     13    Under some currently-unknown circumstances, the UI process is receiving
     14    commits referring to layers that it does not know about.
     15    One understood case of this was fixed in r241899, but there seem to be
     16    cases remaining that are not understood.
     17    Also, add a release log so that we can identify any downstream effects.
     18   
     19   
     20    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
     21
     22    2019-03-07  Tim Horton  <timothy_horton@apple.com>
     23
     24            Crash under RemoteLayerTreePropertyApplier::applyProperties
     25            https://bugs.webkit.org/show_bug.cgi?id=195448
     26            <rdar://problem/48588226>
     27
     28            Reviewed by Simon Fraser.
     29
     30            * UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm:
     31            (WebKit::RemoteLayerTreeHost::updateLayerTree):
     32            Under some currently-unknown circumstances, the UI process is receiving
     33            commits referring to layers that it does not know about.
     34            One understood case of this was fixed in r241899, but there seem to be
     35            cases remaining that are not understood.
     36            Also, add a release log so that we can identify any downstream effects.
     37
    1382019-03-06  Kocsen Chung  <kocsen_chung@apple.com>
    239
  • branches/safari-607-branch/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm

    r238549 r242843  
    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.