Dolphin, the GameCube and Wii emulator - Forums

Full Version: Dolphin crashes after 10-15 minutes due to XAudio2_7.dll_unloaded
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

reeg

Hello All,

I used to use Dolphin without any major problems about a year ago and decided to give some Wii games a spin since the release of Dolphin 4.0. I'm finding that any game I try crashes after 10-15 minutes of mostly good emulation with Windows application log stating the following on every crash. So far I've only played Skyward Sword, Galaxy 2, and NMH 2 and I'm getting the same thing after 10-15 minutes


Faulting application name: Dolphin.exe, version: 0.0.0.0, time stamp: 0x5240867d
Faulting module name: XAudio2_7.dll_unloaded, version: 0.0.0.0, time stamp: 0x4c0643cc
Exception code: 0xc0000005
Fault offset: 0x000007fdf5752891
Faulting process id: 0x1b98
Faulting application start time: 0x01cec2b807aba9c1
Faulting application path: D:\Games\Dolphin 4.0\Dolphin.exe
Faulting module path: XAudio2_7.dll
Report Id: 7473545d-2ead-11e3-bf41-000272b2cabd
Faulting package full name:
Faulting package-relative application ID:


I tried downloading the lastest version of 3.5, and I got the same thing there as well although I can't remember what version of 3 specifically I was using regularly when I never had this issue.


Faulting application name: Dolphin.exe, version: 0.0.0.0, time stamp: 0x50e60a95
Faulting module name: XAudio2_7.dll_unloaded, version: 0.0.0.0, time stamp: 0x4c0643cc
Exception code: 0xc0000005
Fault offset: 0x000007fdf3c32891
Faulting process id: 0x1bc0
Faulting application start time: 0x01cec254917e5fff
Faulting application path: D:\Games\dolphin-3.5-win64\Dolphin.exe
Faulting module path: XAudio2_7.dll
Report Id: c0eed63d-2e4a-11e3-bf41-000272b2cabd
Faulting package full name:
Faulting package-relative application ID:

I did some searches and only found one other person who reported this years ago and fixed it by re downloading the emulator which I've tried to no success.
https://forums.dolphin-emu.org/Thread-dolphin-crashes--19212

I guess the next obvious step is to use Dsound or OpenAL instead of Xaudio, but I dont expect it'll fix the issue as it didn't for the other person who claimed they had this issue.

Any help on this would be greatly appreciated. Thanks!
Create this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Dolphin.exe
Now when dolphin.exe crashes, a dump will be output in %localappdata%\CrashDumps\. Send it to me plzkthx.

reeg

(10-07-2013, 05:57 AM)shuffle2 Wrote: [ -> ]Create this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Dolphin.exe
Now when dolphin.exe crashes, a dump will be output in %localappdata%\CrashDumps\. Send it to me plzkthx.
OK switching to Dsound has stopped crashing as far as I can tell. I was able to play for like an hour without a crash. I'll try this for you and switch back to xaudio and send the report when it crashes

reeg

(10-07-2013, 05:57 AM)shuffle2 Wrote: [ -> ]Create this registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\Dolphin.exe
Now when dolphin.exe crashes, a dump will be output in %localappdata%\CrashDumps\. Send it to me plzkthx.
As requested here's the dump from a crash after switching back to Xaudio. Thank you for looking into this
https://dl.dropboxusercontent.com/u/63607243/Dolphin.exe.3224.dmp
From your dump it looks like the DirectX DLLs have been unloaded and reloaded a few times since dolphin started. This shouldn't be an issue, but it seems XAudio2 has been reloaded to a different address, which also shouldn't be an issue, but is weird.

Please try this binary and let me know if it changes things: https://dl.dropboxusercontent.com/u/3596749/DolphinWX.7z
The binary doesn't have any actual fixes, it's just using the win8 version of xaudio2 and manually controls loading of the dll. It also ensures dolphin loads at it's expected base address (which the jit currently requires, unfortunately).

reeg

(10-07-2013, 08:43 AM)shuffle2 Wrote: [ -> ]From your dump it looks like the DirectX DLLs have been unloaded and reloaded a few times since dolphin started. This shouldn't be an issue, but it seems XAudio2 has been reloaded to a different address, which also shouldn't be an issue, but is weird.

Please try this binary and let me know if it changes things: https://dl.dropboxusercontent.com/u/3596749/DolphinWX.7z
The binary doesn't have any actual fixes, it's just using the win8 version of xaudio2 and manually controls loading of the dll. It also ensures dolphin loads at it's expected base address (which the jit currently requires, unfortunately).
Am i supposed to just drop this in my existing install folder and run it? I tried that and get an error stating "the program can't start because MSVCP120.dll is missing" from my computer.
http://www.microsoft.com/en-us/download/details.aspx?id=40007

(shuffle2) i changed it from preview to rc
I am getting intermittent XAudio2 crashes in 4.0.1 when playing Super Smash Bros. Melee:

Faulting application name: Dolphin.exe, version: 0.0.0.0, time stamp: 0x5263d8da
Faulting module name: XAudio2_7.dll_unloaded, version: 0.0.0.0, time stamp: 0x4c0643cc
Exception code: 0xc0000005
Fault offset: 0x000007fef7882891
Faulting process id: 0x648
Faulting application start time: 0x01ced1361afa17d4
Faulting application path: C:\Emu\Emulators\GC\Dolphin 4.0.1\Dolphin.exe
Faulting module path: XAudio2_7.dll
Report Id: 941c77fa-3eca-11e3-92e3-f04da23a2e3e

The crash only occurs maybe once every 10-15 hours at seemingly random times when there is a lot of action on-screen. Should I use the .exe posted by shuffle2, or is that only for Dolphin 4.0 and Windows 8? Billiard26's link appears to be broken.

Also, if shuffle2's fix works (I didn't see reeg reply whether it did), has it been (or will it be) checked in for the latest development versions?
Google search "directx web update" This program will check your computer for any missing directx based files missing on your computer. I had a similar error to this a while ago, and it fixed it.
I got a crash today with the same error while playing a different game (Animal Crossing), so I'm thinking the game might not matter.

No crashes using the DirectSound backend yet, but I haven't been using it as long as XAudio2.

(11-02-2013, 01:30 AM)KHg8m3r Wrote: [ -> ]Google search "directx web update" This program will check your computer for any missing directx based files missing on your computer. I had a similar error to this a while ago, and it fixed it.
I just tried this, but the program said no updates will be installed, because I already have the latest versions. I'm pretty sure that it's out of date anyway... nowadays you get the DirectX updates via Windows Update.
Pages: 1 2