<?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>239303</bug_id>
          
          <creation_ts>2022-04-13 14:38:08 -0700</creation_ts>
          <short_desc>REGRESSION(r292365): [ iOS ] TestWebKitAPI.GPUProcess.CanvasBasicCrashHandling is a constant failure on iOS</short_desc>
          <delta_ts>2022-06-09 13:43:41 -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>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>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=239310</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dawn Morningstar">Morningstar</reporter>
          <assigned_to name="Said Abou-Hallawa">sabouhallawa</assigned_to>
          <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</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>1861262</commentid>
    <comment_count>0</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-04-13 14:38:08 -0700</bug_when>
    <thetext>TestWebKitAPI.GPUProcess.CanvasBasicCrashHandling 
is a constant failure on iOS queues


FAILURE:
TestWebKitAPI.GPUProcess.CanvasBasicCrashHandling
        
        /Volumes/Data/worker/ios-simulator-15-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/GPUProcess.mm:506
        Value of: !error
          Actual: false
        Expected: true

STDIO-URL:
https://build.webkit.org/#/builders/270/builds/1535/steps/17/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861263</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-04-13 14:38:33 -0700</bug_when>
    <thetext>&lt;rdar://problem/91715705&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861274</commentid>
    <comment_count>2</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-04-13 15:02:18 -0700</bug_when>
    <thetext>HISTORY:
https://results.webkit.org/?suite=api-tests&amp;test=TestWebKitAPI.GPUProcess.CanvasBasicCrashHandling

Shows regression between r292401-r292310</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1861356</commentid>
    <comment_count>3</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-04-13 18:53:07 -0700</bug_when>
    <thetext>Disabled test to help speed up EWS r292850</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1863131</commentid>
    <comment_count>4</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-04-20 16:43:54 -0700</bug_when>
    <thetext>Locally bisected regression point to r292365
Using: run-api-tests --root /pathtobuild/ --ios-simulator TestWebKitAPI.GPUProcess.CanvasBasicCrashHandling</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1863143</commentid>
    <comment_count>5</comment_count>
    <who name="Dawn Morningstar">Morningstar</who>
    <bug_when>2022-04-20 17:38:41 -0700</bug_when>
    <thetext>https://bugs.webkit.org/show_bug.cgi?id=239310 may be related however, unable to reproduce that timeout.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1863699</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-04-22 10:16:23 -0700</bug_when>
    <thetext>When I run this test locally I hit this assertion:

    TestWebKitAPI.GPUProcess.CanvasBasicCrashHandling
        SHOULD NEVER BE REACHED
        /Volumes/Data/Development/system/webkit/OpenSource/Source/WebKit/WebProcess/GPU/graphics/cocoa/ImageBufferRemoteIOSurfaceBackend.cpp(123) : virtual void WebKit::ImageBufferRemoteIOSurfaceBackend::draw(WebCore::GraphicsContext &amp;, const WebCore::FloatRect &amp;, const WebCore::FloatRect &amp;, const WebCore::ImagePaintingOptions &amp;)
        1   0x573cad039 WTFCrash
        2   0x5564d8d0b WTFCrashWithInfo(int, char const*, char const*, int)
        3   0x558617fbf WebKit::ImageBufferRemoteIOSurfaceBackend::draw(WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, WebCore::FloatRect const&amp;, WebCore::ImagePaintingOptions const&amp;)
        4   0x5585b00b8 WebCore::ConcreteImageBuffer&lt;WebKit::ImageBufferRemoteIOSurfaceBackend&gt;::draw(WebCore::GraphicsContext&amp;, WebCore::FloatRect const&amp;, WebCore::FloatRect const&amp;, WebCore::ImagePaintingOptions const&amp;)
        5   0x59d3c0e3a WebCore::GraphicsContext::drawImageBuffer(WebCore::ImageBuffer&amp;, WebCore::FloatRect const&amp;, WebCore::FloatRect const&amp;, WebCore::ImagePaintingOptions const&amp;)
        6   0x59d3c0dcc WebCore::GraphicsContext::drawImageBuffer(WebCore::ImageBuffer&amp;, WebCore::FloatRect const&amp;, WebCore::ImagePaintingOptions const&amp;)
        7   0x59c687a7b WebCore::HTMLCanvasElement::paint(WebCore::GraphicsContext&amp;, WebCore::LayoutRect const&amp;)
        8   0x59d9df36d WebCore::RenderHTMLCanvas::paintReplaced(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;)
        9   0x59dacdf89 WebCore::RenderReplaced::paint(WebCore::PaintInfo&amp;, WebCore::LayoutPoint const&amp;)
        10  0x59da1771a WebCore::RenderLayer::paintForegroundForFragmentsWithPhase(WebCore::PaintPhase, WTF::Vector&lt;WebCore::LayerFragment, 1ul, WTF::CrashOnOverflow, 16ul, WTF::FastMalloc&gt; const&amp;, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*)
        11  0x59da154c5 WebCore::RenderLayer::paintForegroundForFragments(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*)
        12  0x59da117c3 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        13  0x59da10c61 WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        14  0x59da0fb7f WebCore::RenderLayer::paintLayerWithEffects(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        15  0x59da0eea7 WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        16  0x59da14e76 WebCore::RenderLayer::paintList(WebCore::RenderLayer::LayerList, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        17  0x59da118a2 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        18  0x59da10c61 WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        19  0x59da0fb7f WebCore::RenderLayer::paintLayerWithEffects(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        20  0x59da0eea7 WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        21  0x59da14e76 WebCore::RenderLayer::paintList(WebCore::RenderLayer::LayerList, WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        22  0x59da118e9 WebCore::RenderLayer::paintLayerContents(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        23  0x59da10c61 WebCore::RenderLayer::paintLayerContentsAndReflection(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        24  0x59da0fb7f WebCore::RenderLayer::paintLayerWithEffects(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        25  0x59da0eea7 WebCore::RenderLayer::paintLayer(WebCore::GraphicsContext&amp;, WebCore::RenderLayer::LayerPaintingInfo const&amp;, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;)
        26  0x59da0ebcf WebCore::RenderLayer::paint(WebCore::GraphicsContext&amp;, WebCore::LayoutRect const&amp;, WebCore::LayoutSize const&amp;, WTF::OptionSet&lt;WebCore::PaintBehavior&gt;, WebCore::RenderObject*, WTF::OptionSet&lt;WebCore::RenderLayer::PaintLayerFlag&gt;, WebCore::RenderLayer::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
        27  0x59cf93794 WebCore::FrameView::paintContents(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WebCore::Widget::SecurityOriginPaintPolicy, WebCore::EventRegionContext*)
        28  0x59cf7a821 WebCore::FrameView::paintContentsForSnapshot(WebCore::GraphicsContext&amp;, WebCore::IntRect const&amp;, WebCore::FrameView::SelectionInSnapshot, WebCore::FrameView::CoordinateSpaceForSnapshot)
        29  0x558bced7d WebKit::WebPage::paintSnapshotAtSize(WebCore::IntRect const&amp;, WebCore::IntSize const&amp;, unsigned int, WebCore::Frame&amp;, WebCore::FrameView&amp;, WebCore::GraphicsContext&amp;)
        30  0x558bce80d WebKit::WebPage::snapshotAtSize(WebCore::IntRect const&amp;, WebCore::IntSize const&amp;, unsigned int)
        31  0x558bce5cf WebKit::WebPage::takeSnapshot(WebCore::IntRect, WebCore::IntSize, unsigned int, WTF::CompletionHandler&lt;void (WebKit::ShareableBitmap::Handle const&amp;)&gt;&amp;&amp;)
        LEAK: 1 WebProcessPool</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867647</commentid>
    <comment_count>7</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-05-09 08:31:35 -0700</bug_when>
    <thetext>The regression point is surprising, it&apos;s supposed to be a no-op change.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1867674</commentid>
    <comment_count>8</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2022-05-09 09:41:02 -0700</bug_when>
    <thetext>(In reply to Tim Nguyen (:ntim) from comment #7)
&gt; The regression point is surprising, it&apos;s supposed to be a no-op change.

Because of the way feature flag plists work, it&apos;s *possible* that this was not a no-op change in the specific case of the iOS 15 Simulator (which will never ship trunk, and originally shipped with DOMGPUP off).

But really that just means we have a GPUP bug that we weren&apos;t noticing before!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1874937</commentid>
    <comment_count>9</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2022-06-09 00:57:17 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/1409</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1875098</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-06-09 13:43:34 -0700</bug_when>
    <thetext>Committed r295433 (251439@main): &lt;https://commits.webkit.org/251439@main&gt;

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

    </bug>

</bugzilla>