<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - swrast: Epiphany WEB browser core dumps under Mesa 17.3.3"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104949#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - swrast: Epiphany WEB browser core dumps under Mesa 17.3.3"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104949">bug 104949</a>
from <span class="vcard"><a class="email" href="mailto:emil.l.velikov@gmail.com" title="Emil Velikov <emil.l.velikov@gmail.com>"> <span class="fn">Emil Velikov</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=137171" name="attach_137171" title="Force-disable extension/error out if using API while extension is not set">attachment 137171</a> <a href="attachment.cgi?id=137171&action=edit" title="Force-disable extension/error out if using API while extension is not set">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=104949&attachment=137171'>[review]</a>
Force-disable extension/error out if using API while extension is not set
(In reply to Daniel Stone from <a href="show_bug.cgi?id=104949#c1">comment #1</a>)
<span class="quote">> 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?</span >
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.
<a href="https://github.com/WebKit/webkit/blob/68fc1e2ab9c374f41cf290aa749b460539cf2756/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp#L374">https://github.com/WebKit/webkit/blob/68fc1e2ab9c374f41cf290aa749b460539cf2756/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp#L374</a>
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>