Bug 223002

Summary: [Big Sur arm64] WebGL texture-copying-feedback-loops tests crashing in com.apple.AppleMetalOpenGLRenderer GLDContextRec::finishResource
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED MOVED    
Severity: Normal CC: ben_schwartz, bfulgham, dino, kbr, kkinnunen, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 222812    

Ryan Haddad
Reported 2021-03-09 15:24:46 PST
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&, gl::Rectangle const&, unsigned int, gl::Framebuffer*) + 1212 (TextureGL.cpp:756) 7 com.apple.WebCore 0x000000010667a70c gl::Texture::copyImage(gl::Context*, gl::TextureTarget, int, gl::Rectangle const&, 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<&WebCore::jsWebGLRenderingContextPrototypeFunction_copyTexImage2DBody, WebCore::CastedThisErrorBehavior::Throw> + 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&suite=layout-tests&test=webgl%2F2.0.0%2Fconformance%2Ftextures%2Fmisc%2Ftexture-copying-feedback-loops.html&test=webgl%2F1.0.3%2Fconformance%2Ftextures%2Ftexture-copying-feedback-loops.html
Attachments
Radar WebKit Bug Importer
Comment 1 2021-03-09 15:25:18 PST
Ryan Haddad
Comment 2 2021-03-09 15:49:15 PST
Kimmo Kinnunen
Comment 3 2021-03-09 22:48:58 PST
Thanks for filing! Crashes also on MacBook19,1 Intel
Kimmo Kinnunen
Comment 4 2021-06-30 00:10:53 PDT
Still reproducible on Intel/GL Not reproducible on AMD/GL Not reproducible on Metal
Brent Fulgham
Comment 5 2022-02-10 19:48:13 PST
The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'. This should now be fixed in shipping software.
Ben Schwartz
Comment 6 2024-06-03 16:31:17 PDT
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).
Note You need to log in before you can comment on or make changes to this bug.