Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- axion demos # gdb ./vulkaninfo
- GNU gdb (Gentoo 7.12.1 vanilla) 7.12.1
- Copyright (C) 2017 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-pc-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <https://bugs.gentoo.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...done.
- (gdb) bt
- No stack.
- (gdb) run
- Starting program: /usr/share/vulkan/demos/vulkaninfo
- warning: File "/lib64/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
- To enable execution of this file add
- add-auto-load-safe-path /lib64/libthread_db-1.0.so
- line to your configuration file "/root/.gdbinit".
- To completely disable this security protection add
- set auto-load safe-path /
- line to your configuration file "/root/.gdbinit".
- For more information about this security protection see the
- "Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
- info "(gdb)Auto-loading safe path"
- warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
- ===========
- VULKAN INFO
- ===========
- Vulkan API Version: 1.0.39
- 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_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_core_validation.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 ICD manifest file /usr/share/vulkan/icd.d/intel_icd.x86_64.json, version "1.0.0"
- INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.i686.json, version "1.0.0"
- ERROR: [loader] Code 0 : /usr/lib32/libvulkan_radeon.so: wrong ELF class: ELFCLASS32
- INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/intel_icd.i686.json, version "1.0.0"
- ERROR: [loader] Code 0 : /usr/lib32/libvulkan_intel.so: wrong ELF class: ELFCLASS32
- INFO: [loader] Code 0 : Found ICD manifest file /usr/share/vulkan/icd.d/radeon_icd.x86_64.json, version "1.0.0"
- Program received signal SIGSEGV, Segmentation fault.
- 0x000000000001daa6 in ?? ()
- (gdb) bt
- #0 0x000000000001daa6 in ?? ()
- #1 0x00007ffff7a027a2 in radv_lookup_entrypoint (name=<optimized out>) at radv_entrypoints.c:1013
- #2 0x00007ffff7f8cfb6 in loader_scanned_icd_add (api_version=4194307, filename=0x7fffffffdcc0 "/usr/lib64/libvulkan_radeon.so", icd_tramp_list=0x464fa0, inst=0x464f60)
- at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:1565
- #3 loader_icd_scan (inst=inst@entry=0x464f60, icd_tramp_list=icd_tramp_list@entry=0x464fa0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:3177
- #4 0x00007ffff7f92996 in vkCreateInstance (pCreateInfo=pCreateInfo@entry=0x7fffffffe2a0, pAllocator=pAllocator@entry=0x0, pInstance=pInstance@entry=0x7fffffffe2f0)
- at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/trampoline.c:329
- #5 0x00000000004017e5 in AppCreateInstance (inst=0x7fffffffe2f0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:667
- #6 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:1454
- (gdb) bt full
- #0 0x000000000001daa6 in ?? ()
- No symbol table info available.
- #1 0x00007ffff7a027a2 in radv_lookup_entrypoint (name=<optimized out>) at radv_entrypoints.c:1013
- e = 0x7ffff7ad4e40 <entrypoints>
- hash = <optimized out>
- h = <optimized out>
- i = 0
- p = <optimized out>
- #2 0x00007ffff7f8cfb6 in loader_scanned_icd_add (api_version=4194307, filename=0x7fffffffdcc0 "/usr/lib64/libvulkan_radeon.so", icd_tramp_list=0x464fa0, inst=0x464f60)
- at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:1565
- res = VK_SUCCESS
- fp_create_inst = <optimized out>
- fp_get_inst_ext_props = <optimized out>
- fp_get_proc_addr = 0x7ffff7a0a130 <vk_icdGetInstanceProcAddr>
- fp_negotiate_icd_version = <optimized out>
- new_scanned_icd = <optimized out>
- interface_vers = 3
- fp_get_phys_dev_proc_addr = 0x0
- #3 loader_icd_scan (inst=inst@entry=0x464f60, icd_tramp_list=icd_tramp_list@entry=0x464fa0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/loader.c:3177
- temp = <optimized out>
- library_path = <optimized out>
- fullpath = "/usr/lib64/libvulkan_radeon.so", '\000' <repeats 993 times>
- vers = 4194307
- item = <optimized out>
- itemICD = <optimized out>
- file_vers = <optimized out>
- i = 3
- file_str = <optimized out>
- file_major_vers = 1
- file_minor_vers = 0
- file_patch_vers = 0
- vers_tok = <optimized out>
- manifest_files = {count = 4, filename_list = 0x40b420}
- res = VK_SUCCESS
- lockedMutex = true
- json = 0x4136f0
- num_good_icds = 3
- #4 0x00007ffff7f92996 in vkCreateInstance (pCreateInfo=pCreateInfo@entry=0x7fffffffe2a0, pAllocator=pAllocator@entry=0x0, pInstance=pInstance@entry=0x7fffffffe2f0)
- at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/loader/trampoline.c:329
- ptr_instance = 0x464f60
- created_instance = 0x0
- loaderLocked = true
- res = <optimized out>
- ici = {sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, pNext = 0x7fffffffe230, flags = 0, pApplicationInfo = 0x7fffffffe260, enabledLayerCount = 0, ppEnabledLayerNames = 0x0, enabledExtensionCount = 2, ppEnabledExtensionNames = 0x7fffffffe210}
- layerErr = VK_SUCCESS
- #5 0x00000000004017e5 in AppCreateInstance (inst=0x7fffffffe2f0) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:667
- i = <optimized out>
- ext_count = 2
- app_info = {sType = VK_STRUCTURE_TYPE_APPLICATION_INFO, pNext = 0x0, pApplicationName = 0x40457a "vulkaninfo", applicationVersion = 1, pEngineName = 0x40457a "vulkaninfo", engineVersion = 1, apiVersion = 4194304}
- inst_info = {sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO, pNext = 0x7fffffffe230, flags = 0, pApplicationInfo = 0x7fffffffe260, enabledLayerCount = 0, ppEnabledLayerNames = 0x0, enabledExtensionCount = 2,
- ppEnabledExtensionNames = 0x7fffffffe210}
- dbg_info = {sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT, pNext = 0x0, flags = 11, pfnCallback = 0x4040e0 <DbgCallback>, pUserData = 0x0}
- err = <optimized out>
- ext_names = {0x404558 "VK_KHR_surface", 0x404567 "VK_KHR_xcb_surface", 0x7fffffffe378 "\020?@", 0x3000009c61 "H\203\304\060\203", <incomplete sequence \370>}
- #6 main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/media-libs/vulkan-base-9999/work/vulkan-base-9999/demos/vulkaninfo.c:1454
- gpus = <optimized out>
- objs = <optimized out>
- gpu_count = 32767
- err = <optimized out>
- inst = {instance = 0x3000223908 <_rtld_global+2312>, global_layer_count = 8, global_layers = 0x419a40, global_extension_count = 6, global_extensions = 0x41e000, vkGetPhysicalDeviceSurfaceSupportKHR = 0x40,
- vkGetPhysicalDeviceSurfaceCapabilitiesKHR = 0x800000, vkGetPhysicalDeviceSurfaceFormatsKHR = 0xf0b5ff, vkGetPhysicalDeviceSurfacePresentModesKHR = 0xc2, surface = 0x7fffffffe36f, width = -7314, height = 32767, xcb_connection = 0x30004995d5,
- xcb_screen = 0x1, xcb_window = 4211701}
- format_count = <optimized out>
- present_mode_count = <optimized out>
- (gdb)
Advertisement
Add Comment
Please, Sign In to add comment