<?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>263977</bug_id>
          
          <creation_ts>2023-10-31 09:46:08 -0700</creation_ts>
          <short_desc>REGRESSION (269939@main): [ macOS iOS17 Debug ]ASSERTION FAILED: m_compositingResultsNeedUpdating in imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html result of constant crash</short_desc>
          <delta_ts>2023-11-07 05:16:33 -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>
          <dependson>263885</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marta Darbinyan">darbinyan</reporter>
          <assigned_to name="Kimmo Kinnunen">kkinnunen</assigned_to>
          <cc>kkinnunen</cc>
    
    <cc>simon.fraser</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>1988867</commentid>
    <comment_count>0</comment_count>
    <who name="Marta Darbinyan">darbinyan</who>
    <bug_when>2023-10-31 09:46:08 -0700</bug_when>
    <thetext>Description:
imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize.html is constantly crashing on macOS and iOS17 Debug on ToT after 269939@main change in GraphicsContextGL::m_layerComposited.


History:
https://results.webkit.org/?suite=layout-tests&amp;test=imported%2Fw3c%2Fweb-platform-tests%2Fhtml%2Fcanvas%2Foffscreen%2Fmanual%2Fthe-offscreen-canvas%2Foffscreencanvas.resize.html&amp;style=debug

Crash Log:
ASSERTION FAILED: m_compositingResultsNeedUpdating
/Volumes/Data/worker/Apple-Sonoma-Debug-Build/build/Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp(5974) : virtual void WebCore::WebGLRenderingContextBase::prepareForDisplay()
1   0x4f3218d59 WTFCrash
2   0x57dbb03ab WTFCrashWithInfo(int, char const*, char const*, int)
3   0x581ddfa6e WebCore::WebGLRenderingContextBase::prepareForDisplay()
4   0x581ddf892 WebCore::WebGLRenderingContextBase::paintRenderingResultsToCanvas()
5   0x581ceae60 WebCore::OffscreenCanvas::commitToPlaceholderCanvas()
6   0x581cf8fb4 WebCore::OffscreenCanvas::scheduleCommitToPlaceholderCanvas()::$_2::operator()(WebCore::ScriptExecutionContext&amp;) const
7   0x581cf8f01 WTF::Detail::CallableWrapper&lt;WebCore::OffscreenCanvas::scheduleCommitToPlaceholderCanvas()::$_2, void, WebCore::ScriptExecutionContext&amp;&gt;::call(WebCore::ScriptExecutionContext&amp;)
8   0x5802ae82a WTF::Function&lt;void (WebCore::ScriptExecutionContext&amp;)&gt;::operator()(WebCore::ScriptExecutionContext&amp;) const
9   0x580acbfbd WebCore::ScriptExecutionContext::Task::performTask(WebCore::ScriptExecutionContext&amp;)
10  0x5816fdeb9 WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task&amp;&amp;)::$_29::operator()()
11  0x5816fdc99 WTF::Detail::CallableWrapper&lt;WebCore::Document::postTask(WebCore::ScriptExecutionContext::Task&amp;&amp;)::$_29, void&gt;::call()
12  0x4f32457a2 WTF::Function&lt;void ()&gt;::operator()() const
13  0x4f32e000e WTF::RunLoop::performWork()
14  0x4f32e402e WTF::RunLoop::performWork(void*)
15  0x7ff804040337 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
16  0x7ff8040402d9 __CFRunLoopDoSource0
17  0x7ff8040400a4 __CFRunLoopDoSources0
18  0x7ff80403ed21 __CFRunLoopRun
19  0x7ff80403e372 CFRunLoopRunSpecific
20  0x7ff804fd5bd1 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
21  0x7ff805057a8b -[NSRunLoop(NSRunLoop) run]
22  0x7ff803c8d203 _xpc_objc_main
23  0x7ff803c99677 _xpc_main
24  0x7ff803c8ce26 _xpc_copy_xpcservice_dictionary
25  0x51ecd944d WebKit::XPCServiceMain(int, char const**)
26  0x520ce630b WKXPCServiceMain
27  0x103d6bf32 main
28  0x7ff803bdc3a6 start
com.apple.WebKit.WebContent.Development terminated (pid 671) for reason: crash
LEAK: 1 WebPageProxy

Link: https://build.webkit.org/results/Apple-Sonoma-Debug-WK2-Tests/269962@main%20(233)/imported/w3c/web-platform-tests/html/canvas/offscreen/manual/the-offscreen-canvas/offscreencanvas.resize-crash-log.txt</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988868</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-31 09:46:56 -0700</bug_when>
    <thetext>&lt;rdar://problem/117746791&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1988887</commentid>
    <comment_count>2</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-10-31 10:19:13 -0700</bug_when>
    <thetext>Test gardening commit 270010@main (ecd933344c12): &lt;https://commits.webkit.org/270010@main&gt;

Reviewed commits have been landed. Closing PR #19780 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989198</commentid>
    <comment_count>3</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2023-11-01 11:19:23 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/19845</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1989361</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-11-01 23:56:29 -0700</bug_when>
    <thetext>Test gardening commit 270102@main (d4bd8fde0752): &lt;https://commits.webkit.org/270102@main&gt;

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

    </bug>

</bugzilla>