After building the intel driver with --enable-debug, Xorg crashes after opening firefox and a terminal due to a segmantation fault. The segmentation fault occures after dereferencing a null pointer in the assertion in sna_blt_composite(), sna_blt.c, line 1879: assert(kgem_bo_is_busy(tmp->dst.bo)); where tmp->dst.bo is NULL and is dereferenced in kgem_bo_is_busy(). The assertion was introduced in commit 92dbedc6138b923aa473935013ecb0346280c4d3. If tmp->dst.bo should not be NULL at this place, I can provide more information. Changing the assertion to assert(!tmp->dst.bo || kgem_bo_is_busy(tmp->dst.bo)); seems to work for me. xf86-video-intel: git a858afc66c1fa2eec65a7041e991f2266f82deca
It would be legal for tmp->dst.bo to be NULL there as we might not actually have a CPU bo at all, meaning that we were forcing the GPU upload for no reason. Whoops. commit 5ed840881c26e90eb8e00521b6d77b0ea514de5e Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sun Sep 23 20:29:21 2012 +0100 sna: Check that the CPU bo exists before declaring it is busy along upload Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=55251 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.