RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

Save State w/ thumbnail causes crash when using Vulkan driver (any core)

Open twicksell opened this issue 6 years ago • 2 comments

Description

Save states w/ thumbnails enabled should not cause an immediate program crash. This seems to happen on any core when using the Vulkan driver. This will result in:

retroarch_debug.exe caused an Access Violation at location 000000001149925E in module nvoglv64.dll Reading from location 0000000000000068.

Steps to reproduce the bug

  1. Enable thumbnail capturing for save states
  2. Launch a game on any core using Vulkan driver
  3. Toggle max run speed 3x (not strictly necessary, but seems to guarantee chances of crash)
  4. Save state

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 1.7.6

Environment information

  • OS: Windows 10.0.17763

Crash Report

-------------------

Error occurred on Sunday, February 24, 2019 at 10:20:54.

retroarch_debug.exe caused an Access Violation at location 000000001149925E in module nvoglv64.dll Reading from location 0000000000000068.

AddrPC           Params
000000001149925E 0000000000000001 000000000D64DC40 000000000D617070  nvoglv64.dll!vkGetInstanceProcAddr
00000000006F425E 0000000013E7B280 000000001460BAB8 000000000D64DC40  retroarch_debug.exe!vulkan_map_persistent_texture  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/gfx/common/vulkan_common.c @ 333]
00000000006F2E09 000000001460A6E0 0000000023A1A040 000000000804FA00  retroarch_debug.exe!vulkan_read_viewport  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/gfx/drivers/vulkan.c @ 2494]
000000000046E5E2 0000000023A1A040 000000000D617000 0000000000000000  retroarch_debug.exe!video_driver_read_viewport  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/gfx/video_driver.c @ 2021]
00000000004A3A80 000000000D6B9350 0000000000000001 000000003F2ADE00  retroarch_debug.exe!take_screenshot_viewport  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/tasks/task_screenshot.c @ 318]
00000000004A3D01 000000000D6B9350 000000000804FB01 000000000804FB00  retroarch_debug.exe!take_screenshot_choice  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/tasks/task_screenshot.c @ 381]
00000000004A3EA1 000000000D6B9350 000000000D617001 0000000000000001  retroarch_debug.exe!take_screenshot  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/tasks/task_screenshot.c @ 420]
0000000000426392 000000002BB2C470 0000000000000000 0000000000000000  retroarch_debug.exe!save_state_cb  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/tasks/task_save.c @ 1051]
000000000041E475 000000001460CB70 0000000000000000 0000000000000000  retroarch_debug.exe!retro_task_internal_gather  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/libretro-common/queues/task_queue.c @ 141]
000000000041EA46 000000000D64DC40 0000000000549797 0000000000000000  retroarch_debug.exe!retro_task_threaded_gather  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/libretro-common/queues/task_queue.c @ 374]
000000000041F030 000000000000000C 0000000000423A00 000000000804FD70  retroarch_debug.exe!task_queue_check  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/libretro-common/queues/task_queue.c @ 608]
0000000000549D3E 0000000000000000 0000000000000000 000000000804FD70  retroarch_debug.exe!ui_application_qt_run  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/ui/drivers/qt/ui_qt_application.cpp @ 169]
000000000040174A 0000000000000001 000000000D617070 0000000000000000  retroarch_debug.exe!rarch_main  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/frontend/frontend.c @ 173]
0000000000549D89 0000000000000001 000000000D617070 0000000008153C38  retroarch_debug.exe!SDL_main  [C:/msys64/home/buildbot/buildbot/windows_x64/retroarch/ui/drivers/qt/ui_qt_application.cpp @ 188]
0000000000989498 0000000000000000 0000000000000027 00000000017D2A18  retroarch_debug.exe!main_getcmdline
00000000004013C7 00000000006E006C 0000000000080000 0000000000000000  retroarch_debug.exe!__tmainCRTStartup  [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 337]
00000000004014CB 0000000000000000 0000000000000000 0000000000000000  retroarch_debug.exe!WinMainCRTStartup  [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 187]
00007FF9924F81F4 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
00007FF9944EA251 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

retroarch_debug.exe
ntdll.dll   	10.0.17763.292
KERNEL32.DLL	10.0.17763.292
KERNELBASE.dll	10.0.17763.292
ADVAPI32.dll	10.0.17763.1
msvcrt.dll  	7.0.17763.1
sechost.dll 	10.0.17763.1
RPCRT4.dll  	10.0.17763.194
comdlg32.dll	10.0.17763.1
combase.dll 	10.0.17763.253
ucrtbase.dll	10.0.17763.1
bcryptPrimitives.dll	10.0.17763.1
shcore.dll  	10.0.17763.1
USER32.dll  	10.0.17763.168
win32u.dll  	10.0.17763.1
GDI32.dll   	10.0.17763.1
gdi32full.dll	10.0.17763.316
msvcp_win.dll	10.0.17763.1
SHLWAPI.dll 	10.0.17763.1
SHELL32.dll 	10.0.17763.292
cfgmgr32.dll	10.0.17763.1
COMCTL32.dll	5.82.17763.316
windows.storage.dll	10.0.17763.168
profapi.dll 	10.0.17763.1
powrprof.dll	10.0.17763.1
kernel.appcore.dll	10.0.17763.1
cryptsp.dll 	10.0.17763.1
ole32.dll   	10.0.17763.134
SETUPAPI.dll	10.0.17763.292
bcrypt.dll  	10.0.17763.1
WS2_32.dll  	10.0.17763.1
HID.DLL     	10.0.17763.1
DINPUT8.dll 	10.0.17763.1
DSOUND.dll  	10.0.17763.1
IPHLPAPI.DLL	10.0.17763.1
MSIMG32.dll 	10.0.17763.1
libwinpthread-1.dll	1.0.0.0
OPENGL32.dll	10.0.17763.1
WINMM.dll   	10.0.17763.1
libass-9.dll
libstdc++-6.dll
avcodec-57.dll	57.107.100.0
avutil-55.dll	55.78.100.0
avformat-57.dll	57.83.100.0
cgD3D9.dll  	3.1.0.13
cgGL.dll    	3.1.0.13
cg.dll      	3.1.0.13
libfreetype-6.dll
libopenal-1.dll
Qt5Core.dll 	5.10.1.0
Qt5Network.dll	5.10.1.0
CRYPT32.dll 	10.0.17763.1
SDL2.dll    	2.0.7.0
MSASN1.dll  	10.0.17763.1
SSLEAY32.dll	1.0.2.14
IMM32.dll   	10.0.17763.1
OLEAUT32.dll	10.0.17763.292
swresample-2.dll	2.9.100.0
swscale-4.dll	4.8.100.0
libusb-1.0.dll	1.0.21.11156
zlib1.dll
libgcc_s_seh-1.dll
libfontconfig-1.dll
GLU32.dll   	10.0.17763.1
libfribidi-0.dll
libharfbuzz-0.dll
winmmbase.dll	10.0.17763.1
libcelt0-2.dll
libgsm.dll
liblzma-5.dll	5.2.3.0
Secur32.dll 	10.0.17763.1
libbluray-2.dll
libmp3lame-0.dll
libopencore-amrnb-0.dll
libbz2-1.dll
libmodplug-1.dll
librtmp-1.dll
libopenjp2-7.dll
libopus-0.dll
libspeex-1.dll
libtheoradec-1.dll
libtheoraenc-1.dll
libvorbis-0.dll
libvorbisenc-2.dll
libvpx-1.dll
libwavpack-1.dll
libwebp-7.dll
libwebpmux-3.dll
libx264-155.dll	0.155.2901.0
libpng16-16.dll
libicuuc58.dll
libpcre2-16-0.dll
MPR.dll     	10.0.17763.1
NETAPI32.dll	10.0.17763.1
USERENV.dll 	10.0.17763.1
VERSION.dll 	10.0.17763.1
DNSAPI.dll  	10.0.17763.292
NSI.dll     	10.0.17763.1
libexpat-1.dll
libglib-2.0-0.dll	2.54.3.0
libgraphite2.dll
libxml2-2.dll
libgmp-10.dll
libhogweed-4.dll
libnettle-6.dll
libogg-0.dll
libintl-8.dll	0.19.8.0
SSPICLI.DLL 	10.0.17763.1
exchndl.dll 	0.8.2.0
PSAPI.DLL   	10.0.17763.1
mgwhelp.dll 	0.8.2.0
dbghelp.dll 	10.0.17763.1
dbgcore.DLL 	10.0.17763.1
Qt5Gui.dll  	5.10.1.0
libiconv-2.dll	1.15.0.0
Qt5Widgets.dll	5.10.1.0
libx265.dll 	2.5.0.0
libopencore-amrwb-0.dll
xvidcore.dll
LIBEAY32.dll	1.0.2.14
libicuin58.dll
libgnutls-30.dll
libicudt58.dll
libpcre-1.dll
dwmapi.dll  	10.0.17763.1
UxTheme.dll 	10.0.17763.1
libidn2-0.dll
libtasn1-6.dll
CRYPTBASE.DLL	10.0.17763.1
NETUTILS.DLL	10.0.17763.1
SRVCLI.DLL  	10.0.17763.1
libp11-kit-0.dll
libunistring-2.dll	0.9.8.0
libffi-6.dll
ncrypt.dll  	10.0.17763.1
NTASN1.dll  	10.0.17763.1
rsaenh.dll  	10.0.17763.1
gameoverlayrenderer64.dll	4.95.20.30
inputhost.dll
CoreMessaging.dll	10.0.17763.194
twinapi.appcore.dll	10.0.17763.292
CoreUIComponents.dll	10.0.17763.1
d2d1.dll    	10.0.17763.1
d3d11.dll   	10.0.17763.1
PROPSYS.dll 	7.0.17763.1
wintypes.dll	10.0.17763.134
RMCLIENT.dll	10.0.17763.194
ntmarta.dll 	10.0.17763.1
dxgi.dll    	10.0.17763.1
DEVOBJ.dll  	10.0.17763.1
WINTRUST.dll	10.0.17763.292
MSCTF.dll   	10.0.17763.1
nvoglv64.dll	25.21.14.1917
WTSAPI32.dll	10.0.17763.1
imagehlp.dll	10.0.17763.1
gpapi.dll   	10.0.17763.1
cryptnet.dll	10.0.17763.1
nvspcap64.dll	3.17.0.126
nvapi64.dll 	25.21.14.1917
WINSTA.dll  	10.0.17763.1
TextInputFramework.dll	10.0.17763.1
clbcatq.dll 	2001.12.10941.16384
explorerframe.dll	10.0.17763.1
MMDevApi.dll	10.0.17763.1
AUDIOSES.DLL	10.0.17763.292
AVRT.dll    	10.0.17763.1
resourcepolicyclient.dll	10.0.17763.1
Windows.UI.dll	10.0.17763.168
wdmaud.drv  	10.0.17763.1
ksuser.dll  	10.0.17763.1
msacm32.drv 	10.0.17763.1
MSACM32.dll 	10.0.17763.1
midimap.dll 	10.0.17763.1
mednafen_psx_hw_libretro.dll
mswsock.dll 	10.0.17763.292
fwpuclnt.dll	10.0.17763.1
rasadhlp.dll	10.0.17763.1
vulkan-1.dll	1.1.97.0
SteamOverlayVulkanLayer64.dll
nvcbl64.dll 	25.21.14.1917
nvfatbinaryLoader.dll	25.21.14.1917
nvrtum64.dll	25.21.14.1917
chorus.dll
crystalizer.dll
echo.dll
eq.dll
iir.dll
panning.dll
phaser.dll
reverb.dll
tremolo.dll
vibrato.dll
wahwah.dll

Windows 10.0.17763
DrMingw 0.8.2


twicksell avatar Feb 24 '19 18:02 twicksell

It doesn't crash on Linux with radv.

orbea avatar Feb 24 '19 23:02 orbea

Is this still a thing?

sonninnos avatar Oct 04 '22 23:10 sonninnos