[Mesa-dev] [Bug 104949] swrast: Epiphany WEB browser core dumps under Mesa 17.3.3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Feb 5 15:05:56 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=104949

--- Comment #2 from Emil Velikov <emil.l.velikov at gmail.com> ---
Created attachment 137171
  --> https://bugs.freedesktop.org/attachment.cgi?id=137171&action=edit
Force-disable extension/error out if using API while extension is not set

(In reply to Daniel Stone from comment #1)
> Emil, I'm assuming this commit causes swrast platform_wayland to start
> exposing EGL_WL_bind_wayland_display, which assumes there's a DRM device?

That shouldn't be it - dri2_set_WL_bind_wayland_display() [attempts to] set the
extension only if we have device_name. With latter being NULL based on the
crash.

Skimming through webkit [might be outdated?] it seems to be doing the most
common and silly mistakes - uses the function pointers w/o checking for the
extension string.

https://github.com/WebKit/webkit/blob/68fc1e2ab9c374f41cf290aa749b460539cf2756/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp#L374

To be on the safe side: Wayne can you please confirm if the extension is
advertised before/after the patch? Does any of the two hunks of the attached
patch help?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180205/e280f0c9/attachment.html>


More information about the mesa-dev mailing list