<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [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">91120</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[HD Graphics 2000] [xf86-video-intel version 1:2.99.917+364+gb24e758-1] Crash inside intel_dri.so
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>srkoser+mesabugs@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=116744" name="attach_116744" title="dmesg output">attachment 116744</a> <a href="attachment.cgi?id=116744&action=edit" title="dmesg output">[details]</a></span>
dmesg output

Hello, I seem to have found a bug which can reliable induce a crash inside
intel_dri.so. The bug is triggered when moving OpenGL windows under XMonad,
with a custom LayoutClass.

The attached xmonad.hs provides a minimal configuration which allows
reproducing the issue.

To reproduce:
   - configure xinitrc to run XMonad on startup:
        #!/bin/bash
        xmonad
   - place the provided xmonad.hs file in ~/.xmonad/
   - startx
   - Press super + shift + enter to open a terminal (I've set up the example to
use xterm, but this can be changed: just replace "xterm" on line 54 with the
command to run your favorite terminal application
   - Run some OpenGL application. I have confirmed the crash with Minecraft and
mpv, but I believe the problem will be exhibited by most OpenGL applications.
   - Press and hold super + shift + j to swap the OpenGL window in and out of
the inset pane. X should crash at this point.

The reported stack trace is as follows: 
#0  0x00007fd467938dd7 in ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
#1  0x00007fd46797e57c in ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
#2  0x00007fd46799c218 in ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
#3  0x00007fd46a5a691d in ?? () from /usr/lib/xorg/modules/extensions/libglx.so
#4  0x000000000047a43f in AbortDDX ()
#5  0x000000000059e942 in ?? ()
#6  0x000000000059f77d in FatalError ()
#7  0x000000000059668e in ?? ()
#8  <signal handler called>
#9  0x00007fd467987b23 in ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
#10 0x00007fd467a0e38b in ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
#11 0x00007fd467a27e4f in ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
#12 0x00007fd467a2a93a in ?? () from /usr/lib/xorg/modules/drivers/intel_drv.so
#13 0x0000000000564d88 in DRI2SwapBuffers ()
#14 0x000000000056670c in ?? ()
#15 0x0000000000438dcf in ?? ()
#16 0x000000000043cf0b in ?? ()
#17 0x00007fd46cd86790 in __libc_start_main () from /usr/lib/libc.so.6
#18 0x0000000000427319 in _start ()

(which I understand is likely not overly helpful without debug symbols, if
desired I can try to reproduce this with a debug build of intel_drv.so)

I have attached the example xmonad.hs and the full output of dmesg, when booted
with drm.debug=0x06.</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>