Bug 253849

Summary: REGRESSION (261543@main): Assertions in layout tests with UI-side compositing enabled
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Fraser (smfr) 2023-03-13 14:31:34 PDT
261543@main caused this assertion when UI-side compositing is enabled:

ASSERTION FAILED: m_layerHitTestMutex.isLocked()
/Volumes/Data/worker/Apple-Ventura-Debug-Build/build/Source/WebKit/UIProcess/RemoteLayerTree/mac/RemoteScrollingTreeMac.mm(322) : virtual RefPtr<WebCore::ScrollingTreeNode> WebKit::RemoteScrollingTreeMac::scrollingNodeForPoint(WebCore::FloatPoint)
1   0x115994459 WTFCrash
2   0x14cf0307b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x14e830d81 WebKit::RemoteScrollingTreeMac::scrollingNodeForPoint(WebCore::FloatPoint)
4   0x1247e4313 WebCore::ScrollingTree::handleWheelEvent(WebCore::PlatformWheelEvent const&, WTF::OptionSet<WebCore::WheelEventProcessingSteps>)::$_3::operator()() const
5   0x1247e3e40 WebCore::ScrollingTree::handleWheelEvent(WebCore::PlatformWheelEvent const&, WTF::OptionSet<WebCore::WheelEventProcessingSteps>)
6   0x14f04249a WebKit::RemoteLayerTreeEventDispatcher::internalHandleWheelEvent(WebCore::PlatformWheelEvent const&, WTF::OptionSet<WebCore::WheelEventProcessingSteps>)
7   0x14f042247 WebKit::RemoteLayerTreeEventDispatcher::scrollingThreadHandleWheelEvent(WebKit::WebWheelEvent const&, WebCore::RectEdges<bool>)
8   0x14f059ad8 WebKit::RemoteLayerTreeEventDispatcher::handleWheelEvent(WebKit::NativeWebWheelEvent const&, WebCore::RectEdges<bool>)::$_10::operator()() const
9   0x14f0599e9 WTF::Detail::CallableWrapper<WebKit::RemoteLayerTreeEventDispatcher::handleWheelEvent(WebKit::NativeWebWheelEvent const&, WebCore::RectEdges<bool>)::$_10, void>::call()
Comment 1 Radar WebKit Bug Importer 2023-03-13 14:31:55 PDT
<rdar://problem/106664560>
Comment 2 Simon Fraser (smfr) 2023-03-13 14:37:35 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11462
Comment 3 EWS 2023-03-14 10:13:51 PDT
Committed 261637@main (3e62e3f64bae): <https://commits.webkit.org/261637@main>

Reviewed commits have been landed. Closing PR #11462 and removing active labels.