[Mesa-dev] [Bug 108581] llvmpipe crashes using kms_swrast_dri.so

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 29 15:26:18 UTC 2018


--- Comment #4 from Roland Scheidegger <sroland at vmware.com> ---
Looks like the buffer disappeared when it still had pending rendering commands
to it (in this case, a clear command).
I think this happens because these (kms) surfaces aren't allocated within
llvmpipe itself, so there's no refcounting there and if those externally
allocated surfaces are freed (externally) subsequent access will result in
segfaults (valgrind possibly could shed some more light on it, if it still
triggers with that).
I'm not quite sure though where the root cause actually is, I think "something"
needs to make sure that before the surfaces are destroyed that the renderer is
really done with it.

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

More information about the mesa-dev mailing list