Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AddressSanitizer: heap-use-after-free #3438

Open
oltolm opened this issue Nov 10, 2024 · 0 comments
Open

AddressSanitizer: heap-use-after-free #3438

oltolm opened this issue Nov 10, 2024 · 0 comments

Comments

@oltolm
Copy link
Contributor

oltolm commented Nov 10, 2024

I get this error when click on "Update" on the game starting screen.

00000044	22:39:53	[19892] =================================================================	
00000045	22:39:53	[19892] ==19892==ERROR: AddressSanitizer: heap-use-after-free on address 0x11e0e5961af0 at pc 0x7ff6edbee2c9 bp 0x005c297e92c0 sp 0x005c297e9308	
00000046	22:39:53	[19892] READ of size 8 at 0x11e0e5961af0 thread T0	
00000047	22:39:53	[19892]     #0 0x7ff6edbee2c8 in TextureUpdateDescriptorSet(ImGui_VulkanState&, TextureState*) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl_vulkan.cpp:200:18	
00000048	22:39:53	[19892]     #1 0x7ff6edbe6c19 in ImGui_ImplSdlVulkan_RenderDrawData(ImGui_VulkanState&) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl_vulkan.cpp:559:17	
00000049	22:39:53	[19892]     #2 0x7ff6ed27023c in ImGui_ImplSdl_RenderDrawData(ImGui_State*) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl.cpp:181:16	
00000050	22:39:53	[19892]     #3 0x7ff6ed28ffbf in gui::draw_end(GuiState&) C:/src/Vita3K/vita3k/gui/src/gui.cpp:751:5	
00000051	22:39:53	[19892]     #4 0x7ff6ece9c2a1 in SDL_main C:/src/Vita3K/vita3k/main.cpp:458:9	
00000052	22:39:53	[19892]     #5 0x7ff6f0b13150 in main_getcmdline (E:\build-vita3k-clang-debug\bin\Vita3K.exe+0x143c83150)	
00000053	22:39:53	[19892]     #6 0x7ff6eda24627 in main C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:67:10	
00000054	22:39:53	[19892]     #7 0x7ff6ece91312 in __tmainCRTStartup C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:259:15	
00000055	22:39:53	[19892]     #8 0x7ff6ece91155 in .l_startw C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:149:9	
00000056	22:39:53	[19892]     #9 0x7ffe6e9b7373  (C:\WINDOWS\System32\KERNEL32.DLL+0x180017373)	
00000057	22:39:53	[19892]     #10 0x7ffe6ee1cc90  (C:\WINDOWS\SYSTEM32\ntdll.dll+0x18004cc90)	
00000058	22:39:53	[19892] 	
00000059	22:39:53	[19892] 0x11e0e5961af0 is located 32 bytes inside of 40-byte region [0x11e0e5961ad0,0x11e0e5961af8)	
00000060	22:39:53	[19892] freed by thread T0 here:	
00000061	22:39:53	[19892]     #0 0x7ffda9d58021 in operator delete(void*) (C:\msys64\clang64\bin\libclang_rt.asan_dynamic-x86_64.dll+0x180058021)	
00000062	22:39:53	[19892]     #1 0x7ff6edbfa342 in ImGui_ImplSdlVulkan_DeleteTexture(ImGui_VulkanState&, void*) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl_vulkan.cpp:712:5	
00000063	22:39:53	[19892]     #2 0x7ff6ed2712b9 in ImGui_ImplSdl_DeleteTexture(ImGui_State*, void*) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl.cpp:267:16	
00000064	22:39:53	[19892]     #3 0x7ff6ed272311 in ImGui_Texture::~ImGui_Texture() C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl.cpp:347:9	
00000065	22:39:53	[19892]     #4 0x7ff6ecf78fbb in std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>::~pair() C:/msys64/clang64/include/c++/v1/__utility/pair.h:65:29	
00000066	22:39:53	[19892]     #5 0x7ff6ecf78f94 in void std::__1::__destroy_at[abi:de190100]<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>, 0>(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>*) C:/msys64/clang64/include/c++/v1/__memory/construct_at.h:67:11	
00000067	22:39:53	[19892]     #6 0x7ff6ecf78ed7 in void std::__1::allocator_traits<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, void*>>>::destroy[abi:de190100]<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>, void, 0>(std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, void*>>&, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>*) C:/msys64/clang64/include/c++/v1/__memory/allocator_traits.h:339:5	
00000068	22:39:53	[19892]     #7 0x7ff6ecf78e11 in std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>>>::destroy(std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, void*>*) C:/msys64/clang64/include/c++/v1/__tree:1541:5	
00000069	22:39:53	[19892]     #8 0x7ff6ecf78dd4 in std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>>>::destroy(std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, void*>*) C:/msys64/clang64/include/c++/v1/__tree:1539:5	
00000070	22:39:53	[19892]     #9 0x7ff6ecf78d24 in std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::	
00000071	22:39:53	[19892] __1::allocator<char>>>, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture>>>::~__tree() C:/msys64/clang64/include/c++/v1/__tree:1532:3	
00000072	22:39:53	[19892]     #10 0x7ff6ecf4c9e2 in std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>::~map[abi:de190100]() C:/msys64/clang64/include/c++/v1/map:1130:112	
00000073	22:39:53	[19892]     #11 0x7ff6ecf78bfb in std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>::~pair() C:/msys64/clang64/include/c++/v1/__utility/pair.h:65:29	
00000074	22:39:53	[19892]     #12 0x7ff6ecf78bd4 in void std::__1::__destroy_at[abi:de190100]<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, 0>(std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>*) C:/msys64/clang64/include/c++/v1/__memory/construct_at.h:67:11	
00000075	22:39:53	[19892]     #13 0x7ff6ecf78b17 in void std::__1::allocator_traits<std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, void*>>>::destroy[abi:de190100]<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, void, 0>(std::__1::allocator<std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, void*>>&, std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::map<std::__1::basic_string<char, std::__1:	
00000076	22:39:53	[19892] :char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>*) C:/msys64/clang64/include/c++/v1/__memory/allocator_traits.h:339:5	
00000077	22:39:53	[19892]     #14 0x7ff6ed37a4b7 in std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>>>::erase(std::__1::__tree_const_iterator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, std::__1::__tree_node<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, void*>*, long long>) C:/msys64/clang64/include/c++/v1/__tree:2043:3	
00000078	22:39:53	[19892]     #15 0x7ff6ed379e22 in unsigned long long std::__1::__tree<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, std::__1::__map_value_compare<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_t	
00000079	22:39:53	[19892] raits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, true>, std::__1::allocator<std::__1::__value_type<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>>>::__erase_unique<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) C:/msys64/clang64/include/c++/v1/__tree:2063:3	
00000080	22:39:53	[19892]     #16 0x7ff6ed3701bc in std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>>>>::erase[abi:de190100](std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) C:/msys64/clang64/include/c++/v1/map:1309:79	
00000081	22:39:53	[19892]     #17 0x7ff6ed3eb85b in gui::update_app(GuiState&, EmuEnvState&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) C:/src/Vita3K/vita3k/gui/src/live_area.cpp:519:32	
00000082	22:39:53	[19892]     #18 0x7ff6ed4060dc in gui::draw_live_area_screen(GuiState&, EmuEnvState&) C:/src/Vita3K/vita3k/gui/src/live_area.cpp:1145:13	
00000083	22:39:53	[19892]     #19 0x7ff6ed290cee in gui::draw_vita_area(GuiState&, EmuEnvState&) C:/src/Vita3K/vita3k/gui/src/gui.cpp:784:9	
00000084	22:39:53	[19892]     #20 0x7ff6ece9c044 in SDL_main C:/src/Vita3K/vita3k/main.cpp:443:9	
00000085	22:39:53	[19892]     #21 0x7ff6f0b13150 in main_getcmdline (E:\build-vita3k-clang-debug\bin\Vita3K.exe+0x143c83150)	
00000086	22:39:53	[19892]     #22 0x7ff6eda24627 in main C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:67:10	
00000087	22:39:53	[19892]     #23 0x7ff6ece91312 in __tmainCRTStartup C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:259:15	
00000088	22:39:53	[19892]     #24 0x7ff6ece91155 in .l_startw C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:149:9	
00000089	22:39:53	[19892]     #25 0x7ffe6e9b7373  (C:\WINDOWS\System32\KERNEL32.DLL+0x180017373)	
00000090	22:39:53	[19892]     #26 0x7ffe6ee1cc90  (C:\WINDOWS\SYSTEM32\ntdll.dll+0x18004cc90)	
00000091	22:39:53	[19892] 	
00000092	22:39:53	[19892] previously allocated by thread T0 here:	
00000093	22:39:53	[19892]     #0 0x7ffda9d577c1 in operator new(unsigned long long) (C:\msys64\clang64\bin\libclang_rt.asan_dynamic-x86_64.dll+0x1800577c1)	
00000094	22:39:53	[19892]     #1 0x7ff6edbeef98 in ImGui_ImplSdlVulkan_CreateTexture(ImGui_VulkanState&, void*, int, int, bool) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl_vulkan.cpp:587:21	
00000095	22:39:53	[19892]     #2 0x7ff6ed270ee6 in ImGui_ImplSdl_CreateTexture(ImGui_State*, void*, int, int) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl.cpp:253:16	
00000096	22:39:53	[19892]     #3 0x7ff6ed271d7e in ImGui_Texture::init(ImGui_State*, void*, int, int) C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl.cpp:309:21	
00000097	22:39:53	[19892]     #4 0x7ff6ed3da0fb in gui::init_live_area(GuiState&, EmuEnvState&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) C:/src/Vita3K/vita3k/gui/src/live_area.cpp:272:66	
00000098	22:39:53	[19892]     #5 0x7ff6ed34f03b in gui::open_live_area(GuiState&, EmuEnvState&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) C:/src/Vita3K/vita3k/gui/src/home_screen.cpp:128:5	
00000099	22:39:53	[19892]     #6 0x7ff6ed34f424 in gui::pre_load_app(GuiState&, EmuEnvState&, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) C:/src/Vita3K/vita3k/gui/src/home_screen.cpp:140:13	
00000100	22:39:53	[19892]     #7 0x7ff6ed36282c in gui::draw_home_screen(GuiState&, EmuEnvState&)::$_0::operator()(std::__1::vector<gui::App, std::__1::allocator<gui::App>> const&, std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, ImGui_Texture, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const, ImGui_Texture>>>&) const C:/src/Vita3K/vita3k/gui/src/home_screen.cpp:922:17	
00000101	22:39:53	[19892]     #8 0x7ff6ed35a659 in gui::draw_home_screen(GuiState&, EmuEnvState&) C:/src/Vita3K/vita3k/gui/src/home_screen.cpp:932:5	
00000102	22:39:53	[19892]     #9 0x7ff6ed290c74 in gui::draw_vita_area(GuiState&, EmuEnvState&) C:/src/Vita3K/vita3k/gui/src/gui.cpp:781:9	
00000103	22:39:53	[19892]     #10 0x7ff6ece98695 in SDL_main C:/src/Vita3K/vita3k/main.cpp:305:17	
00000104	22:39:53	[19892]     #11 0x7ff6f0b13150 in main_getcmdline (E:\build-vita3k-clang-debug\bin\Vita3K.exe+0x143c83150)	
00000105	22:39:53	[19892]     #12 0x7ff6eda24627 in main C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexewin.c:67:10	
00000106	22:39:53	[19892]     #13 0x7ff6ece91312 in __tmainCRTStartup C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:259:15	
00000107	22:39:53	[19892]     #14 0x7ff6ece91155 in .l_startw C:/M/B/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:149:9	
00000108	22:39:53	[19892]     #15 0x7ffe6e9b7373  (C:\WINDOWS\System32\KERNEL32.DLL+0x180017373)	
00000109	22:39:53	[19892]     #16 0x7ffe6ee1cc90  (C:\WINDOWS\SYSTEM32\ntdll.dll+0x18004cc90)	
00000110	22:39:53	[19892] 	
00000111	22:39:53	[19892] SUMMARY: AddressSanitizer: heap-use-after-free C:/src/Vita3K/vita3k/gui/src/imgui_impl_sdl_vulkan.cpp:200:18 in TextureUpdateDescriptorSet(ImGui_VulkanState&, TextureState*)	
00000112	22:39:53	[19892] Shadow bytes around the buggy address:	
00000113	22:39:53	[19892]   0x11e0e5961800: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 fa	
00000114	22:39:53	[19892]   0x11e0e5961880: fa fa fd fd fd fd fd fa fa fa 00 00 00 00 00 fa	
00000115	22:39:53	[19892]   0x11e0e5961900: fa fa 00 00 00 00 00 00 fa fa 00 00 00 00 00 00	
00000116	22:39:53	[19892]   0x11e0e5961980: fa fa 00 00 00 00 00 00 fa fa fd fd fd fd fd fa	
00000117	22:39:53	[19892]   0x11e0e5961a00: fa fa 00 00 00 00 00 00 fa fa fd fd fd fd fd fa	
00000118	22:39:53	[19892] =>0x11e0e5961a80: fa fa fd fd fd fd fd fa fa fa fd fd fd fd[fd]fa	
00000119	22:39:53	[19892]   0x11e0e5961b00: fa fa 00 00 00 00 00 fa fa fa fd fd fd fd fd fa	
00000120	22:39:53	[19892]   0x11e0e5961b80: fa fa 00 00 00 00 00 fa fa fa 00 00 00 00 00 fa	
00000121	22:39:53	[19892]   0x11e0e5961c00: fa fa 00 00 00 00 00 fa fa fa 00 00 00 00 00 fa	
00000122	22:39:53	[19892]   0x11e0e5961c80: fa fa fd fd fd fd fd fa fa fa 00 00 00 00 00 fa	
00000123	22:39:53	[19892]   0x11e0e5961d00: fa fa 00 00 00 00 00 fa fa fa fd fd fd fd fd fa	
00000124	22:39:53	[19892] Shadow byte legend (one shadow byte represents 8 application bytes):	
00000125	22:39:53	[19892]   Addressable:           00	
00000126	22:39:53	[19892]   Partially addressable: 01 02 03 04 05 06 07 	
00000127	22:39:53	[19892]   Heap left redzone:       fa	
00000128	22:39:53	[19892]   Freed heap region:       fd	
00000129	22:39:53	[19892]   Stack left redzone:      f1	
00000130	22:39:53	[19892]   Stack mid redzone:       f2	
00000131	22:39:53	[19892]   Stack right redzone:     f3	
00000132	22:39:53	[19892]   Stack after return:      f5	
00000133	22:39:53	[19892]   Stack use after scope:   f8	
00000134	22:39:53	[19892]   Global redzone:          f9	
00000135	22:39:53	[19892]   Global init order:       f6	
00000136	22:39:53	[19892]   Poisoned by user:        f7	
00000137	22:39:53	[19892]   Container overflow:      fc	
00000138	22:39:53	[19892]   Array cookie:            ac	
00000139	22:39:53	[19892]   Intra object redzone:    bb	
00000140	22:39:53	[19892]   ASan internal:           fe	
00000141	22:39:53	[19892]   Left alloca redzone:     ca	
00000142	22:39:53	[19892]   Right alloca redzone:    cb	
00000143	22:39:53	[19892] ==19892==ABORTING	
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant