Open lunarpapillo opened 5 years ago
On Ubuntu 18.04 AMD and Windows 10 NVIDIA, attempting to replay a trace of vulkaninfo provokes a crash.
On Ubuntu 18.04:
$ vktrace -p $(which vulkaninfo) -o vi.vktrace $ vkreplay -o vi.vktrace Segmentation fault (core dumped) #0 0x0000000000407060 in ?? () LunarG/VulkanTools#1 0x00007ffff7badce3 in util_SubmitDebugUtilsMessageEXT (inst=0x55555596ff30, messageSeverity=VK_DEBUG_UTILS_MESSAGE_SEVERITY_ERROR_BIT_EXT, messageTypes=1, pCallbackData=0x7fffffffb9a0) at /home/papillo/work/LunarG/VulkanTools/build/Vulkan-Loader/loader/debug_utils.c:109 LunarG/VulkanTools#2 0x00007ffff7b9030c in loader_log (inst=0x55555596ff30, msg_type=8, msg_code=0, format=0x55555596d620 "/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlk32.so: wrong ELF class: ELFCLASS32") at /home/papillo/work/LunarG/VulkanTools/build/Vulkan-Loader/loader/loader.c:385 LunarG/VulkanTools#3 0x00007ffff7b93c82 in loader_scanned_icd_add (inst=0x55555596ff30, icd_tramp_list=0x55555596ff98, filename=0x7fffffffc0f0 "/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlk32.so", api_version=4198477) at /home/papillo/work/LunarG/VulkanTools/build/Vulkan-Loader/loader/loader.c:2073 LunarG/VulkanTools#4 0x00007ffff7b997d2 in loader_icd_scan (inst=0x55555596ff30, icd_tramp_list=0x55555596ff98) at /home/papillo/work/LunarG/VulkanTools/build/Vulkan-Loader/loader/loader.c:4063 LunarG/VulkanTools#5 0x00007ffff7ba4fa0 in vkCreateInstance (pCreateInfo=0x55555596ce20, pAllocator=0x0, pInstance=0x7fffffffc608) at /home/papillo/work/LunarG/VulkanTools/build/Vulkan-Loader/loader/trampoline.c:466 LunarG/VulkanTools#6 0x00005555555b4311 in vkReplay::manually_replay_vkCreateInstance (this=0x555555964a00, pPacket=0x55555596cdf8) at /home/papillo/work/LunarG/VulkanTools/vktrace/vktrace_replay/vkreplay_vkreplay.cpp:499 LunarG/VulkanTools#7 0x00005555556472f8 in vkReplay::replay (this=0x555555964a00, packet=0x55555596cdb0) at /home/papillo/work/LunarG/VulkanTools/build/vktrace/vkreplay_vk_replay_gen.cpp:351 LunarG/VulkanTools#8 0x000055555558f85c in VkReplayReplay (pPacket=0x55555596cdb0) at /home/papillo/work/LunarG/VulkanTools/vktrace/vktrace_replay/vkreplay.cpp:132 LunarG/VulkanTools#9 0x000055555567e250 in vktrace_replay::main_loop (display=..., seq=..., replayerArray=0x7fffffffdb80) at /home/papillo/work/LunarG/VulkanTools/vktrace/vktrace_replay/vkreplay_main.cpp:234 LunarG/VulkanTools#10 0x000055555567f7f0 in vkreplay_main (argc=3, argv=0x7fffffffdde8, pDisp=0x55555594ea50) at /home/papillo/work/LunarG/VulkanTools/vktrace/vktrace_replay/vkreplay_main.cpp:698 LunarG/VulkanTools#11 0x000055555567f99b in main (argc=3, argv=0x7fffffffdde8) at /home/papillo/work/LunarG/VulkanTools/vktrace/vktrace_replay/vkreplay_main.cpp:866
On Windows NVIDIA:
> set VK_LAYER_PATH=C:\j\vt\98badf8c\build\layersvt\Debug > set PATH=C:\j\vt\98badf8c\build\layersvt\Debug;%PATH% > C:\j\vt\98badf8c\build\vktrace\Debug\vktrace.exe -p vulkaninfo -o vi.vktrace > C:\j\vt\98badf8c\build\vktrace\Debug\vkreplay.exe -o vi.vktrace > echo %errorlevel% -1073741819
On Ubuntu 18.04 AMD and Windows 10 NVIDIA, attempting to replay a trace of vulkaninfo provokes a crash.
On Ubuntu 18.04:
On Windows NVIDIA: