[Webkit-unassigned] [Bug 182490] New: [GTK] WaylandCompositor misusing eglGetProcAddress
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 5 09:33:39 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=182490
Bug ID: 182490
Summary: [GTK] WaylandCompositor misusing eglGetProcAddress
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Keywords: Gtk
Severity: Normal
Priority: P3
Component: WebKit Gtk
Assignee: webkit-unassigned at lists.webkit.org
Reporter: daniel at fooishbar.org
CC: bugs-noreply at webkitgtk.org
In WaylandCompositor.cpp's initializeEGL(), eglBindWaylandDisplayWL() is called if eglGetProcAddress() returns any value for it. This causes a crash on newer Mesa when using software rendering: swrast drivers do not provide BindWaylandDisplay (as they rely on wl_shm instead of Mesa extensions), and newer Mesa asserts that the extension is enabled when the entrypoint is called.
The trivial fix would be to check for the extension's presence and fail initializeEGL() if they are not there.
The Mesa bug is here: https://bugs.freedesktop.org/show_bug.cgi?id=104949
--
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/20180205/726e2b52/attachment.html>
More information about the webkit-unassigned
mailing list