[Webkit-unassigned] [Bug 200031] New: WebGL context creation is broken when using video textures

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 23 06:20:28 PDT 2019


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

            Bug ID: 200031
           Summary: WebGL context creation is broken when using video
                    textures
           Product: WebKit
           Version: Safari 12
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: maggotfish at gmail.com
                CC: dino at apple.com

Created attachment 374680

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

bug reproduction

When creating a webgl context and drawing form video texture a few weird things happen:

1. max active contexts limit is suddenly 8.
2. creating an additional context returns `null`.
3. creating *another* context crashes the tab, and causing a refresh.

Seems to be happening on Safari on all platforms.

I have created a reproduction of the bug in a simple webgl program that creates context, loads videosm and draws a frame, on every button click.

First 8 clicks work fine.
9th click returns `null` (instead of a new recycled context) and causes an error.
10th click crashes the tab, after trying to recycle the same context from before and printing: `WebGL: INVALID_OPERATION: loseContext: context already lost`.



Also attaching the error log.

-- 
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/20190723/72818855/attachment.html>


More information about the webkit-unassigned mailing list