<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:sa@whiz.se" title="Sven Arvidsson <sa@whiz.se>"> <span class="fn">Sven Arvidsson</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - vulkaninfo fails with "trap divide error""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102571">bug 102571</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>sa@whiz.se
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - vulkaninfo fails with "trap divide error""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102571#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - vulkaninfo fails with "trap divide error""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102571">bug 102571</a>
              from <span class="vcard"><a class="email" href="mailto:sa@whiz.se" title="Sven Arvidsson <sa@whiz.se>"> <span class="fn">Sven Arvidsson</span></a>
</span></b>
        <pre>Hi,

I had the same problem on a previously working system, with a very similar
looking backtrace: 

Thread 1 "vulkaninfo" received signal SIGFPE, Arithmetic exception.
0x00007ffff62aa2f3 in radv_pipeline_scratch_init
(pipeline=pipeline@entry=0x555555a66c50, device=<optimized out>, 
    device=<optimized out>) at ../../../../src/amd/vulkan/radv_pipeline.c:117

I noticed that running vulkaninfo as root, or as another user worked. 

Just deleting the file ~/.cache/radv_builtin_shaders fixed it here. 

I'm not sure if the file simply got corrupt due to me killing a vulkan app
abruptly or if it had something to do with switching between 64bit and 32bit
apps and drivers?

(Not entirely sure how to regenerate the file to recreate the bug either, just
running vulkan-smoketest doesn't seem to suffice)</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>