Bug 290182

Summary: [GTK] Rendering problems on apps.gnome.org, crash in skgpu::ganesh::OpsTask::recordOp
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bugs-noreply, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Screenshot
none
Stack trace none

Michael Catanzaro
Reported 2025-03-21 08:58:01 PDT
Created attachment 474673 [details] Screenshot Visit https://apps.gnome.org/ in Epiphany Tech Preview (currently using WebKitGTK 2.48.0) and hover over any app tile. The rendering of the tile will become corrupted, and then WebKit will crash in Skia. The attached screenshot shows me hovering over the top left app tile. Here is a truncated stack trace. Full stack trace is attached. #0 0x00007f46478063f0 in skgpu::ganesh::OpsTask::recordOp (this=0x55e429ac0140, op=std::unique_ptr<GrOp> = {...}, usesMSAA=<optimized out>, processorAnalysis=..., clip=0x0, dstProxyView=0x7fff4dae16b0, caps=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/gpu/ganesh/ops/OpsTask.cpp:1003 #1 0x00007f4647806800 in skgpu::ganesh::OpsTask::addDrawOp (this=0x55e429ac0140, drawingMgr=0x55e428047a20, op=std::unique_ptr<GrOp> = {...}, usesMSAA=false, processorAnalysis=..., clip=<optimized out>, dstProxyView=..., textureResolveManager=..., caps=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/gpu/ganesh/ops/OpsTask.cpp:474 #2 0x00007f464779f688 in skgpu::ganesh::SurfaceDrawContext::addDrawOp (this=0x55e428a6dc80, clip=0x0, op=std::unique_ptr<GrOp> = {...}, willAddFn=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/gpu/ganesh/SurfaceDrawContext.cpp:2013 #3 0x00007f464779f0f6 in skgpu::ganesh::SurfaceDrawContext::drawFilledQuad (this=0x55e428a6dc80, clip=0x55e428bf8d40, paint=..., quad=0x7fff4dae1874, ss=0x0) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/gpu/ganesh/SurfaceDrawContext.cpp:585 #4 0x00007f464779dedb in skgpu::ganesh::SurfaceDrawContext::fillRectToRect (this=0x55e428a6dc80, clip=0x55e428bf8d40, paint=..., aa=<optimized out>, viewMatrix=..., rectToDraw=..., localRect=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/gpu/ganesh/SurfaceDrawContext.cpp:792 #5 0x00007f464779fe5c in skgpu::ganesh::SurfaceDrawContext::drawRect (this=0x55e428a6dc80, clip=0x55e428bf8d40, paint=..., aa=GrAA::kYes, viewMatrix=..., rect=..., style=0x7fff4dae1b78) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/gpu/ganesh/SurfaceDrawContext.cpp:708 #6 0x00007f46479c0133 in skgpu::ganesh::Device::drawRect (this=<optimized out>, rect=..., paint=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/gpu/ganesh/Device.cpp:593 #7 0x00007f46476e51b3 in SkCanvas::onDrawRect (this=0x55e428c00750, r=..., paint=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/core/SkCanvas.cpp:2034 #8 0x00007f46476e426f in SkCanvas::drawRect (this=0x0, r=<optimized out>, paint=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/ThirdParty/skia/src/core/SkCanvas.cpp:1696 #9 0x00007f4646f9d29e in WebCore::GraphicsContextSkia::clearRect (this=<optimized out>, rect=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebCore/platform/graphics/skia/GraphicsContextSkia.cpp:837 #10 0x00007f4646e8e540 in WebCore::ImageBufferContextSwitcher::beginClipAndDrawSourceImage (this=<optimized out>, destinationContext=<optimized out>, repaintRect=...) at /buildstream/gnome/sdk/webkitgtk-6.0.bst/Source/WebCore/platform/graphics/ImageBufferContextSwitcher.cpp:70
Attachments
Screenshot (163.47 KB, image/png)
2025-03-21 08:58 PDT, Michael Catanzaro
no flags
Stack trace (95.74 KB, text/plain)
2025-03-21 08:58 PDT, Michael Catanzaro
no flags
Michael Catanzaro
Comment 1 2025-03-21 08:58:18 PDT
Created attachment 474674 [details] Stack trace
Michael Catanzaro
Comment 2 2025-06-16 04:25:29 PDT
*** This bug has been marked as a duplicate of bug 291759 ***
Note You need to log in before you can comment on or make changes to this bug.