Title: [242629] trunk/Source/WebKit
- Revision
- 242629
- Author
- [email protected]
- Date
- 2019-03-07 19:26:38 -0800 (Thu, 07 Mar 2019)
Log 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.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (242628 => 242629)
--- trunk/Source/WebKit/ChangeLog 2019-03-08 03:21:14 UTC (rev 242628)
+++ trunk/Source/WebKit/ChangeLog 2019-03-08 03:26:38 UTC (rev 242629)
@@ -1,3 +1,19 @@
+2019-03-07 Tim Horton <[email protected]>
+
+ 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.
+
2019-03-07 Zalan Bujtas <[email protected]>
[ContentChangeObserver] Introduce fixed duration content observation
Modified: trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm (242628 => 242629)
--- trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm 2019-03-08 03:21:14 UTC (rev 242628)
+++ trunk/Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm 2019-03-08 03:26:38 UTC (rev 242629)
@@ -102,6 +102,12 @@
auto* node = nodeForID(layerID);
ASSERT(node);
+ if (!node) {
+ // We have evidence that this can still happen, but don't know how (see r241899 for one already-fixed cause).
+ RELEASE_LOG_IF_ALLOWED("%p RemoteLayerTreeHost::updateLayerTree - failed to find layer with ID %llu", this, layerID);
+ continue;
+ }
+
if (properties.changedProperties.contains(RemoteLayerTreeTransaction::ClonedContentsChanged) && properties.clonedLayerID)
clonesToUpdate.append({ layerID, properties.clonedLayerID });
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes