<?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>223002</bug_id>
          
          <creation_ts>2021-03-09 15:24:46 -0800</creation_ts>
          <short_desc>[Big Sur arm64] WebGL texture-copying-feedback-loops tests crashing in com.apple.AppleMetalOpenGLRenderer GLDContextRec::finishResource</short_desc>
          <delta_ts>2024-06-03 16:31:17 -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>WebGL</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</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>
          
          <blocked>222812</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Haddad">ryanhaddad</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ben_schwartz</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dino</cc>
    
    <cc>kbr</cc>
    
    <cc>kkinnunen</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>1737802</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-03-09 15:24:46 -0800</bug_when>
    <thetext>The following two WebGL tests appear to have been consistently crashing on Big Sur arm64 bots since they were brought up

webgl/1.0.3/conformance/textures/texture-copying-feedback-loops.html
webgl/2.0.0/conformance/textures/misc/texture-copying-feedback-loops.html

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.AppleMetalOpenGLRenderer	0x0000000157b4d114 GLDContextRec::finishResource(GLRResource*, unsigned int) + 24
1   com.apple.AppleMetalOpenGLRenderer	0x0000000157b3e07c gldReadFramebufferData + 644
2   com.apple.AppleMetalOpenGLRenderer	0x0000000157b3e07c gldReadFramebufferData + 644
3   GLEngine                      	0x00000001e5fff1fc gleTextureImageCopy + 360
4   GLEngine                      	0x00000001e5f19e14 glCopyTexImage2D_Exec + 832
5   libGL.dylib                   	0x00000001e5ee3bb0 glCopyTexImage2D + 76
6   com.apple.WebCore             	0x000000010667df20 rx::TextureGL::copyImage(gl::Context const*, gl::ImageIndex const&amp;, gl::Rectangle const&amp;, unsigned int, gl::Framebuffer*) + 1212 (TextureGL.cpp:756)
7   com.apple.WebCore             	0x000000010667a70c gl::Texture::copyImage(gl::Context*, gl::TextureTarget, int, gl::Rectangle const&amp;, unsigned int, gl::Framebuffer*) + 716 (Texture.cpp:1293)
8   com.apple.WebCore             	0x0000000106468030 gl::Context::copyTexImage2D(gl::TextureTarget, int, unsigned int, int, int, int, int, int) + 356 (Context.cpp:4078)
9   com.apple.WebCore             	0x00000001064cfaac gl::CopyTexImage2D(unsigned int, int, unsigned int, int, int, int, int, int) + 280 (entry_points_gles_2_0_autogen.cpp:655)
10  com.apple.WebCore             	0x00000001059ee76c WebCore::WebGLRenderingContextBase::copyTexImage2D(unsigned int, int, unsigned int, int, int, int, int, int) + 224 (WebGLRenderingContextBase.cpp:5667)
11  com.apple.WebCore             	0x0000000104f311b0 jsWebGLRenderingContextPrototypeFunction_copyTexImage2DBody + 292 (JSWebGLRenderingContext.cpp:5410) [inlined]
12  com.apple.WebCore             	0x0000000104f311b0 call&lt;&amp;WebCore::jsWebGLRenderingContextPrototypeFunction_copyTexImage2DBody, WebCore::CastedThisErrorBehavior::Throw&gt; + 424 (JSDOMOperation.h:53) [inlined]
13  com.apple.WebCore             	0x0000000104f311b0 WebCore::jsWebGLRenderingContextPrototypeFunction_copyTexImage2D(JSC::JSGlobalObject*, JSC::CallFrame*) + 476 (JSWebGLRenderingContext.cpp:5416)
14  ???                           	0x000000011000427c 0 + 4563419772
15  com.apple.JavaScriptCore      	0x000000010a2940ec llint_entry + 141052
16  com.apple.JavaScriptCore      	0x000000010a271728 vmEntryToJavaScript + 264

https://results.webkit.org/?suite=layout-tests&amp;suite=layout-tests&amp;test=webgl%2F2.0.0%2Fconformance%2Ftextures%2Fmisc%2Ftexture-copying-feedback-loops.html&amp;test=webgl%2F1.0.3%2Fconformance%2Ftextures%2Ftexture-copying-feedback-loops.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1737803</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-03-09 15:25:18 -0800</bug_when>
    <thetext>&lt;rdar://problem/75237993&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1737814</commentid>
    <comment_count>2</comment_count>
    <who name="Ryan Haddad">ryanhaddad</who>
    <bug_when>2021-03-09 15:49:15 -0800</bug_when>
    <thetext>Skipped these two tests with https://trac.webkit.org/changeset/274182/webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1737957</commentid>
    <comment_count>3</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-03-09 22:48:58 -0800</bug_when>
    <thetext>Thanks for filing!
Crashes also on MacBook19,1 Intel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1773674</commentid>
    <comment_count>4</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-06-30 00:10:53 -0700</bug_when>
    <thetext>Still reproducible on Intel/GL
Not reproducible on AMD/GL
Not reproducible on Metal</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1840125</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-02-10 19:48:13 -0800</bug_when>
    <thetext>The fix for this issue was needed outside the WebKit project, therefore this is being resolved as &apos;Moved&apos;.

This should now be fixed in shipping software.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2039546</commentid>
    <comment_count>6</comment_count>
    <who name="Ben Schwartz">ben_schwartz</who>
    <bug_when>2024-06-03 16:31:17 -0700</bug_when>
    <thetext>This no longer appears to be occurring. Removing test expectations. Please file a new bug if issues persist.

Tracking test expectations removal in bug #274990 (rdar://129080660).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>