Saturn Kronos core crashes on save state?! (Help!)

Hi, I’m recently using the Sega Saturn Kronos core to play Panzer Dragoon Saga and I can save the game normally in-game. But, when I press F1 and go into the menu to make a save state the emulator and Retroarch completely crashes! And Yabause crashes as well when I make a save state. Does anyone know why? Here is my crash log:

[INFO] RetroArch 1.9.1 (Git cf6ca2a)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Mar 28 2021
[INFO] Version: 1.9.1
[INFO] Git: cf6ca2a
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: vk_w
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [Vulkan]: Found GPU at index 0: NVIDIA GeForce GTX 1070 with Max-Q Design
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using GPU: NVIDIA GeForce GTX 1070 with Max-Q Design
[INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1920 x 1080.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1920 x 1080.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1920x1080
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [XInput]: Found XInput v1.4.
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [C:\Users\nxjta\Desktop\Retroarch\content_favorites.lpl].
[INFO] [Vulkan]: VSync => ON
[INFO] [Vulkan]: VSync => ON
[INFO] [CONTENT LOAD]: Updating firmware status for: C:\Users\nxjta\Desktop\Retroarch\cores\kronos_libretro.dll on C:\Users\nxjta\Desktop\Retroarch\system
[INFO] [CORE]: Using content: D:\Emulators\Saturn Emulation\Sega Saturn Roms and Emulators\Panzer Dragoon Saga US\Panzer Dragoon Saga.m3u.
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Video]: Average monitor Hz: 59.905350 Hz. (9.498 % frame time deviation, based on 2048 last samples).
[INFO] RetroArch 1.9.1 (Git cf6ca2a)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Mar 28 2021
[INFO] Version: 1.9.1
[INFO] Git: cf6ca2a
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [Core]: Loading dynamic libretro core from: "C:\Users\nxjta\Desktop\Retroarch\cores\kronos_libretro.dll"
[INFO] [Overrides]: No core-specific overrides found at "C:\Users\nxjta\Desktop\Retroarch\config\Kronos\Kronos.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "C:\Users\nxjta\Desktop\Retroarch\config\Kronos\Panzer Dragoon Saga US.cfg".
[INFO] [Overrides]: No game-specific overrides found at "C:\Users\nxjta\Desktop\Retroarch\config\Kronos\Panzer Dragoon Saga.cfg".
[INFO] Core requested VFS version >= v1, providing v3
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Remaps]: Remap directory: "C:\Users\nxjta\Desktop\Retroarch\config\remaps".
[INFO] [Overrides]: Redirecting save file to "C:\Users\nxjta\Desktop\Retroarch\saves\Panzer Dragoon Saga.srm".
[INFO] [Overrides]: Redirecting save state to "C:\Users\nxjta\Desktop\Retroarch\states\Panzer Dragoon Saga.state".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: SYSTEM_DIRECTORY: "C:\Users\nxjta\Desktop\Retroarch\system".
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[INFO] [Environ]: PERFORMANCE_LEVEL: 16.
[INFO] [Environ]: SET_SERIALIZATION_QUIRKS.
[INFO] [Environ]: GET_DISK_CONTROL_INTERFACE_VERSION.
[INFO] [Environ]: SET_DISK_CONTROL_EXT_INTERFACE.
[INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own.
[libretro WARN] C:\Users\nxjta\Desktop\Retroarch\system\kronos\stvbios.zip NOT FOUND
[libretro WARN] C:\Users\nxjta\Desktop\Retroarch\system\stvbios.zip NOT FOUND
[libretro WARN] C:\Users\nxjta\Desktop\Retroarch\system\kronos\saturn_bios.bin NOT FOUND
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: GET_PREFERRED_HW_RENDER, video driver name: vulkan.
[INFO] [Environ]: GET_PREFERRED_HW_RENDER - Context callback set to RETRO_HW_CONTEXT_VULKAN.
[INFO] [Environ]: SET_HW_RENDER, context type: glcore.
[INFO] Requesting core OpenGL context (4.2).
[INFO] Reached end of SET_HW_RENDER.
[INFO] [SRAM]: Skipping SRAM load..
[INFO] Setting disc in tray: 1/4 - 042 Panzer Dragoon Saga Disc 1 of 4 (U)
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Cheats]: Load game-specific cheatfile: C:\Users\nxjta\Desktop\Retroarch\cheats\Kronos\Panzer Dragoon Saga.cht
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Using HW render, glcore driver forced.
[INFO] [Video]: "vulkan" saved as cached driver.
[INFO] [GLCore]: Found GL context: wgl
[INFO] [GLCore]: Detecting screen resolution 1920x1080.
[INFO] [WGL] extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_multi[INFO] [WGL]: Adaptive VSync supported.
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GLCore]: Initializing HW render (2048 x 2048).
[INFO] [GLCore]: Max texture size: 32768 px, renderbuffer size: 32768 px.
[INFO] [GLCore]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1070 with Max-Q Design/PCIe/SSE2.
[INFO] [GLCore]: Version: 4.6.0 NVIDIA 466.11.
[INFO] [GLCore]: Using resolution 1920x1080
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [GLCore]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [GLCore]: Not using frame history.
[INFO] [GLCore]: Not using framebuffer feedback.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[libretro INFO] Using OpenGL 4.6
[libretro INFO] Saturn Emulation mode
[INFO] [Environ]: SET_MEMORY_MAPS.
[INFO]    ndx flags  ptr              offset   start    select   disconn  len      addrspace
[INFO]    001 M1A1bc 000000000ca74040 00000000 00200000 07F00000 00000000 00100000 LowWram
[INFO]    002 M1A1bc 000000000c96c040 00000000 06000000 07F00000 00000000 00100000 HighWram
[INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Display]: Found display driver: "glcore".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\nxjta\Desktop\Retroarch\content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [C:\Users\nxjta\Desktop\Retroarch\content_favorites.lpl].
[INFO] [GLCore]: VSync => ON
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [Playlist]: Written to playlist file: C:\Users\nxjta\Desktop\Retroarch\content_history.lpl
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO] [Environ]: SET_GEOMETRY: 1280x896, aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 1408x896, aspect: 1.333.
[INFO] [GLCore]: VSync => ON
[INFO] [WGL]: wglSwapInterval(1)

Hmm, i don’t see any errors in that log. Everything seems normal so far there, AFAICT.

Right when I hit “save state” the entire emulator crashes completely…

I have Vulcan on for the video renderer but I also tried gl and gl core as I think Kronos uses openGl. But, still crashed on save state…

Yeah, it uses GL, but it automatically switches to it (glcore, specifically) when you launch. The log does tell us that’s happening successfully, which is good :slight_smile:

No problem here making savestates with Kronos and Panzer Dragoon Saga. That looks like a setup issue, but your logs don’t give any hint about it. Does it happen with a fresh retroarch setup ?

Not sure about a fresh setup I don’t want to lose my settings for the other emulators at the moment. But, what in the setup could cause something like that to happen? My PSX Beetle HW core is making save states just fine…

There are a lot of .dll files in the installation folder could one of those be causing the problem?:

avcodec-58.dll

avformat-58.dll

avutil-56.dll

content_favorites.lpl

content_history.lpl

content_image_history.lpl

content_music_history.lpl

content_video_history.lpl

libass-9.dll

libbluray-1.dll

libbz2.dll

libcaca-0.dll

libcrypto-1_1-x64.dll

libexpat-1.dll

libfontconfig-1.dll

libfreetype-6.dll

libfribidi-0.dll

libgcc_s_seh-1.dll

libglib-2.0-0.dll

libglut.dll

libgmp-10.dll

libgnutls-30.dll

libharfbuzz-0.dll

libhogweed-6.dll

libiconv-2.dll

libidn2-0.dll

libintl-8.dll

liblzma-5.dll

libmp3lame-0.dll

libncurses5.dll

libnettle-8.dll

libogg-0.dll

libopencore-amrnb-0.dll

libopencore-amrwb-0.dll

libopus-0.dll

libpcre-1.dll

libpcre2-16-0.dll

libpng16-16.dll

libsamplerate-0.dll

libspeex-1.dll

libssl-1_1-x64.dll

libssp-0.dll

libstdc+±6.dll

libtheoradec-1.dll

libunistring-2.dll

libvo-amrwbenc-0.dll

libvorbis-0.dll

libvorbisenc-2.dll

libwinpthread-1.dll

libx264-155.dll

libxml2-2.dll

libzstd.dll

qt.conf

Qt5Core.dll

Qt5Gui.dll

Qt5Network.dll

Qt5Widgets.dll

retroarch.cfg

retroarch.default.cfg

retroarch.exe

SDL2.dll

swresample-3.dll

swscale-5.dll

uninstall.exe

xvidcore.dll

zlib1.dll

You can try moving your retroarch.cfg somewhere else temporarily. If that fixes it, you can “bisect” your config by moving it back out and copying half back in (i.e., so the rest of the options fall back to default values). If your problem returns, your issue comes from one of those options, so take half of that half and paste it in, rinse/repeat.

I tried moving the retroarch.cfg file out of the folder and deleting the other one like you said but making a save state still crashes the emulator…

Hmm, I don’t see any overrides active in your log, so I don’t guess moving your ‘config’ directory out will help any.

I would suggest downloading a new copy of RetroArch (the portable/7zip bundle) and open it up somewhere just to see if a fresh setup acts the same way. If it does, there’s likely something external to RetroArch that’s causing the issue.

Where is that portable zip bundle on the main site? The nightly or stable download?

It’s any of the non-installer Windows downloads, like this one: https://buildbot.libretro.com/stable/1.9.2/windows/x86_64/RetroArch.7z

Yeah this version of the emulator is still crashing on save state…I just don’t get it…how come I can save a state just find in PSX Beetle HW and not this core?

Not reproducible on my side, the game won’t even crash if i enable rewind or runahead (those features trigger savestates at each frames), it doesn’t look like a core issue so i’m not gonna be able to help.

Just to be sure, you didn’t change any setting in that new retroarch setup ? Everything is default ?

Yeah, everything was default. Why wouldn’t the logfile show why it crashed?

if it’s not something inside of RetroArch that’s causing the crash, RetroArch wouldn’t be aware of what’s happening to be able to write it.

In this topic this guy turned off Savestate Thumbnails and menu widgets and it stopped crashing.

But tried it and it didn’t work…

I turned off Graphic Widgets but didn’t see " Menu widgets" Is that the same thing or is there a separate option for menu widgets?

If other people report no problems, what are some things outside of Retroarch that could be causing this to happen?