Crash and std::bad_alloc combination problems

I have a save state in pokemon ultra sun that crashes when my teammates pokemon uses the move waterpulse. The latest version of Citra I can run is Citra Canary 2303, 2304 and later have the “std::bad_alloc” error. As the save is mid battle, I can’t use the in game save. I’d like to be able to resolve the battle without the crash, so I can save in game in order to play on the latest version of Citra, and progress in the game, but nothing I’ve tried has prevented the move from crashing the game.

System Information

  • Operating System: Windows 10 Professional
  • CPU: I5 8600K
  • GPU: Nvidia GTX 1070
  • Citra Version: Citra Canary 2303
  • Game: Pokemon Ultra Sun

Diagnostic Log
citra_log.txt (63.8 KB)

System Information for Support

Client Version                               Canary 2303   HEAD-1fd334d
Operating System                             Windows 10 Version 2009
CPU                                          Intel(R) Core(TM) i5-8600K CPU @ 3.60GHz | AVX2 | FMA
Graphics API                                 OpenGL 4.3.0
Graphics Renderer                            NVIDIA GeForce GTX 1070/PCIe/SSE2
GPU Driver Version                           512.15
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.

  • Please enable the Vsync option if you are experiencing screen tearing.

I’m afraid that your save state is buggered. This is the reason why we tell users to save their progress most of all on their in-game save files, not save states. Save states are only meant to be used within single gaming sessions, not beyond them.