Cannot load save states: std::bad_alloc

Issue:
When attempting to save or load states, I encountered the Save/load error message “std::bad_alloc”. After restarting Citra to acquire the error log, I noticed the issue temporarily fixed itself, though it returned as quickly as it vanished. The save state in question has been uploaded to Google Drive: https://drive.google.com/file/d/1WDJt0uvIPxJuh6rmduFG8LFmNprwri67/view?usp=sharing

System Information

  • Operating System: Windows 10
  • CPU: Intel(R) Core™ i7-7500U CPU @ 2.70GHz
  • GPU: Intel HD Graphics 620
  • Citra Version (found in title bar): Canary 2091
  • Game: SMT Devil Survivor 2: Record Breaker
  • Screenshot of Issue (include the full Citra window including titlebar):

Diagnostic Log
Upload your log file as an attachment by dragging & dropping.

citra_log.txt (745.5 KB)

System Information for Support

Client Version                               Canary 2091   HEAD-307675f
Operating System                             Windows 10 (10.0)
CPU                                          Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz | AVX2 | FMA
Graphics API                                 OpenGL 3.3.0
Graphics Renderer                            Intel(R) HD Graphics 620
GPU Driver Version                           27.20.100.8681
CPU JIT                                      [x]
Hardware Renderer                            [x]
Hardware Shader                              [x]
Hardware Shader, Accurate Multiplication     [x]
Shader JIT                                   [x]
System Region                                -1
Shader Disk Cache                            [x]

Here’s some issues I found with your log that might help.

  • You are running out of date drivers for your GPU. You need to install the most recent driver for your graphics card from Intel’s website. Support for Intel® Graphics

This is usually what happens when you attempt to load a save state on a different Citra version than the one you created it on. The commit hash of the save state recorded in your log file suggests that the version it was created on was Citra Canary 1831: Release canary-1831 · citra-emu/citra-canary · GitHub

If that sounds correct to you, please download and extract the build from the link above and run citra-qt(.exe). Then run your game and load your save state.