Citra crashes when trying to loading rom

Issue:
When i load up a rom on the latest canary build i get a black screen and then it immediately crashes to the game selection screen on the 2nd attempt it crashes to home then says to clear cache

System Information

  • Operating System: Android 13 one U.I 5.1
  • CPU: qualcomm snapdragon 732g
  • GPU: adreno 618 @ 750mhz
  • Citra Version (found in title bar): canary 2479
  • Game: pokemon ultra moon and ultra sun, pokemon omega ruby, animal crossing a new leaf, tloz ocarina of time and monster hunter 4u

Diagnostic Log
[ 0.314121] Frontend main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_CreateLogFile:474: Logging backend initialised
[ 0.314268] Frontend main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogUserDirectory:481: User directory path: content://com.android.externalstorage.documents/tree/primary%3Acitra-emu
[ 0.376840] Config main/jni/config.cpp:LoadINI:57: Successfully loaded /config/config.ini
[ 0.523312] Frontend main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo:697: Citra Version: Canary 2479 | HEAD-bfd715c
[ 0.523747] Frontend main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo:698: Host CPU: Qualcomm Technologies, Inc ATOLL-AB
[ 0.523826] Frontend main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_LogDeviceInfo:700: Host OS: Android API level 33
[ 0.914351] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 1.186869] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 1.450828] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 1.599722] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 1.757680] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 2.023829] Service.FS core/file_sys/ncch_container.cpp:Load:241: Secure1 KeyX missing
[ 2.023877] Service.FS core/file_sys/ncch_container.cpp:Load:260: Secure2 KeyX missing
[ 2.023892] Service.FS core/file_sys/ncch_container.cpp:Load:351: Failed to decrypt
[ 2.329853] Service.FS core/file_sys/ncch_container.cpp:Load:241: Secure1 KeyX missing
[ 2.329942] Service.FS core/file_sys/ncch_container.cpp:Load:260: Secure2 KeyX missing
[ 2.329954] Service.FS core/file_sys/ncch_container.cpp:Load:351: Failed to decrypt
[ 2.948798] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 3.091367] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 3.290486] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 3.421690] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 3.562161] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 3.732343] Service.FS core/file_sys/ncch_container.cpp:Load:241: Secure1 KeyX missing
[ 3.732456] Service.FS core/file_sys/ncch_container.cpp:Load:260: Secure2 KeyX missing
[ 3.732465] Service.FS core/file_sys/ncch_container.cpp:Load:351: Failed to decrypt
[ 3.905319] Service.FS core/file_sys/ncch_container.cpp:Load:241: Secure1 KeyX missing
[ 3.905378] Service.FS core/file_sys/ncch_container.cpp:Load:260: Secure2 KeyX missing
[ 3.905390] Service.FS core/file_sys/ncch_container.cpp:Load:351: Failed to decrypt
[ 4.526566] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 4.535461] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 4.537111] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 4.681324] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 4.682291] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 6.218376] Frontend main/jni/native.cpp:Java_org_citra_citra_1emu_NativeLibrary_SurfaceChanged:271: Surface changed
[ 6.222405] Frontend main/jni/native.cpp:RunCitra:142: Citra starting…
[ 6.304345] Config main/jni/config.cpp:LoadINI:57: Successfully loaded /config/config.ini
[ 6.413623] Service.FS core/file_sys/ncch_container.cpp:LoadHeader:160: 16384
[ 6.413672] Config common/settings.cpp:LogSettings:141: Citra Configuration:
[ 6.413681] Config common/settings.cpp:operator():138: Core_UseCpuJit: true
[ 6.413685] Config common/settings.cpp:operator():138: Core_CPUClockPercentage: 100
[ 6.413688] Config common/settings.cpp:operator():138: Core_RefreshRate: 60
[ 6.413690] Config common/settings.cpp:operator():138: Renderer_UseGLES: true
[ 6.413694] Config common/settings.cpp:operator():138: Renderer_GraphicsAPI: OpenGL
[ 6.413696] Config common/settings.cpp:operator():138: Renderer_Debug: false
[ 6.413698] Config common/settings.cpp:operator():138: Renderer_UseHwShader: true
[ 6.413700] Config common/settings.cpp:operator():138: Renderer_ShadersAccurateMul: false
[ 6.413702] Config common/settings.cpp:operator():138: Renderer_UseShaderJit: true
[ 6.413704] Config common/settings.cpp:operator():138: Renderer_UseResolutionFactor: 1
[ 6.413707] Config common/settings.cpp:operator():138: Renderer_FrameLimit: 100
[ 6.413708] Config common/settings.cpp:operator():138: Renderer_VSyncNew: true
[ 6.413710] Config common/settings.cpp:operator():138: Renderer_PostProcessingShader: none (builtin)
[ 6.413712] Config common/settings.cpp:operator():138: Renderer_FilterMode: true
[ 6.413717] Config common/settings.cpp:operator():138: Renderer_TextureFilter: None
[ 6.413724] Config common/settings.cpp:operator():138: Stereoscopy_Render3d: 0
[ 6.413726] Config common/settings.cpp:operator():138: Stereoscopy_Factor3d: 0
[ 6.413729] Config common/settings.cpp:operator():138: Stereoscopy_MonoRenderOption: 0
[ 6.413810] Config common/settings.cpp:operator():138: Layout_LayoutOption: 5
[ 6.413813] Config common/settings.cpp:operator():138: Layout_SwapScreen: false
[ 6.413815] Config common/settings.cpp:operator():138: Layout_UprightScreen: false
[ 6.413828] Config common/settings.cpp:operator():138: Layout_LargeScreenProportion: 4
[ 6.413830] Config common/settings.cpp:operator():138: Utility_DumpTextures: false
[ 6.413832] Config common/settings.cpp:operator():138: Utility_CustomTextures: false
[ 6.413834] Config common/settings.cpp:operator():138: Utility_PreloadTextures: false
[ 6.413847] Config common/settings.cpp:operator():138: Utility_AsyncCustomLoading: true
[ 6.413850] Config common/settings.cpp:operator():138: Utility_UseDiskShaderCache: true
[ 6.413852] Config common/settings.cpp:operator():138: Audio_Emulation: HLE
[ 6.413855] Config common/settings.cpp:operator():138: Audio_OutputType: 0
[ 6.413857] Config common/settings.cpp:operator():138: Audio_OutputDevice: auto
[ 6.413859] Config common/settings.cpp:operator():138: Audio_InputType: 0
[ 6.413860] Config common/settings.cpp:operator():138: Audio_InputDevice: auto
[ 6.413862] Config common/settings.cpp:operator():138: Audio_EnableAudioStretching: true
[ 6.413864] Config common/settings.cpp:operator():138: Camera_OuterRightName: ndk
[ 6.413866] Config common/settings.cpp:operator():138: Camera_OuterRightConfig: _back
[ 6.413868] Config common/settings.cpp:operator():138: Camera_OuterRightFlip: 0
[ 6.413870] Config common/settings.cpp:operator():138: Camera_InnerName: ndk
[ 6.413871] Config common/settings.cpp:operator():138: Camera_InnerConfig: _front
[ 6.413874] Config common/settings.cpp:operator():138: Camera_InnerFlip: 0
[ 6.413877] Config common/settings.cpp:operator():138: Camera_OuterLeftName: ndk
[ 6.413880] Config common/settings.cpp:operator():138: Camera_OuterLeftConfig: _back
[ 6.413882] Config common/settings.cpp:operator():138: Camera_OuterLeftFlip: 0
[ 6.413884] Config common/settings.cpp:operator():138: DataStorage_UseVirtualSd: true
[ 6.413885] Config common/settings.cpp:operator():138: DataStorage_UseCustomStorage: false
[ 6.413887] Config common/settings.cpp:operator():138: System_IsNew3ds: true
[ 6.413889] Config common/settings.cpp:operator():138: System_RegionValue: 1
[ 6.413890] Config common/settings.cpp:operator():138: System_PluginLoader: false
[ 6.413893] Config common/settings.cpp:operator():138: System_PluginLoaderAllowed: true
[ 6.413905] Config common/settings.cpp:operator():138: Debugging_UseGdbstub: false
[ 6.413907] Config common/settings.cpp:operator():138: Debugging_GdbstubPort: 24689
[ 6.895393] Audio.Sink audio_core/cubeb_sink.cpp:CubebSink:47: Error getting minimum latency

In order for us to provide better support, we need to see the log generated by citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File

The log file is incomplete. Make sure you follow the steps carefully:

  1. Restart the Citra app if it’s already running.
  2. Launch your game and encounter the problem.
  3. Shut down the Citra app (do not restart Citra as that will wipe the log file of important information!).
  4. Navigate to Internal Storage/citra-emu/log and upload the citra_log.txt file in this chat.

Also, please actually upload the log file. Not the text from inside the file. It makes it a lot easier for us to read.

citra_log.txt (8.6 KB)

This is crazy i tried to do this the last time but it didnt work

i’m on snapdagon 888 soc and I get no crash on loading the rom (pokemon X) on openGL and Vulkan backends. update your canary build to 2494

citra_log.txt (2.3 KB)
Still the same crash after updating

Both log files are empty. Follow Autumn’s steps again, then try uploading both citra_log.txt and citra_log.txt.old.txt

I think thats the issue i followed the steps exatcly i opened citra opened loz ooc the game didnt even show the opening cutscene it just immediately turned black and crashed

citra_log.txt (2.3 KB)

citra_log.txt (6.6 KB)

Hmmm, go to Internal Storage/citra-emu and delete the shaders folder found here. Then try your game again. If the same issue occurs again, upload a new log file.

citra_log.txt (2.3 KB)
This is a screen recording of whats happening i deleted the shaders folder and tried again but the issue persists

Again, the log file is empty. Please upload both the citra_log.txt and the citra_log.txt.old.txt file, as I’ve asked you to in the past.

citra_log.txt (6.6 KB)
citra_log.txt.old.txt (6.6 KB)
As i showed in the vid i did what you said again and now im uploading both the log txt and old log txt idk why its empty cause im following the steps to a tee