[Webkit-unassigned] [Bug 208876] New: [GPU Process] RemoteImageBufferProxy should ensure the state stack in the context is cleared before destruction

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 10 12:40:12 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=208876

            Bug ID: 208876
           Summary: [GPU Process] RemoteImageBufferProxy should ensure the
                    state stack in the context is cleared before
                    destruction
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: dino at apple.com

For any reason, if the GraphicsContext::save() did not get a matching GraphicsContext::restore(), the destructor of GraphicsContext will assert: the state stack is not empty. In some cases, the GPU Process may terminate before receiving the matching restore() for the RemoteImageBufferProxy. This can depend on when CanvasRenderingContext2D.save() and its matching restore() are called.

This causes many failures in the canvas layout tests. Currently running 'run-webkit-tests --debug --no-retry LayoutTests/canvas/ LayoutTests/fast/canvas  --internal-feature RenderCanvasInGPUProcessEnabled' results 255 failures.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200310/41074e88/attachment.htm>


More information about the webkit-unassigned mailing list