<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - AddressSanitizer:DEADLYSIGNAL in src/egl/drivers/dri2/platform_surfaceless.c:139"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110479#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - AddressSanitizer:DEADLYSIGNAL in src/egl/drivers/dri2/platform_surfaceless.c:139"
href="https://bugs.freedesktop.org/show_bug.cgi?id=110479">bug 110479</a>
from <span class="vcard"><a class="email" href="mailto:wielkiegie@gmail.com" title="Gustaw Smolarczyk <wielkiegie@gmail.com>"> <span class="fn">Gustaw Smolarczyk</span></a>
</span></b>
<pre>I have looked at the trace. The source code line and struct offset imply that
dri2_egl_display::image_driver is NULL in dri2_surfaceless_create_surface
function. Of note is also the fact that a software renderer is used:
libEGL warning: No hardware driver found, falling back to software rendering
I see the following piece of code in dri2_wl_create_window_surface:
if (dri2_dpy->image_driver)
createNewDrawable = dri2_dpy->image_driver->createNewDrawable;
else if (dri2_dpy->dri2)
createNewDrawable = dri2_dpy->dri2->createNewDrawable;
else
createNewDrawable = dri2_dpy->swrast->createNewDrawable;
Shouldn't the surfaceless variant also try all three instead of relying on
image_driver not being NULL?
Note that I am not overly familiar with how dri works, so I might be wrong.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>