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@lists.freedesktop.org
          Reporter: danielr...@gmail.com
        QA Contact: mesa-dev@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to