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

        <tr>
          <th>Summary</th>
          <td>Crash in brw_begin_transform_feedback
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </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>Drivers/DRI/i965
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>nmcveity@gmail.com
          </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=111311" name="attach_111311" title="Makefile for demo program">attachment 111311</a> <a href="attachment.cgi?id=111311&action=edit" title="Makefile for demo program">[details]</a></span>
Makefile for demo program

I have found a crash in the i965 gen6 code path on trunk.

The crash occurs if you attempt to perform transform feedback after 
you have rendered using a geometry shader.

The work around is to draw something without a geometry shader
before attempting to do any transform feedback.

The attached files contains a simplified demonstration program
using glut.

 > make

Will hopefully generate 'will_crash' and 'workaround' executables.

I ran 'will_crash' in gdb with debug versions of mesa trunk @b3057f8
installed on my system. I have attached the backtrace and other info
gleaned from gdb. They are in the attached CRASH.txt file.</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>