<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [regression] DRI2 races"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78992#c23">Comment # 23</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - [regression] DRI2 races"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78992">bug 78992</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>Can you apply

diff --git a/src/sna/sna_dri2.c b/src/sna/sna_dri2.c
index ed2e561..52f283d 100644
--- a/src/sna/sna_dri2.c
+++ b/src/sna/sna_dri2.c
@@ -51,6 +51,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
 #include <compositeext.h>
 #endif

+#undef DBG
+#define DBG(x) ErrorF x
+
 #if DRI2INFOREC_VERSION < 2
 #error DRI2 version supported by the Xserver is too old
 #endif

reproduce the bug and attach the log?

Yes, you will need

commit 0f0cd87c66a4e373ab9b26626514d43b5f4978e5
Author: Chris Wilson <<a href="mailto:chris@chris-wilson.co.uk">chris@chris-wilson.co.uk</a>>
Date:   Thu May 22 10:04:09 2014 +0100

    sna/dri2: DBG fixes

;-)</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>