<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 - [vulkan, BSW] dEQP-VK.api.object_management.multithreaded_per_thread_device intermittent crash"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94904">94904</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[vulkan, BSW] dEQP-VK.api.object_management.multithreaded_per_thread_device intermittent crash
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>mark.a.janes@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This suite of tests crashes intermittently on BSW

repeatedly running the single test
dEQP-VK.api.object_management.multithreaded_per_thread_device.shader_module
should generate a segfault about 25% of the time.

The stacktrace leaves mesa for libgcrypt at src/util/mesa-sha1.c:190
gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0);

Mesa initializes libgcrypt on first use, based on a static int.  This is not
sufficient to protect the initialization routine from simultaneous execution. 
Based on
<a href="https://gnupg.org/documentation/manuals/gcrypt/Multi_002dThreading.html#Multi_002dThreading">https://gnupg.org/documentation/manuals/gcrypt/Multi_002dThreading.html#Multi_002dThreading</a>
there should be a real mutex here.</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>