<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 - WebGL shader regular update crashes nouveau driver 17.3.3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105629">105629</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>WebGL shader regular update crashes nouveau driver 17.3.3
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.3
          </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/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hugues.evrard@graphicsfuzz.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=138227" name="attach_138227" title="Standalone HTML file for reproduction">attachment 138227</a> <a href="attachment.cgi?id=138227&action=edit" title="Standalone HTML file for reproduction">[details]</a></span>
Standalone HTML file for reproduction

The repetitive updating + rendering of a fragment shader leads to a crash of
the nouveau driver.

Reproduction steps:
 - OS: Linux 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC
2018 x86_64
 - Mesa 17.3.3 (from ppa:ubuntu-x-swat)
 - GPU: NVIDIA Corporation GK107 [GeForce GT 630 OEM] (rev a1)

Using chromium (64.0.3282.167, firefox does not reproduce), visit the html page
attached to that bug report, and wait for approx. 30 times of shader update.
Nouveau crashes with error:

nouveau: kernel rejected pushbuf: No such file or directory
nouveau: ch7: krec 0 pushes 1 bufs 24 relocs 0
nouveau: ch7: buf 00000000 00000004 00000004 00000004 00000000
nouveau: ch7: buf 00000001 00000006 00000004 00000000 00000004
nouveau: ch7: buf 00000002 00000008 00000002 00000002 00000002
...

See attachment for the whole error trace.

Reproduction is non-deterministic as the number of time to render the shader
may vary, but it does crash reliably within the first 50 shader updates
(sometimes less than 20 updates are enough) on my setup.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>