[Mesa-dev] [Bug 99591] Segmentation fault when running vulkaninfo with rafv Radeon Vulkan driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Jan 29 14:23:29 UTC 2017


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

            Bug ID: 99591
           Summary: Segmentation fault when running vulkaninfo with rafv
                    Radeon Vulkan driver
           Product: Mesa
           Version: 13.0
          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: jlp.bugs at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

This happens when using Mesa 13.0.3 and vulkaninfo 1.0.32 on Radeon RX480. If I
run vulkan info through gdb I get this backtrace, where radeon vulkan driver is
mentioned last.:

gdb vulkaninfo
GNU gdb (GDB; openSUSE Tumbleweed) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vulkaninfo...Reading symbols from
/usr/lib/debug/usr/bin/vulkaninfo.debug...done.
done.
(gdb) start
Temporary breakpoint 1 at 0x4015e0: file
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/demos/vulkaninfo.c,
line 1406.
Starting program: /usr/bin/vulkaninfo 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Temporary breakpoint 1, main (argc=1, argv=0x7fffffffddf8) at
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/demos/vulkaninfo.c:1406
1406   
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/demos/vulkaninfo.c:
Datoteka ali imenik s tem imenom ne obstaja.
(gdb) c
Continuing.
===========
VULKAN INFO
===========

Vulkan API Version: 1.0.32

INFO: [loader] Code 0 : Found manifest file
/etc/vulkan/explicit_layer.d/VkLayer_core_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/etc/vulkan/explicit_layer.d/VkLayer_image.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/etc/vulkan/explicit_layer.d/VkLayer_object_tracker.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/etc/vulkan/explicit_layer.d/VkLayer_parameter_validation.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/etc/vulkan/explicit_layer.d/VkLayer_swapchain.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/etc/vulkan/explicit_layer.d/VkLayer_threading.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/etc/vulkan/explicit_layer.d/VkLayer_unique_objects.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/explicit_layer.d/VkLayer_core_validation.json, version
"1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/explicit_layer.d/VkLayer_image.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/explicit_layer.d/VkLayer_parameter_validation.json, version
"1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/explicit_layer.d/VkLayer_swapchain.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/explicit_layer.d/VkLayer_threading.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/home/jlp/.local/share/vulkan/implicit_layer.d/steamoverlay_i386.json, version
"1.0.0"
INFO: [loader] Code 0 : Found manifest file
/home/jlp/.local/share/vulkan/implicit_layer.d/steamoverlay_x86_64.json,
version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0"
INFO: [loader] Code 0 : Found manifest file
/usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0"

Program received signal SIGSEGV, Segmentation fault.
0x000000000001c266 in ?? ()
(gdb) where
#0  0x000000000001c266 in ?? ()
#1  0x00007fffed78efa2 in radv_lookup_entrypoint (name=<optimized out>) at
radv_entrypoints.c:857
#2  0x00007ffff7654a3d in loader_scanned_icd_add (api_version=4194307,
filename=0x7fffffff5c70 "/usr/lib64/libvulkan_radeon.so", icd_libs=0x66cbe0,
inst=0x66cb70)
    at
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/loader/loader.c:1542
#3  loader_icd_scan (inst=inst at entry=0x66cb70, icds=icds at entry=0x66cbe0) at
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/loader/loader.c:3045
#4  0x00007ffff76586db in vkCreateInstance
(pCreateInfo=pCreateInfo at entry=0x7fffffff6210, pAllocator=pAllocator at entry=0x0,
pInstance=pInstance at entry=0x7fffffff6260)
    at
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/loader/trampoline.c:367
#5  0x0000000000401968 in app_create_instance (inst=0x7fffffff6260) at
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/demos/vulkaninfo.c:678
#6  main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/Vulkan-LoaderAndValidationLayers-1.0.32.g28/demos/vulkaninfo.c:1428



dmesg contains a lne like this
vulkaninfo[17284]: segfault at 1c266 ip 000000000001c266 sp 00007fffb83cdfb8
error 14 in vulkaninfo[400000+9000]

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


More information about the mesa-dev mailing list