<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - glxgears stops rendering randomly under xwayland with dri3 & glamor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80963#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - glxgears stops rendering randomly under xwayland with dri3 & glamor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80963">bug 80963</a>
              from <span class="vcard"><a class="email" href="mailto:stu_dby@126.com" title="Boyan Ding <stu_dby@126.com>"> <span class="fn">Boyan Ding</span></a>
</span></b>
        <pre>I built a glxgears with debug symbols and used gdb, I discovered pressing 'a'
several times (to pause and restart animation) can effectively trigger the
halt, and the stack trace when it is halted is always as below (sorry I used
heavily optimized and stripped binaries, I am too lazy to build them myself):

#0  0x00007ffff70cd800 in __poll_nocancel () from /usr/lib/libc.so.6
#1  0x00007ffff5626992 in ?? () from /usr/lib/libxcb.so.1
#2  0x00007ffff5627dc9 in xcb_wait_for_special_event ()
   from /usr/lib/libxcb.so.1
#3  0x00007ffff7bb9244 in ?? () from /usr/lib/libGL.so.1
#4  0x00007ffff7bb9845 in ?? () from /usr/lib/libGL.so.1
#5  0x00007ffff7bba235 in ?? () from /usr/lib/libGL.so.1
#6  0x00007ffff36378b7 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
#7  0x00007ffff3637be5 in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
#8  0x00007ffff362c71d in ?? () from /usr/lib/xorg/modules/dri/i965_dri.so
#9  0x00000000004027fa in draw () at gears.c:183
#10 0x00007ffff76c1ac4 in ?? () from /usr/lib/libglut.so.3
#11 0x00007ffff76c5329 in fgEnumWindows () from /usr/lib/libglut.so.3
#12 0x00007ffff76c207d in glutMainLoopEvent () from /usr/lib/libglut.so.3
#13 0x00007ffff76c28e5 in glutMainLoop () from /usr/lib/libglut.so.3
#14 0x00000000004031af in main (argc=1, argv=0x7fffffffeb78) at gears.c:405

line 183 at draw() is:
  glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

I guess it has something to do with dri3.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>