<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 - WebGL2 shader crashes i965_dri.so 17.3.3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105271">105271</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>WebGL2 shader crashes i965_dri.so 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/i965
          </td>
        </tr>

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

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

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Running a WebGL2 shader through Firefox crashes the tab, and the crash
originates from i965_dri.so. See the Mozilla crash details here:

<a href="https://crash-stats.mozilla.com/report/index/89138e8c-9743-4697-b67b-9185b1180227">https://crash-stats.mozilla.com/report/index/89138e8c-9743-4697-b67b-9185b1180227</a>

dmesg indicates what seems like a division by zero:

[ 9949.151041] traps: Web Content[1889] trap divide error ip:7fcb84f87bd0
sp:7ffedcf28570 error:0 in i965_dri.so[7fcb84c48000+7ed000]

For ease of reproduction, this web page will automatically run this WebGL
shader:
<a href="http://hevrard.org/unlinked/graphicsfuzz/benchmark/android-v1/shader06.html">http://hevrard.org/unlinked/graphicsfuzz/benchmark/android-v1/shader06.html</a>

Setup:

CPU: i3-6100U
GPU: Intel HD 520
Mesa: 17.3.3 (as shipped in Debian testing)
Linux 4.14.0-3-amd64 #1 SMP Debian 4.14.17-1 (2018-02-14)

This shader is part of the GraphicsFuzz demo, a small excerpt of shaders that
trigger issues on most Android platforms. It does not use to cause much trouble
on Mesa, but updating to Mesa 17.3.3 lead to appearance of that crash issue.
You can easily try the 15 tests of the on-line demo here:

<a href="http://www.graphicsfuzz.com/#demo">http://www.graphicsfuzz.com/#demo</a></pre>
        </div>
      </p>


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

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