[Mesa-dev] [Bug 102571] vulkaninfo fails with "trap divide error"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 7 04:24:48 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102571

            Bug ID: 102571
           Summary: vulkaninfo fails with "trap divide error"
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: danielrf12 at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 134033
  --> https://bugs.freedesktop.org/attachment.cgi?id=134033&action=edit
backtrace of vulkaninfo crash

While testing vulkan support for my 390x on git master, I ran across the
following issue.

Running vulkaninfo crashes and this line shows up in the journal:
traps: vulkaninfo[30227] trap divide error ip:7f9777251563 sp:7fff7aa100e8
error:0 in libvulkan_radeon.so[7f97771ed000+1a5000]

I also ran git-bisect, which indicates that this issue was caused by the commit
180c1b924e1ed3a2918fad9c5cbb653524de8233

Attached is a backtrace of when it crashes, which is in
radv_pipeline_scratch_init of src/vulkan/radv_pipeline.c. The only divide by
zero error that looks possible in that function is on line 763 if
pipeline->shaders[i]->config.num_vgprs is zero.

Additional information:
Running 4.13.0 kernel on NixOS

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170907/4a36add7/attachment.html>


More information about the mesa-dev mailing list