Immediate crash on loading citra-qt.exe

Issue:
Loading citra-qt.exe crashes immediately on load, either nightly or canary.

System Information

  • Operating System: Windows 10.0.19041.508
  • CPU: Intel Core i7-8750H
  • GPU: NVIDIA GeForce GTX 1050 Ti + Intel UHD Graphics 630
  • Citra Version (found in title bar): 1628, 1721 and 1857
  • Game: N/A
  • Screenshot of Issue (include the full Citra window including titlebar):
    N/A

Diagnostic Log

    Faulting application name: citra-qt.exe, version: 0.0.0.0, time stamp: 0x5f79b60b
    Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
    Exception code: 0xc0000005
    Fault offset: 0x0000000000000000
    Faulting process id: 0x28f8
    Faulting application start time: 0x01d69fc4811a9ff8
    Faulting application path: D:\Games\3DS\Citra\nightly-mingw\citra-qt.exe
    Faulting module path: unknown
    Report Id: a4bb9643-454e-4819-bbbe-3a6e0bc05db4
    Faulting package full name: 
    Faulting package-relative application ID: 

An additional info record exists right after the crash:

Fault bucket 1508144938389209022, type 5
Event Name: BEX64
Response: Not available
Cab Id: 0

Problem signature:
P1: citra-qt.exe
P2: 0.0.0.0
P3: 6122ba07
P4: StackHash_ac46
P5: 0.0.0.0
P6: 00000000
P7: PCH_DE_FROM_ntdll+0x000000000009D8C4
P8: c0000005
P9: 0000000000000008
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERE4E6.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERE555.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERE565.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERE563.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERE584.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_citra-qt.exe_abd3a2b26ddb4d29c4d3d8bad9729f313884e0c0_75124178_24bba72f-e712-4424-a861-1f1f30be243e

Analysis symbol: 
Rechecking for solution: 0
Report Id: e9822660-5693-4c0f-b9be-031f92682852
Report Status: 268435456
Hashed bucket: 52d53066189a792a44ee01d4ba7dffbe
Cab Guid: 0

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.

As I said, the application crashes immediately. It is impossible to use the first set of instructions because the application never starts. It is also impossible to follow the second set because nothing appears in:

%APPDATA%/Citra/log

BTW, your instructions page is wrong because %APPDATA% already resolves to include “/Roaming/” path segment. So this is incorrect:

For Windows users: Paste %appdata%/Roaming/Citra/log into your explorer address bar, and it should take you there.

I have confirmed this on four different Windows computers. All I see is a crash in Windows Event log which I’ve already provided as a crash dump above.

Hi, sorry for the late response. Must’ve missed your topic.
Type winver into your Windows search bar and run the prompt when it pops up. This should show you information about your Windows installation. Please tell us exactly which Windows 10 update version you’re currently on.

As for this, you are absolutely correct. I’ve edited the page to accurately reflect the instructions users would need to take. Thanks for informing us.

Does this refer to citra-qt.exe crashing on launch? Or does it refer to the log file instructions being incorrect?

Please tell us exactly which Windows 10 update version you’re currently on.

Version 21H1 (OS Build 19043.1202)

Does this refer to citra-qt.exe crashing on launch?

Sorry, no, I was referring to the content of %APPDATA%.

Some other info:
I’ve already run sfc /scannow and nothing is corrupted. I’m on the latest NVidia drivers (471.96), though this problem has persisted for a long time across multiple different NVidia drivers updates.

I have zero problems running lots of other stuff on here, including Dolphin, Cemu, Steam, Epic, Kodi and many many other things. Only citra is logging errors in the event log or having issues.

I know you’ve said you scanned using sfc /scannow already, but I’d like to be doubly sure it isn’t an issue with Windows. Sometimes it doesn’t present the problem immediately.

Type cmd into your search bar, then right click it when it pops up and select Run as administrator


Type in sfc /scannow and press the Enter key:
After that’s done doing it’s thing, restart your PC (Start → Restart) and see if you can launch citra-qt.exe now.
If that doesn’t work, open up the command prompt (cmd.exe) as an administrator again, type in DISM /Online /Cleanup-Image /RestoreHealth:
Press the Enter key and wait until it’s done, then reboot your PC once gain (Start → Restart). Now run the command prompt (cmd.exe) as administrator one last time and do another sfc /scannow, followed by a reboot once more (Start → Restart).
Now test citra-qt.exe.

Also make sure to try and use a portable build as well, if you haven’t already:

Go to Download Citra - Citra and select Manual download. Then under Nightly Build, click on your operating system’s icon to the right of the latest build available to download the build.
Extract it (.7z can be extracted using Winrar or 7zip) (.tar.gz can be extracted natively on MacOS) and put it where ever you wish. Inside the extracted mingw folder, create a folder called user. This Citra should now store all of its config, save files and such inside of this user folder.
Check to make sure that this user folder is in the same folder that contains citra-qt(.exe)
Now run the citra-qt executable found inside of the mingw folder.

I’ve run both again and, as expected, no problems:

Microsoft Windows [Version 10.0.19043.1165]
(c) Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>DISM.exe /Online /Cleanup-Image /Restorehealth

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19043.1165

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.

C:\WINDOWS\system32>sfc /scannow

Beginning system scan.  This process will take some time.

Beginning verification phase of system scan.
Verification 100% complete.

Windows Resource Protection did not find any integrity violations.

I also tried using the manual install of citra nightly and it did the exact same thing. No logs or anything else appeared in the created user folder. I got the same exact error in the Windows event log:

Faulting application name: citra-qt.exe, version: 0.0.0.0, time stamp: 0x6122ba07
Faulting module name: unknown, version: 0.0.0.0, time stamp: 0x00000000
Exception code: 0xc0000005
Fault offset: 0x0000000000000000
Faulting process id: 0x50a0
Faulting application start time: 0x01d7a00d2bbc1a19
Faulting application path: N:\Media\Downloads\citra-windows-mingw-20210823-89410c1\nightly-mingw\citra-qt.exe
Faulting module path: unknown
Report Id: 118159a5-fc14-4b06-903e-0b9577c95a0a
Faulting package full name: 
Faulting package-relative application ID: 

Very odd. Last thing I can think of is perhaps an overzealous anti-malware software. Other than that, I’m out of ideas. Try adding an exception for citra-qt.exe to your AV if applicable.

I’m using standard Microsoft Defender, but I’ll try.

I completely disabled Windows Defender real-time protection, but that didn’t change anything.

I noticed that there was another info report in Windows Event Manager that provides some additional details. I’ve added those to the original top ticket description. Here is the contents of the .wer file referenced in the event:

Version=1
EventType=BEX64
EventTime=132573028133840937
ReportType=2
Consent=1
UploadTime=132573028135960593
ReportStatus=268435456
ReportIdentifier=1322c5fa-f3be-4bae-b08c-ad97b2091c15
IntegratorReportIdentifier=f680ed27-9f2d-4b6e-9e7e-1b72d61bd38b
Wow64Host=34404
NsAppName=citra-qt.exe
AppSessionGuid=00008910-0001-0026-0088-7a7877fed601
TargetAppId=W:00065bde29654a1f8cd6e2b9998851110a880000ffff!0000998e5c50cebdf5f98428177b3efb4d2bf17c039e!citra-qt.exe
TargetAppVer=2021//02//03:16:59:31!3756200!citra-qt.exe
BootId=4294967295
ServiceSplit=1044512769
TargetAsId=14603
IsFatal=1
EtwNonCollectReason=1
Response.BucketId=791593732fe7538eae96549c814b06cf
Response.BucketTable=5
Response.LegacyBucketId=2204042098805245647
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=citra-qt.exe
Sig[1].Name=Application Version
Sig[1].Value=0.0.0.0
Sig[2].Name=Application Timestamp
Sig[2].Value=601ad673
Sig[3].Name=Fault Module Name
Sig[3].Value=StackHash_ac46
Sig[4].Name=Fault Module Version
Sig[4].Value=0.0.0.0
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=00000000
Sig[6].Name=Exception Offset
Sig[6].Value=PCH_47_FROM_ntdll+0x000000000009D174
Sig[7].Name=Exception Code
Sig[7].Value=c0000005
Sig[8].Name=Exception Data
Sig[8].Value=0000000000000008
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=10.0.19042.2.0.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=ac46
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=ac462b2fd07cc853b652b5104a1cf381
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=bd64
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=bd64d0b644adda5de3b44d12bf510762
UI[2]=D:\Games\3DS\Citra\nightly-mingw\citra-qt.exe
LoadedModule[0]=D:\Games\3DS\Citra\nightly-mingw\citra-qt.exe
LoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\WINDOWS\System32\KERNEL32.DLL
LoadedModule[3]=C:\WINDOWS\System32\KERNELBASE.dll
LoadedModule[4]=C:\WINDOWS\System32\ADVAPI32.dll
LoadedModule[5]=C:\WINDOWS\System32\msvcrt.dll
LoadedModule[6]=C:\WINDOWS\System32\sechost.dll
LoadedModule[7]=C:\WINDOWS\System32\RPCRT4.dll
LoadedModule[8]=C:\WINDOWS\System32\ole32.dll
LoadedModule[9]=C:\WINDOWS\System32\ucrtbase.dll
LoadedModule[10]=C:\WINDOWS\System32\combase.dll
LoadedModule[11]=C:\WINDOWS\SYSTEM32\AVRT.dll
LoadedModule[12]=C:\WINDOWS\System32\GDI32.dll
LoadedModule[13]=C:\WINDOWS\System32\win32u.dll
LoadedModule[14]=C:\WINDOWS\System32\gdi32full.dll
LoadedModule[15]=C:\WINDOWS\System32\msvcp_win.dll
LoadedModule[16]=C:\WINDOWS\System32\USER32.dll
LoadedModule[17]=C:\WINDOWS\System32\SHELL32.dll
LoadedModule[18]=C:\WINDOWS\System32\WS2_32.dll
LoadedModule[19]=D:\Games\3DS\Citra\nightly-mingw\libwinpthread-1.dll
LoadedModule[20]=D:\Games\3DS\Citra\nightly-mingw\libgcc_s_seh-1.dll
LoadedModule[21]=C:\WINDOWS\SYSTEM32\WINMM.dll
LoadedModule[22]=D:\Games\3DS\Citra\nightly-mingw\libstdc++-6.dll
LoadedModule[23]=D:\Games\3DS\Citra\nightly-mingw\Qt5Core.dll
LoadedModule[24]=D:\Games\3DS\Citra\nightly-mingw\Qt5Widgets.dll
LoadedModule[25]=D:\Games\3DS\Citra\nightly-mingw\Qt5Multimedia.dll
LoadedModule[26]=D:\Games\3DS\Citra\nightly-mingw\Qt5Gui.dll
LoadedModule[27]=D:\Games\3DS\Citra\nightly-mingw\avutil-56.dll
LoadedModule[28]=D:\Games\3DS\Citra\nightly-mingw\avformat-58.dll
LoadedModule[29]=C:\WINDOWS\System32\bcrypt.dll
LoadedModule[30]=C:\WINDOWS\System32\CRYPT32.dll
LoadedModule[31]=D:\Games\3DS\Citra\nightly-mingw\avcodec-58.dll
LoadedModule[32]=D:\Games\3DS\Citra\nightly-mingw\swresample-3.dll
LoadedModule[33]=D:\Games\3DS\Citra\nightly-mingw\swscale-5.dll
LoadedModule[34]=D:\Games\3DS\Citra\nightly-mingw\SDL2.dll
LoadedModule[35]=C:\WINDOWS\System32\IMM32.dll
LoadedModule[36]=D:\Games\3DS\Citra\nightly-mingw\zlib1.dll
LoadedModule[37]=C:\WINDOWS\SYSTEM32\MPR.dll
LoadedModule[38]=C:\WINDOWS\SYSTEM32\VERSION.dll
LoadedModule[39]=C:\WINDOWS\System32\OLEAUT32.dll
LoadedModule[40]=C:\WINDOWS\SYSTEM32\dwmapi.dll
LoadedModule[41]=D:\Games\3DS\Citra\nightly-mingw\Qt5Network.dll
LoadedModule[42]=C:\WINDOWS\System32\SETUPAPI.dll
LoadedModule[43]=C:\WINDOWS\SYSTEM32\UxTheme.dll
LoadedModule[44]=C:\WINDOWS\System32\cfgmgr32.dll
LoadedModule[45]=D:\Games\3DS\Citra\nightly-mingw\libpng16-16.dll
LoadedModule[46]=C:\WINDOWS\SYSTEM32\OPENGL32.dll
LoadedModule[47]=C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
LoadedModule[48]=C:\WINDOWS\SYSTEM32\DNSAPI.dll
LoadedModule[49]=C:\WINDOWS\SYSTEM32\GLU32.dll
LoadedModule[50]=C:\WINDOWS\System32\NSI.dll
LoadedModule[51]=C:\WINDOWS\SYSTEM32\ncrypt.dll
LoadedModule[52]=C:\WINDOWS\SYSTEM32\NTASN1.dll
LoadedModule[53]=C:\WINDOWS\SYSTEM32\CRYPTSP.dll
LoadedModule[54]=C:\WINDOWS\system32\rsaenh.dll
LoadedModule[55]=C:\WINDOWS\SYSTEM32\CRYPTBASE.dll
LoadedModule[56]=C:\WINDOWS\System32\bcryptPrimitives.dll
LoadedModule[57]=D:\Games\3DS\Citra\nightly-mingw\platforms\qwindows.dll
LoadedModule[58]=C:\WINDOWS\SYSTEM32\kernel.appcore.dll
LoadedModule[59]=C:\WINDOWS\System32\SHCore.dll
LoadedModule[60]=C:\WINDOWS\SYSTEM32\windows.storage.dll
LoadedModule[61]=C:\WINDOWS\SYSTEM32\Wldp.dll
LoadedModule[62]=C:\WINDOWS\System32\shlwapi.dll
LoadedModule[63]=C:\WINDOWS\SYSTEM32\profapi.dll
LoadedModule[64]=C:\WINDOWS\System32\clbcatq.dll
LoadedModule[65]=C:\Windows\System32\AppXDeploymentClient.dll
LoadedModule[66]=C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_783e12a6215f487b\ig9icd64.dll
LoadedModule[67]=C:\WINDOWS\system32\dxgi.dll
State[0].Key=Transport.DoneStage1
State[0].Value=1
OsInfo[0].Key=vermaj
OsInfo[0].Value=10
OsInfo[1].Key=vermin
OsInfo[1].Value=0
OsInfo[2].Key=verbld
OsInfo[2].Value=19042
OsInfo[3].Key=ubr
OsInfo[3].Value=789
OsInfo[4].Key=versp
OsInfo[4].Value=0
OsInfo[5].Key=arch
OsInfo[5].Value=9
OsInfo[6].Key=lcid
OsInfo[6].Value=1033
OsInfo[7].Key=geoid
OsInfo[7].Value=244
OsInfo[8].Key=sku
OsInfo[8].Value=48
OsInfo[9].Key=domain
OsInfo[9].Value=0
OsInfo[10].Key=prodsuite
OsInfo[10].Value=256
OsInfo[11].Key=ntprodtype
OsInfo[11].Value=1
OsInfo[12].Key=platid
OsInfo[12].Value=10
OsInfo[13].Key=sr
OsInfo[13].Value=0
OsInfo[14].Key=tmsi
OsInfo[14].Value=220952359
OsInfo[15].Key=osinsty
OsInfo[15].Value=3
OsInfo[16].Key=iever
OsInfo[16].Value=11.789.19041.0-11.0.1000
OsInfo[17].Key=portos
OsInfo[17].Value=0
OsInfo[18].Key=ram
OsInfo[18].Value=24435
OsInfo[19].Key=svolsz
OsInfo[19].Value=104
OsInfo[20].Key=wimbt
OsInfo[20].Value=0
OsInfo[21].Key=blddt
OsInfo[21].Value=191206
OsInfo[22].Key=bldtm
OsInfo[22].Value=1406
OsInfo[23].Key=bldbrch
OsInfo[23].Value=vb_release
OsInfo[24].Key=bldchk
OsInfo[24].Value=0
OsInfo[25].Key=wpvermaj
OsInfo[25].Value=0
OsInfo[26].Key=wpvermin
OsInfo[26].Value=0
OsInfo[27].Key=wpbuildmaj
OsInfo[27].Value=0
OsInfo[28].Key=wpbuildmin
OsInfo[28].Value=0
OsInfo[29].Key=osver
OsInfo[29].Value=10.0.19041.789.amd64fre.vb_release.191206-1406
OsInfo[30].Key=buildflightid
OsInfo[30].Value=0b55e652-e504-4ca4-8ce9-2eade4ce80e0
OsInfo[31].Key=edition
OsInfo[31].Value=Professional
OsInfo[32].Key=ring
OsInfo[32].Value=Retail
OsInfo[33].Key=expid
OsInfo[34].Key=fconid
OsInfo[35].Key=containerid
OsInfo[36].Key=containertype
OsInfo[37].Key=edu
OsInfo[37].Value=0
FriendlyEventName=Stopped working
ConsentKey=BEX64
AppName=citra-qt.exe
AppPath=D:\Games\3DS\Citra\nightly-mingw\citra-qt.exe
NsPartner=windows
NsGroup=windows8
ApplicationIdentity=49FFE64CC9B76C4FE879096FA555CE80
MetadataHash=1455832626

Might seem rather basic, but can you trying scanning for viruses? That’s the only thing that could seem likely based on Window’s exception code. We’ve tried everything else so I’m a bit out of ideas.

That is basic enough that I already did it, both regular and boot-time. I’ve also done offline scans with Linux live disk. No viruses.

So, I figured it out. I often do upgrades and other management of this system via Windows Remote Desktop. This used to work fine for upgrading and making sure Citra would at least launch to the ROM picker. Now, this causes the crash. I never actually try to run a game over Remote Desktop, but it cannot even load the executable anymore. On a whim, I tried launching locally and it launched fine. Over Windows Remote Desktop it consistently crashes like this. This is the only App where I have an issue. I can launch Steam, Dolphin or Kodi over Remote Desktop. I can even start a game or movie from those apps if I like, tho obviously performance is terrible.

Does launching Citra as an administrator through the app make a difference perhaps?

Nope. Already tried that too. It is very clearly repeatable when launched via Remote Desktop. But doesn’t occur when launched locally. That should be a decent clue.

Hmmm, if you can recreate the bug on another system, you could open a Github issue for this.

1 Like