<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>255788</bug_id>
          
          <creation_ts>2023-04-21 08:15:12 -0700</creation_ts>
          <short_desc>REGRESSION (263108@main): [ Ventura debug ] ASSERTION FAILED: WTF::WeakPtr&lt;WebKit::RemoteScrollingCoordinatorProxy, WTF::DefaultWeakPtrImpl&gt;::operator-&gt;() const</short_desc>
          <delta_ts>2025-02-21 12:37:34 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Rackler">rackler</reporter>
          <assigned_to name="Wenson Hsieh">wenson_hsieh</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1950369</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2023-04-21 08:15:12 -0700</bug_when>
    <thetext>Description:
tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-async-overflow.html is a consistent crash

The test was consistently passing until range https://commits.webkit.org/compare/263108@main...263104@main.  The assertion references changes like setNodeScrollSnapInProgress made in https://commits.webkit.org/263108@main, making it the likely culprit.

This issue can be reproduced using command:
run-webkit-tests --exit-after-n-failures 1 --exit-after-n-crashes-or-timeouts 1 --iterations 1 --no-retry-failures --use-gpu-process --remote-layer-tree  tiled-drawing/scrolling/scroll-snap/scroll-snap-mandatory-async-overflow.html

History:
https://results.webkit.org/?suite=layout-tests&amp;test=tiled-drawing%2Fscrolling%2Fscroll-snap%2Fscroll-snap-mandatory-async-overflow.html&amp;flavor=gpuprocess

Crash Log:
No crash log found for WebKitTestRunner:72968.

stdout:

stderr:
ASSERTION FAILED: !m_impl || !m_shouldEnableAssertions || m_impl-&gt;wasConstructedOnMainThread() == isMainThread()
/Volumes/Data/worker/Apple-Ventura-Debug-Build/build/WebKitBuild/Debug/usr/local/include/wtf/WeakPtr.h(139) : T *WTF::WeakPtr&lt;WebKit::RemoteScrollingCoordinatorProxy&gt;::operator-&gt;() const [T = WebKit::RemoteScrollingCoordinatorProxy, WeakPtrImpl = WTF::DefaultWeakPtrImpl]
1   0x12114f919 WTFCrash
2   0x15389cb8b WTFCrashWithInfo(int, char const*, char const*, int)
3   0x15568e41a WTF::WeakPtr&lt;WebKit::RemoteScrollingCoordinatorProxy, WTF::DefaultWeakPtrImpl&gt;::operator-&gt;() const
4   0x15568e7f1 WebKit::RemoteScrollingTree::scrollingTreeNodeDidBeginScrollSnapping(unsigned long long)
5   0x12e4e54fa WebCore::ScrollingTree::setNodeScrollSnapInProgress(unsigned long long, bool)
6   0x12e502302 WebCore::ScrollingTreeScrollingNode::setScrollSnapInProgress(bool)
7   0x12e508c22 WebCore::ThreadedScrollingTreeScrollingNodeDelegate::willStartScrollSnapAnimation()
8   0x12e57db30 WebCore::ScrollingEffectsController::startScrollSnapAnimation()
9   0x12c4610c9 WebCore::ScrollingEffectsController::processWheelEventForScrollSnap(WebCore::PlatformWheelEvent const&amp;)
10  0x12c460407 WebCore::ScrollingEffectsController::handleWheelEvent(WebCore::PlatformWheelEvent const&amp;)
11  0x12ba70589 WebCore::ScrollingTreeScrollingNodeDelegateMac::handleWheelEvent(WebCore::PlatformWheelEvent const&amp;)
12  0x12ba74d87 WebCore::ScrollingTreeOverflowScrollingNodeMac::handleWheelEvent(WebCore::PlatformWheelEvent const&amp;, WebCore::EventTargeting)
13  0x12e4e0da1 WebCore::ScrollingTree::handleWheelEvent(WebCore::PlatformWheelEvent const&amp;, WTF::OptionSet&lt;WebCore::WheelEventProcessingSteps&gt;)::$_3::operator()() const
14  0x12e4e0a40 WebCore::ScrollingTree::handleWheelEvent(WebCore::PlatformWheelEvent const&amp;, WTF::OptionSet&lt;WebCore::WheelEventProcessingSteps&gt;)
15  0x1556908fa WebKit::RemoteLayerTreeEventDispatcher::internalHandleWheelEvent(WebCore::PlatformWheelEvent const&amp;, WTF::OptionSet&lt;WebCore::WheelEventProcessingSteps&gt;)
16  0x155690483 WebKit::RemoteLayerTreeEventDispatcher::scrollingThreadHandleWheelEvent(WebKit::WebWheelEvent const&amp;, WebCore::RectEdges&lt;bool&gt;)
17  0x1556a82d8 WebKit::RemoteLayerTreeEventDispatcher::handleWheelEvent(WebKit::WebWheelEvent const&amp;, WebCore::RectEdges&lt;bool&gt;)::$_10::operator()() const
18  0x1556a8209 WTF::Detail::CallableWrapper&lt;WebKit::RemoteLayerTreeEventDispatcher::handleWheelEvent(WebKit::WebWheelEvent const&amp;, WebCore::RectEdges&lt;bool&gt;)::$_10, void&gt;::call()
19  0x12117a4b2 WTF::Function&lt;void ()&gt;::operator()() const
20  0x121210afe WTF::RunLoop::performWork()
21  0x121214aee WTF::RunLoop::performWork(void*)
22  0x7ff816c20b78 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
23  0x7ff816c20b27 __CFRunLoopDoSource0
24  0x7ff816c20901 __CFRunLoopDoSources0
25  0x7ff816c1f57b __CFRunLoopRun
26  0x7ff816c1eb60 CFRunLoopRunSpecific
27  0x7ff816ca37aa CFRunLoopRun
28  0x121214fa6 WTF::RunLoop::run()
29  0x121212744 WTF::RunLoop::create(char const*, WTF::ThreadType, WTF::Thread::QOS)::$_1::operator()() const
30  0x1212126e9 WTF::Detail::CallableWrapper&lt;WTF::RunLoop::create(char const*, WTF::ThreadType, WTF::Thread::QOS)::$_1, void&gt;::call()
31  0x12117a4b2 WTF::Function&lt;void ()&gt;::operator()() const</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950370</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-04-21 08:15:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/108369779&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950377</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Rackler">rackler</who>
    <bug_when>2023-04-21 08:27:07 -0700</bug_when>
    <thetext>I have marked this test as skip while this issue is investigated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950380</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-21 08:33:41 -0700</bug_when>
    <thetext>Test gardening commit 263243@main (b187d5215988): &lt;https://commits.webkit.org/263243@main&gt;

Reviewed commits have been landed. Closing PR #13032 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950407</commentid>
    <comment_count>4</comment_count>
    <who name="Wenson Hsieh">wenson_hsieh</who>
    <bug_when>2023-04-21 10:00:10 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/13037</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1950533</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-04-21 17:55:12 -0700</bug_when>
    <thetext>Committed 263271@main (f56f38532d22): &lt;https://commits.webkit.org/263271@main&gt;

Reviewed commits have been landed. Closing PR #13037 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2096815</commentid>
    <comment_count>6</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2025-02-21 12:37:34 -0800</bug_when>
    <thetext>Removing test expectations as part of bug 288208.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>