<?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>281041</bug_id>
          
          <creation_ts>2024-10-08 00:49:36 -0700</creation_ts>
          <short_desc>REGRESSION: ASSERTION FAILED: repaintRects() in WebCore::RenderLayer::recursiveUpdateLayerPositions</short_desc>
          <delta_ts>2024-10-14 16:06:49 -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>Layout and Rendering</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=280316</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=276706</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=281326</see_also>
          <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="Fujii Hironori">fujii</reporter>
          <assigned_to name="Matt Woodrow">mattwoodrow</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mattwoodrow</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
    
    <cc>zsun</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2066121</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-10-08 00:49:36 -0700</bug_when>
    <thetext>REGRESSION: [Win] ASSERTION FAILED: repaintRects() in WebCore::RenderLayer::recursiveUpdateLayerPositions

Windows port Debug build layout tests are crashing.

Regressions: Unexpected crashes (3)
  animations/animation-direction-reverse-hardware-opacity.html [ Crash ]
  animations/animation-followed-by-two-transitions.html [ Crash ]
  imported/w3c/web-platform-tests/scroll-animations/css/animation-timeline-view-functional-notation.tentative.html [ Crash ]

ASSERTION FAILED: repaintRects()
C:\ews\work\build\Source\WebCore\rendering/RenderLayer.cpp(1213) : auto WebCore::RenderLayer::recursiveUpdateLayerPositions(RenderElement::LayoutIdentifier, OptionSet&lt;UpdateLayerPositionsFlag&gt;, CanUseSimplifiedRepaintPass)::(anonymous class)::operator()(bool) const
1   00007FFBC6F041CD WebCore::RenderLayer::recursiveUpdateLayerPositions&lt;1&gt;::&lt;lambda_1&gt;::operator()
2   00007FFBC6F03308 WebCore::RenderLayer::recursiveUpdateLayerPositions&lt;1&gt;
3   00007FFBC6F03A12 WebCore::RenderLayer::recursiveUpdateLayerPositions&lt;1&gt;
4   00007FFBC6F03A12 WebCore::RenderLayer::recursiveUpdateLayerPositions&lt;1&gt;
5   00007FFBC6EF1B16 WebCore::RenderLayer::recursiveUpdateLayerPositions&lt;0&gt;
6   00007FFBC6ECEF1C WebCore::RenderLayer::updateLayerPositionsAfterStyleChange
7   00007FFBC664CE2B WebCore::LocalFrameView::updateCompositingLayersAfterStyleChange
8   00007FFBC571C6B7 WebCore::Document::resolveStyle
9   00007FFBC571CDBC WebCore::Document::updateStyleIfNeeded
10  00007FFBC571D164 WebCore::Document::updateLayout
11  00007FFBC6660B15 WebCore::LocalFrameView::updateLayoutAndStyleIfNeededRecursive
12  00007FFBC66E2B22 WebCore::Page::layoutIfNeeded
13  00007FFBC66E392C WebCore::Page::updateRendering
14  00007FFBCFF70350 WebKit::WebPage::updateRendering
15  00007FFBCE3D4F32 WebKit::DrawingAreaWC::updateRendering
16  00007FFBCE3DDF19 std::invoke&lt;void (WebKit::DrawingAreaWC::*&amp;)(),WebKit::DrawingAreaWC *&amp;&gt;
17  00007FFBCE3DDE9D std::_Invoker_ret&lt;std::_Unforced&gt;::_Call&lt;void (WebKit::DrawingAreaWC::*&amp;)(),WebKit::DrawingAreaWC *&amp;&gt;
18  00007FFBCE3DDE59 std::_Call_binder&lt;std::_Unforced,0,void (WebKit::DrawingAreaWC::*)(),std::tuple&lt;WebKit::DrawingAreaWC *&gt;,std::tuple&lt;&gt; &gt;
19  00007FFBCE3DDDF1 std::_Binder&lt;std::_Unforced,void (WebKit::DrawingAreaWC::*&amp;)(),WebKit::DrawingAreaWC *&gt;::operator()&lt;&gt;
20  00007FFBCE3DDCD7 WTF::Detail::CallableWrapper&lt;std::_Binder&lt;std::_Unforced,void (WebKit::DrawingAreaWC::*&amp;)(),WebKit::DrawingAreaWC *&gt;,void&gt;::call
21  00007FFBCE37145E WTF::Function&lt;void ()&gt;::operator()
22  00007FFBCE3DC737 WebCore::Timer::fired
23  00007FFBC68D86F7 WebCore::ThreadTimers::sharedTimerFiredInternal
24  00007FFBC68DAB8E WebCore::ThreadTimers::setSharedTimer::&lt;lambda_0&gt;::operator()
25  00007FFBC68DAB47 WTF::Detail::CallableWrapper&lt;`lambda at C:\ews\work\build\Source\WebCore\platform\ThreadTimers.cpp:68:41&apos;,void&gt;::call
26  00007FFBC289EB7E WTF::Function&lt;void ()&gt;::operator()
27  00007FFBC6880C3D WebCore::MainThreadSharedTimer::fired
28  00007FFBC29DE648 WebCore::TimerWindowWndProc
29  00007FFC44ACEF5C CallWindowProcW
30  00007FFC44ACE684 DispatchMessageW
31  00007FFBCD314B32 WTF::RunLoop::run
C:\ews\work\build\Source\WebKit\UIProcess/WebProcessProxy.cpp(1241) : virtual void WebKit::WebProcessProxy::didClose(IPC::Connection &amp;)
ERROR: 00000195D1726C60 - [PID=10044] WebProcessProxy::processDidTerminateOrFailedToLaunch: reason=Crash
C:\ews\work\build\Source\WebKit\UIProcess/WebProcessProxy.cpp(1249) : void WebKit::WebProcessProxy::processDidTerminateOrFailedToLaunch(ProcessTerminationReason)
ERROR: 00000195D16FE800 - [pageProxyID=8, webPageID=9, PID=10044] WebPageProxy::processDidTerminate: (pid 10044), reason=Crash
C:\ews\work\build\Source\WebKit\UIProcess/WebPageProxy.cpp(10433) : void WebKit::WebPageProxy::resetStateAfterProcessTermination(ProcessTerminationReason)
ERROR: 00000195D16FE800 - [pageProxyID=8, webPageID=9, PID=10044] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
C:\ews\work\build\Source\WebKit\UIProcess/WebPageProxy.cpp(10495) : void WebKit::WebPageProxy::dispatchProcessDidTerminate(ProcessTerminationReason)
WebProcess terminated (pid 10044) for reason: crash
#CRASHED - WebProcess (pid 10044)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066122</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-10-08 00:49:52 -0700</bug_when>
    <thetext>284805@main: bad
284796@main: good

284802@main (bug#280316) seems to be a culprit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066431</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-10-09 00:29:24 -0700</bug_when>
    <thetext>History:
  https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fscroll-animations%2Fcss%2Fanimation-timeline-view-functional-notation.tentative.html&amp;test=animations%2Fanimation-followed-by-two-transitions.html&amp;test=animations%2Fanimation-direction-reverse-hardware-opacity.html&amp;style=debug</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066754</commentid>
    <comment_count>3</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-10-09 19:00:02 -0700</bug_when>
    <thetext>This is not Windows port specific.
Mac port Debug build uses ENABLE_CONJECTURE_ASSERT=1. This crash is reproducible with __XPC_ENABLE_WEBKIT_CONJECTURE_ASSERT.

&gt; ./Tools/Scripts/run-webkit-tests --debug --no-build --additional-env-var=__XPC_ENABLE_WEBKIT_CONJECTURE_ASSERT=1 animations/animation-direction-reverse-hardware-opacity.html animations/animation-followed-by-two-transitions.html imported/w3c/web-platform-tests/scroll-animations/css/animation-timeline-view-functional-notation.tentative.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066795</commentid>
    <comment_count>4</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2024-10-09 21:45:55 -0700</bug_when>
    <thetext>284780@main added the conjecture assertion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2066838</commentid>
    <comment_count>5</comment_count>
    <who name="">zsun</who>
    <bug_when>2024-10-10 01:45:50 -0700</bug_when>
    <thetext>*** Bug 281207 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2067085</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-10-10 18:47:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/137722495&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2067086</commentid>
    <comment_count>7</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2024-10-10 18:49:56 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35021</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2067878</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-14 16:06:47 -0700</bug_when>
    <thetext>Committed 285155@main (b37bf876c9b7): &lt;https://commits.webkit.org/285155@main&gt;

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

    </bug>

</bugzilla>