<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - i965/valgrind + glxgears = More than 10000000 total errors detected"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=77863">77863</a>
          </td>
        </tr>

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

        <tr>
          <th>Summary</th>
          <td>i965/valgrind + glxgears = More than 10000000 total errors detected
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>major
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>austinenglish@gmail.com
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>10.0
          </td>
        </tr>

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

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=97867" name="attach_97867" title="valgrind log (bzip2)">attachment 97867</a> <a href="attachment.cgi?id=97867&action=edit" title="valgrind log (bzip2)">[details]</a></span>
valgrind log (bzip2)

I'm trying to run the wine tests on my laptop under valgrind. When running the
graphics tests, valgrind goes nuts in the i965 driver. The first time I ran it,
It threw an error that it hit over 10 million (!) errors and was quitting.

After a couple hours playing with suppressions and eventually exluding
practically anything invoving i965/libdrm_intel.so, I was able to get results.

As a testcase, I tried valgrinding glxgears instead, and was able to reproduce
it there as well:

==19571== More than 10000000 total errors detected.  I'm not reporting any
more.
==19571== Final error counts will be inaccurate.  Go fix your program!
==19571== Rerun with --error-limit=no to disable this cutoff.  Note
==19571== that errors may occur in your program without prior warning from
==19571== Valgrind, because errors are no longer being displayed.

to reproduce:
valgrind -q --trace-children=yes --track-origins=yes --gen-suppressions=all
--leak-check=full --num-callers=20  --workaround-gcc296-bugs=yes
--vex-iropt-register-updates=allregs-at-mem-access glxgears

let glxgears run for a few seconds, then close

valgrind 3.9.0

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.0.4
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 10.0.4
OpenGL shading language version string: 1.30</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>