[Webkit-unassigned] [Bug 212214] New: Serious canvas memory leak in Safari (both iOS / macOS)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 21 08:52:16 PDT 2020


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

            Bug ID: 212214
           Summary: Serious canvas memory leak in Safari (both iOS /
                    macOS)
           Product: WebKit
           Version: Safari 13
          Hardware: All
               URL: https://gist.github.com/kulikala/039d7c94f46ee860f1f9e
                    2714104cb90
                OS: All
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Canvas
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kaz.namba at gmail.com
                CC: dino at apple.com

Created attachment 399958

  --> https://bugs.webkit.org/attachment.cgi?id=399958&action=review

An HTML code to reproduce

Safari crashes because of memory leak.
This issue occurs both on iOS and macOS.

I attached the reproduction code, also put it on the Gist.
https://gist.github.com/kulikala/039d7c94f46ee860f1f9e2714104cb90

Trigger condition is same with the following issue:
https://bugs.webkit.org/show_bug.cgi?id=134355

> ctx.drawImage(anotherCanvas, clipX, clipY, clipW, clipH, x, y, w, h) --> memory leak.
> ctx.drawImage(anotherCanvas, x, y, w, h) --> no memory leak.

There's a slight difference with my reproduction code: the image source is switched to HTMLVideoElement.

I confirmed this memory leak via Web Inspector's Timelines tab.
Page category of memory instrument keeps growing and reaches 3GB (my MacBook Pro has 16GB memory).

-- 
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/20200521/d3d8960b/attachment.htm>


More information about the webkit-unassigned mailing list