<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [BDW userptr] Rendercheck dcoords causes X crash"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79053#c58">Comment # 58</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO --- - [BDW userptr] Rendercheck dcoords causes X crash"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=79053">bug 79053</a>
              from <span class="vcard"><a class="email" href="mailto:huax.lu@intel.com" title="lu hua <huax.lu@intel.com>"> <span class="fn">lu hua</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=106170" name="attach_106170" title="Xorg.0.log(patch2)">attachment 106170</a> <a href="attachment.cgi?id=106170&action=edit" title="Xorg.0.log(patch2)">[details]</a></span>
Xorg.0.log(patch2)

(In reply to <a href="show_bug.cgi?id=79053#c57">comment #57</a>)
<span class="quote">> Thanks. One last little debugging technique to try. Please apply


> diff --git a/src/sna/kgem.c b/src/sna/kgem.c
> index 66adae8..6e679b0 100644
> --- a/src/sna/kgem.c
> +++ b/src/sna/kgem.c
> @@ -92,7 +92,7 @@ search_snoop_cache(struct kgem *kgem, unsigned int
> num_pages, unsigned flags);
>  #endif
>  
>  #define SHOW_BATCH_BEFORE 0
> -#define SHOW_BATCH_AFTER 0
> +#define SHOW_BATCH_AFTER 1
>  
>  #if 0
>  #define ASSERT_IDLE(kgem__, handle__) assert(!__kgem_busy(kgem__, handle__))

> and attach the resulting logfile.</span >

output:
rendercheck 1.4
Render extension version 0.11
Window format: r8g8b8
Found server-supported format: a8
Found server-supported format: a8r8g8b8
Found server-supported format: x8r8g8b8
Found server-supported format: b8g8r8a8
Found server-supported format: b8g8r8x8
Found server-supported format: r8g8b8
Found server-supported format: b8g8r8
Found server-supported format: r5g5b5
Found server-supported format: b5g5r5
Found server-supported format: x1r5g5b5
Found server-supported format: x1b5g5r5
Found server-supported format: r5g6b5
Found server-supported format: b5g6r5
Found server-supported format: x8b8g8r8
Found server-supported format: x2r10g10b10
Found server-supported format: x2b10g10r10
Beginning dest coords test
dst coords test error of 255.0000 at (0, 0) --
           R     G     B     A
got:       1.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (0, 1) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (0, 2) --
           R     G     B     A
got:       1.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (0, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (1, 1) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (1, 2) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (1, 3) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (1, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (2, 1) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (2, 2) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (2, 3) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (2, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (3, 2) --
           R     G     B     A
got:       1.000 1.000 1.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (3, 3) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 0.000 0.000 1.000
dst coords test error of 255.0000 at (3, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (4, 1) --
           R     G     B     A
got:       1.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (4, 3) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
dst coords test error of 255.0000 at (4, 4) --
           R     G     B     A
got:       0.000 0.000 0.000 1.000
expected:  1.000 1.000 1.000 1.000
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
      after 550 requests (550 known processed) with 0 events remaining.
xinit: connection to X server lost
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X
server ":0"
[1]+  Done                    xinit</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>