<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 - Segfault in brw_misc_state"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85077">85077</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault in brw_misc_state
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>10.2
          </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>critical
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kenny@kennypearce.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=107907" name="attach_107907" title="Xorg.0.log">attachment 107907</a> <a href="attachment.cgi?id=107907&action=edit" title="Xorg.0.log">[details]</a></span>
Xorg.0.log

On Debian unstable, I get a segfault in the i965 mesa driver. This causes a
large number of applications to fail, including anything that uses the webcam.
The glxgears test program segfaults on startup. The stack trace from the core
file is as follows:

#0  get_stencil_miptree (irb=<optimized out>)
    at ../../../../../../../src/mesa/drivers/dri/i965/brw_misc_state.c:225
225    ../../../../../../../src/mesa/drivers/dri/i965/brw_misc_state.c: No such
file or directory.
(gdb) where
#0  get_stencil_miptree (irb=<optimized out>)
    at ../../../../../../../src/mesa/drivers/dri/i965/brw_misc_state.c:225
#1  brw_workaround_depthstencil_alignment (brw=0x7fafe0819038, 
    clear_mask=clear_mask@entry=18)
    at ../../../../../../../src/mesa/drivers/dri/i965/brw_misc_state.c:241
#2  0x00007fafdb37e152 in brw_clear (ctx=0x7fafe0819038, mask=18)
    at ../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:235
#3  0x000000000040255e in ?? ()
#4  0x0000000000401d54 in ?? ()
#5  0x00007fafdf2b0b45 in __libc_start_main (main=0x4018d0, argc=1, 
    argv=0x7fff7a5b2628, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fff7a5b2618) at libc-start.c:287
#6  0x0000000000402332 in ?? ()



Before crashing, glxgears prints the following:
"Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate." The glxgears window never
appears.

I am on a Dell Inspiron laptop. The crash occurs regardless of whether my VGA
external monitor is attached.

I am on kernel 3.16-2-amd64. I have observed the problem with mesa versions
10.2.8-1, 10.3.0-2, and 10.3.1-1.</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>