<?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>267890</bug_id>
          
          <creation_ts>2024-01-22 16:27:43 -0800</creation_ts>
          <short_desc>REGRESSION (273260@main): [ iOS17 ] 3 tests in fast/forms/switch regularly timeout</short_desc>
          <delta_ts>2025-02-19 08:23:45 -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>Tools / Tests</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>287181</dup_id>
          
          <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>
          <dependson>270408</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>annevk</cc>
    
    <cc>webkit-bot-watchers-bugzilla</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2006727</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2024-01-22 16:27:43 -0800</bug_when>
    <thetext>Description:
The following tests are crashing or timing out on iOS17 after the test update in 273260@main.

Debug only crash:
fast/forms/switch/click-animation-disabled.html
fast/forms/switch/pointer-tracking-disabled.html

Debug and Release timeout:
fast/forms/switch/pointer-tracking-there-and-back-again-rtl.html
fast/forms/switch/pointer-tracking-there-and-back-again.html
fast/forms/switch/pointer-tracking.html


This issue can be reproduced using the command:
run-webkit-tests --root  --exit-after-n-failures 1 --debug 

Crash Log:
ASSERTION FAILED: isStackingContext()
/Volumes/Data/worker/Apple-iOS-17-Simulator-Debug-Build/build/Source/WebCore/rendering/RenderLayer.cpp(2276) : void WebCore::RenderLayer::beginTransparencyLayers(GraphicsContext &amp;, const LayerPaintingInfo &amp;, const LayoutRect &amp;)
1   0x104c620d8 WTFCrash
2   0x2c7b81100 WebCore::NetworkResourcesData::ResourceData::hasContent() const
3   0x2c8d6523c WebCore::RenderLayer::beginTransparencyLayers(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WebCore::LayoutRect const&amp;)
4   0x2c8d6edd0 WebCore::RenderLayer::paintBackgroundForFragments(WTF::Vector&lt;WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; const&amp;, WebCore::GraphicsContext&amp;, WebCore::GraphicsContext&amp;, WebCore::LayoutRect const&amp;, bool, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*)
5   0x2c8d6b2b4 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
6   0x2c8d6a504 WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
7   0x2c8d6944c WebCore::RenderLayer::paintLayerWithEffects(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
8   0x2c8d684a4 WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
9   0x2c8d6f038 WebCore::RenderLayer::paintList(WebCore::RenderLayer::LayerList, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
10  0x2c8d6b4d8 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
11  0x2c8d6a504 WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
12  0x2c8d6944c WebCore::RenderLayer::paintLayerWithEffects(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
13  0x2c8d684a4 WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
14  0x2c8d6f038 WebCore::RenderLayer::paintList(WebCore::RenderLayer::LayerList, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
15  0x2c8d6b4d8 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
16  0x2c8d8eaa4 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RegionContext*)::$_38::operator()(WebCore::RenderLayer&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;) const
17  0x2c8d8e454 WebCore::RenderLayerBacking::paintIntoLayer(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RegionContext*)
18  0x2c8d8f9f8 WebCore::RenderLayerBacking::paintContents(WebCore::GraphicsLayer const*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, WTF::OptionSet&lt;WebCore::GraphicsLayerPaintBehavior&gt;)
19  0x2c85f2370 WebCore::GraphicsLayer::paintGraphicsLayerContents(WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, WTF::OptionSet&lt;WebCore::GraphicsLayerPaintBehavior&gt;)
20  0x2c8714b78 WebCore::GraphicsLayerCA::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, WTF::OptionSet&lt;WebCore::GraphicsLayerPaintBehavior&gt;)
21  0x2c5bf2fbc WebCore::PlatformCALayer::drawLayerContents(WebCore::GraphicsContext&amp;, WebCore::PlatformCALayer*, WTF::Vector&lt;WebCore::FloatRect, 5ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, WTF::OptionSet&lt;WebCore::GraphicsLayerPaintBehavior&gt;)
22  0x2c8750fbc WebCore::TileGrid::platformCALayerPaintContents(WebCore::PlatformCALayer*, WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, WTF::OptionSet&lt;WebCore::GraphicsLayerPaintBehavior&gt;)
23  0x13790c178 WebKit::RemoteLayerBackingStore::drawInContext(WebCore::GraphicsContext&amp;)
24  0x13794ff58 WebKit::RemoteLayerWithRemoteRenderingBackingStore::createContextAndPaintContents()
25  0x13790bdf0 WebKit::RemoteLayerBackingStore::paintContents()
26  0x13790ed68 WebKit::RemoteLayerBackingStoreCollection::paintReachableBackingStoreContents()
27  0x13857b768 WebKit::RemoteLayerTreeContext::buildTransaction(WebKit::RemoteLayerTreeTransaction&amp;, WebCore::PlatformCALayer&amp;, WebCore::ProcessQualified&lt;WTF::ObjectIdentifierGeneric&lt;WebCore::FrameIdentifierType, WTF::ObjectIdentifierMainThreadAccessTraits&gt;&gt;)
28  0x137249b38 std::__1::pair&lt;WebKit::RemoteLayerTreeTransaction, WebKit::RemoteScrollingCoordinatorTransaction&gt; WebKit::RemoteLayerTreeDrawingArea::updateRendering()::$_2::operator()&lt;WebKit::RemoteLayerTreeDrawingArea::RootLayerInfo&gt;(WebKit::RemoteLayerTreeDrawingArea::RootLayerInfo&amp;) const
29  0x1372498f0 WTF::Mapper&lt;WebKit::RemoteLayerTreeDrawingArea::updateRendering()::$_2, WTF::Vector&lt;std::__1::pair&lt;WebKit::RemoteLayerTreeTransaction, WebKit::RemoteScrollingCoordinatorTransaction&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;, WTF::Vector&lt;WebKit::RemoteLayerTreeDrawingArea::RootLayerInfo, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, void&gt;::map(WTF::Vector&lt;std::__1::pair&lt;WebKit::RemoteLayerTreeTransaction, WebKit::RemoteScrollingCoordinatorTransaction&gt;, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, WTF::Vector&lt;WebKit::RemoteLayerTreeDrawingArea::RootLayerInfo, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, WebKit::RemoteLayerTreeDrawingArea::updateRendering()::$_2 const&amp;)
30  0x1372433e8 WTF::Vector&lt;std::__1::invoke_result&lt;WebKit::RemoteLayerTreeDrawingArea::updateRendering()::$_2, WTF::CollectionInspector&lt;WTF::Vector&lt;WebKit::RemoteLayerTreeDrawingArea::RootLayerInfo, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&gt;::SourceItemType&amp;&gt;::type, 0ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; WTF::map&lt;0ul, WTF::CrashOnOverflow, 16ul, WebKit::RemoteLayerTreeDrawingArea::updateRendering()::$_2, WTF::Vector&lt;WebKit::RemoteLayerTreeDrawingArea::RootLayerInfo, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&gt;(WTF::Vector&lt;WebKit::RemoteLayerTreeDrawingArea::RootLayerInfo, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt;&amp;, WebKit::RemoteLayerTreeDrawingArea::updateRendering()::$_2&amp;&amp;)
31  0x1372407c0 WebKit::RemoteLayerTreeDrawingArea::updateRendering()
com.apple.WebKit.WebContent.Development terminated (pid 75940) for reason: crash
#CRASHED - com.apple.WebKit.WebContent.Development (pid 75940)
LEAK: 2 WebProcessPool
LEAK: 2 WebPageProxy

Link:
https://build.webkit.org/results/Apple-iOS-17-Simulator-Debug-WK2-Tests/273296@main%20(830)/fast/forms/switch/click-animation-disabled-crash-log.txt

History:
https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;suite=layout-tests&amp;test=fast%2Fforms%2Fswitch%2Fclick-animation-disabled.html&amp;test=fast%2Fforms%2Fswitch%2Fpointer-tracking-disabled.html&amp;test=fast%2Fforms%2Fswitch%2Fpointer-tracking-there-and-back-again-rtl.html&amp;test=fast%2Fforms%2Fswitch%2Fpointer-tracking-there-and-back-again.html&amp;test=fast%2Fforms%2Fswitch%2Fpointer-tracking.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2006728</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-01-22 16:28:19 -0800</bug_when>
    <thetext>&lt;rdar://problem/121400496&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2006734</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-01-22 16:56:53 -0800</bug_when>
    <thetext>Test gardening commit 273329@main (778f3d67898d): &lt;https://commits.webkit.org/273329@main&gt;

Reviewed commits have been landed. Closing PR #23078 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2018242</commentid>
    <comment_count>3</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2024-03-03 05:55:39 -0800</bug_when>
    <thetext>These timeout tests pass locally (bug 270408 resolved the crash expectations). Not sure what&apos;s going on. Perhaps they don&apos;t have the time they need on the bots?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2083060</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-12-19 10:55:16 -0800</bug_when>
    <thetext>Test gardening commit 288107@main (5adc1a772a43): &lt;https://commits.webkit.org/288107@main&gt;

Reviewed commits have been landed. Closing PR #38214 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2095870</commentid>
    <comment_count>5</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2025-02-19 08:23:45 -0800</bug_when>
    <thetext>Fixing this as part of bug 287181. The problem is that the bots don&apos;t have ENABLE(TOUCH_EVENTS).

*** This bug has been marked as a duplicate of bug 287181 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>