<?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>247302</bug_id>
          
          <creation_ts>2022-10-31 19:32:40 -0700</creation_ts>
          <short_desc>Crash trying to scroll a main frame PDF with UI-side compositing on macOS.</short_desc>
          <delta_ts>2022-11-01 15:33:50 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Process Model</component>
          <version>WebKit Local 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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Simon Fraser (smfr)">simon.fraser</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1909490</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-10-31 19:32:40 -0700</bug_when>
    <thetext>EventDispatcher has a null ScrollingTree:

Thread 16 Crashed::  Dispatch queue: com.apple.WebKit.EventDispatcher
0   WebCore                       	       0x71bff0bd9 bool std::__1::__cxx_atomic_compare_exchange_weak&lt;unsigned char&gt;(std::__1::__cxx_atomic_base_impl&lt;unsigned char&gt;*, unsigned char*, unsigned char, std::__1::memory_order, std::__1::memory_order) + 2 (atomic:1050) [inlined]
1   WebCore                       	       0x71bff0bd9 std::__1::__atomic_base&lt;unsigned char, false&gt;::compare_exchange_weak(unsigned char&amp;, unsigned char, std::__1::memory_order) + 2 (atomic:1681) [inlined]
2   WebCore                       	       0x71bff0bd9 WTF::Atomic&lt;unsigned char&gt;::compareExchangeWeak(unsigned char, unsigned char, std::__1::memory_order) + 2 (Atomics.h:89) [inlined]
3   WebCore                       	       0x71bff0bd9 WTF::LockAlgorithm&lt;unsigned char, (unsigned char)1, (unsigned char)2, WTF::EmptyLockHooks&lt;unsigned char&gt; &gt;::lockFastAssumingZero(WTF::Atomic&lt;unsigned char&gt;&amp;) + 2 (LockAlgorithm.h:53) [inlined]
4   WebCore                       	       0x71bff0bd9 WTF::Lock::lock() + 2 (Lock.h:65) [inlined]
5   WebCore                       	       0x71bff0bd9 WTF::Locker&lt;WTF::Lock&gt;::Locker(WTF::Lock&amp;) + 2 (Lock.h:158) [inlined]
6   WebCore                       	       0x71bff0bd9 WTF::Locker&lt;WTF::Lock&gt;::Locker(WTF::Lock&amp;) + 2 (Lock.h:157) [inlined]
7   WebCore                       	       0x71bff0bd9 WebCore::ScrollingTree::hasProcessedWheelEventsRecently() + 25 (ScrollingTree.cpp:784)
8   WebCore                       	       0x71bffad05 WebCore::ThreadedScrollingTree::scrollingThreadIsActive() + 5 (ThreadedScrollingTree.cpp:354) [inlined]
9   WebCore                       	       0x71bffad05 WebCore::ThreadedScrollingTree::displayDidRefresh(unsigned int) + 21 (ThreadedScrollingTree.cpp:532)
10  WebKit                        	       0x71330b04b WebKit::EventDispatcher::notifyScrollingTreesDisplayWasRefreshed(unsigned int) + 181 (EventDispatcher.cpp:306)
11  WebKit                        	       0x71330b0eb WebKit::EventDispatcher::displayWasRefreshed(unsigned int, WebCore::DisplayUpdate const&amp;, bool) + 67 (EventDispatcher.cpp:321)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909491</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-10-31 19:33:37 -0700</bug_when>
    <thetext>&lt;rdar://problem/101786249&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909493</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-10-31 19:34:36 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/5990</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909644</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-11-01 15:33:48 -0700</bug_when>
    <thetext>Committed 256199@main (5172b1f269aa): &lt;https://commits.webkit.org/256199@main&gt;

Reviewed commits have been landed. Closing PR #5990 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>