Project

General

Profile

Actions

Emulator Issues #13652

open

Dolphin app crashes (not responding) constantly

Added by RTDolphin 2 months ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Super Mario Galaxy 2

Game ID? (right click the game in the game list, Properties, Info tab)

SB4P01 (0001000053423450)

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

c9db57815bc78aac6db07248a1524b80

What's the problem? Describe what went wrong.

The dolphin app crashes on multiple occasions. Such as when I open the app, open a game, switch control scheme etc.

What steps will reproduce the problem?

Same as above, opening/closing the app, changing control scheme, open games etc.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes in 2409-189

Is the issue present in the latest release? For future reference, please also write down the version number of the latest release.

Yes in 2409

If the issue isn't present in the latest release, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

N/A

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]

What are your PC specifications? (CPU, GPU, Operating System, more)

CPU: Ryzen 7 7700x
GPU: RTX 3070
RAM: 32GB DDR5
OS: Windows 11


Files

Actions #1

Updated by Dentomologist 2 months ago

You may be running into this issue.

See if installing the latest version of the Visual C++ 2022 Redistributable fixes the crashes.

Actions #2

Updated by RTDolphin 2 months ago

Dentomologist wrote in #note-1:

You may be running into this issue.

See if installing the latest version of the Visual C++ 2022 Redistributable fixes the crashes.

No difference on my side unfortunately

Actions #3

Updated by Orythax about 2 months ago

I'm almost positive I'm experiencing this same issue. 50% of the time, Dolphin will hang for quite a while when opening the program, when trying to close, or when my controller disconnects and reconnects.

Worth noting, these issues will all happen at the same time and are only fixed by restarting my computer and rolling the dice on whether or not the hangs will be present during that particular boot. If Dolphin hangs on a start, it will always hang in the above scenarios until I restart. If the issues aren't present on starting Dolphin, I'll have no issues for the duration of time that the computer is on.

I did a debug build with Visual Studio and noticed that it's hanging at this particular point and seems to hang until a timeout occurs:

onecoreuap\xbox\devices\api\winrt\pnpdevice.cpp(507)\Windows.Gaming.Input.dll!00007FF94E5A6FCC: (caller: 00007FF94E5AA6D7) ReturnHr(9) tid(6fd0) 80070005 Access is denied.
onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!00007FF94E5A5B61: (caller: 00007FF94E5A9BC3) ReturnHr(10) tid(6fd0) 8685C003 onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!00007FF94E5A5B61: (caller: 00007FF94E5A9BC3) ReturnHr(11) tid(6fd0) 8685C003 'DolphinD.exe' (Win32): Loaded 'C:\Windows\System32\Windows.System.UserDeviceAssociation.dll'.
'DolphinD.exe' (Win32): Loaded 'C:\Windows\System32\UserMgrProxy.dll'.

I'm attaching the full debug output in a text file. I don't know enough about C++ or Visual Studio to troubleshoot this myself, so hopefully it helps someone with this knowledge. For me personally, I'm experiencing this daily.

Actions #4

Updated by RTDolphin about 2 months ago

Orythax wrote in #note-3:

I'm almost positive I'm experiencing this same issue. 50% of the time, Dolphin will hang for quite a while when opening the program, when trying to close, or when my controller disconnects and reconnects.

Worth noting, these issues will all happen at the same time and are only fixed by restarting my computer and rolling the dice on whether or not the hangs will be present during that particular boot. If Dolphin hangs on a start, it will always hang in the above scenarios until I restart. If the issues aren't present on starting Dolphin, I'll have no issues for the duration of time that the computer is on.

I did a debug build with Visual Studio and noticed that it's hanging at this particular point and seems to hang until a timeout occurs:

onecoreuap\xbox\devices\api\winrt\pnpdevice.cpp(507)\Windows.Gaming.Input.dll!00007FF94E5A6FCC: (caller: 00007FF94E5AA6D7) ReturnHr(9) tid(6fd0) 80070005 Access is denied.
onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!00007FF94E5A5B61: (caller: 00007FF94E5A9BC3) ReturnHr(10) tid(6fd0) 8685C003 onecoreuap\xbox\devices\api\winrt\pnpapiwrapper.cpp(385)\Windows.Gaming.Input.dll!00007FF94E5A5B61: (caller: 00007FF94E5A9BC3) ReturnHr(11) tid(6fd0) 8685C003 'DolphinD.exe' (Win32): Loaded 'C:\Windows\System32\Windows.System.UserDeviceAssociation.dll'.
'DolphinD.exe' (Win32): Loaded 'C:\Windows\System32\UserMgrProxy.dll'.

I'm attaching the full debug output in a text file. I don't know enough about C++ or Visual Studio to troubleshoot this myself, so hopefully it helps someone with this knowledge. For me personally, I'm experiencing this daily.

Yeah pretty much what happens to me too.

As a guess based on the the lines you posted it's something to do with Microsoft's backend for Xbox controllers making it hang.

Actions #5

Updated by RTDolphin 1 day ago

Update. After doing some more digging I found this thread. https://forums.dolphin-emu.org/Thread-dolphin-not-opening-anymore-windows-11?pid=535352#pid535352

Looking in event viewer I found the same error message which seems to relate to the VC redist x64 Microsoft Visual C++ Redistributable version.

After I moved that file out of System32 I tried to launch Dolphin again to which it complained that the file was missing so I ran the redist file again and now it launches.

TLDR for future people

  1. Navigate to C:\Windows\System32
  2. Delete or move (I suggest moving just in case) MSVCP140.dll (might be different in the future, just check the event viewer)
  3. Download and run vc_redist x64 https://aka.ms/vs/17/release/vc_redist.x64.exe
Actions

Also available in: Atom PDF