<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HD Graphics 2000] [xf86-video-intel version 1:2.99.917+364+gb24e758-1] Crash inside intel_dri.so"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91120#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - [HD Graphics 2000] [xf86-video-intel version 1:2.99.917+364+gb24e758-1] Crash inside intel_dri.so"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91120">bug 91120</a>
              from <span class="vcard"><a class="email" href="mailto:chris@chris-wilson.co.uk" title="Chris Wilson <chris@chris-wilson.co.uk>"> <span class="fn">Chris Wilson</span></a>
</span></b>
        <pre>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.</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>