Pokemon Omega ruby crashes during certain frame

Issue:
The game hangs whenever I reach to certain stage in a gym battle. Music continues but game itself stops with 0 FPS, also pressing buttons do not make sounds suggesting it is not only video but whole game hanging. Tried with both nightly and canary versions over last 2 weeks but i still see it hanging at the same frame.
Looked at previous thread and tried below:

  • Cheats were not enabled ever this was suggested.
  • Accurate multiplication on or off did not change the result
  • Using disk shader cache on or off did not change the result
  • Tried the same ROM and save file on my other computer and I can progress this frame without an issue, that is my current workaround

System Information

  • Operating System: Windows 10 Pro 1909, build 18363.106
  • CPU: AMD Ryzen 5 3600
  • GPU: Nvidia 2070S
  • Citra Version (found in title bar): Citra Canary 1841 also Citra Nightly 1610 and all previous versions in last 2 weeks
  • Game: Pokemon Omega Ruby
  • 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 (97.4 KB)

In order to save a copy of the log, follow this guide:
https://community.citra-emu.org/t/how-to-upload-the-log-file/296

System Information for Support

Client Version                                Nightly 1610 HEAD-4135a12
Operating System                              Windows 10 (10.0)
CPU                                           AMD Ryzen 5 3600 6-Core Processor              
Graphics API                                  OpenGL 3.3.0
Graphics Renderer                             GeForce RTX 2070 SUPER/PCIe/SSE2
GPU Driver Version                            452.06
CPU JIT                                       [x]
Hardware Renderer                             [x]
Hardware Shader                               [x]
Hardware Shader, Accurate Multiplication      [ ]
Shader JIT                                    [x]
System Region                                 -1
Shader Disk Cache                             [x]

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

  • Enabling Accurate Multiplication is recomended in certain games. If you are experiencing graphical glitches, try enabling this option.

As mentioned before, this did not help unfortunately.

System Information for Support

Client Version                                Nightly 1610 HEAD-4135a12
Operating System                              Windows 10 (10.0)
CPU                                           AMD Ryzen 5 3600 6-Core Processor              
Graphics API                                  OpenGL 3.3.0
Graphics Renderer                             GeForce RTX 2070 SUPER/PCIe/SSE2
GPU Driver Version                            452.06
CPU JIT                                       [x]
Hardware Renderer                             [x]
Hardware Shader                               [x]
Hardware Shader, Accurate Multiplication      [ ]
Shader JIT                                    [x]
System Region                                 -1
Shader Disk Cache                             [x]

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

  • Enabling Accurate Multiplication is recomended in certain games. If you are experiencing graphical glitches, try enabling this option.

As mentioned before, this did not help unfortunately.

HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000004 at PC 0x00374A0C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000070 at PC 0x0047389C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000004 at PC 0x00374A0C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000070 at PC 0x0047389C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000004 at PC 0x00374A0C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000070 at PC 0x0047389C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000004 at PC 0x00374A0C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000070 at PC 0x0047389C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000004 at PC 0x00374A0C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000070 at PC 0x0047389C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000004 at PC 0x00374A0C
HW.Memory <Error> core/memory.cpp:Read:322: unmapped Read16 @ 0x00000070 at PC 0x0047389C

This is a sign of a corrupted rom, follow the guides below to redump the game. Have at least 2GB free space on your Nintendo 3DS’s SD card:


...
Render.OpenGL <Warning> video_core/renderer_opengl/gl_rasterizer_cache.cpp:DumpTexture:734: Not dumping 7A8B68E24589605E because size isn't a power of 2 (180x400)
Render.OpenGL <Warning> video_core/renderer_opengl/gl_rasterizer_cache.cpp:DumpTexture:734: Not dumping 7A8B68E24589605E because size isn't a power of 2 (180x400)
Render.OpenGL <Warning> video_core/renderer_opengl/gl_rasterizer_cache.cpp:DumpTexture:734: Not dumping AC270530B133B539 because size isn't a power of 2 (180x320)
...

You ought to turn off Texture Dumping and delete the dump folder which you can access by opening Citra then File -> Open Citra Folder.

I redump the title and got the same result. Using the same rom with the other computer (copied the file with windows OS copy), i did not see the same issue in that computer however my main computer has this issue. I suggest it might be some sort of hardware incompatibility on Citra end.

I do not think so. The memory read/write problem is pretty straightforward. Cheats can also cause it but the logs didn’t mention it.

Upload a new log where you tried the new dump.

I will upgrade to Ryzen 9 4900X next month so I will see if I would run into same issue or not but I’m pretty sure I won’t :stuck_out_tongue:

Were you using save states to reach the point of the crash?