[Bug 91120] [HD Graphics 2000] [xf86-video-intel version 1:2.99.917+364+gb24e758-1] Crash inside intel_dri.so

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jun 27 11:51:05 PDT 2015


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

--- Comment #5 from Chris Wilson <chris at chris-wilson.co.uk> ---
Ok, that's a little unexpected. Do you mind compiling with --enable-debug=full
and attaching the compressed logfile?

I think

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index b2814da..2750497 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -1203,6 +1203,10 @@ __sna_dri2_copy_region(struct sna *sna, DrawablePtr
draw, RegionPtr region,
                assert(region == NULL || region == &clip);
                pixman_region_intersect(&clip, &clip, &source);

+               if (!pixman_region_not_empty(&clip)) {
+                       DBG(("%s: region doesn't overlay pixmap\n",
__FUNCTION__));
+                       return NULL;
+               }
        }

        dst_bo = dst_priv->bo;

will prevent the crash, but we shouldn't be reaching that point.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150627/9d21d816/attachment.html>


More information about the intel-gfx-bugs mailing list