Hey everyone.
I noticed that ever since 4.0-298, Dolphin causes massive memory leaks as soon as I either load a game or when I click the GCPad and Wiimote config icons (every other part of the GUI works perfectly normal). When I either run the game or try to open the GCPAD/Wiimote config, the game never loads and the config windows never appear. Memory consumption of Dolphin increases which causes my other programs to crash or hang until I end the Dolphin process. Sometimes I can usually get an APPCRASH out of Dolphin, but it seems to be a bit random. I noticed when it does crash, one of the modules that's affected is msvcr120.dll. I take it you guys are moving to Visual Studio 2013?
Dolphin 4.0.1 and 4.0-291 work fine, any revision that was compiled either by the build bot or someone else causes these issues for me. x64 and x86 both cause the issues for me as well. Normally I'd open an issue on the tracker for this, but I suppose since there hasn't been any complaints about it then it's definitely all on my end.
Here's what I've done to try and fix my problem.
1.) Install VC++ 2013 Redist x86 (I noticed that Dolphin began including the dll prerequisites sometime after 4.0-298 but I decided to install the redist myself just in case)
2.) Reinstalled other versions of the VC++ Redistribution, no change
3.) Removed the 'Dolphin Emulator' folder from Documents, no change
4.) Uninstalled MotionJoy, I know it was a dumb idea to have this is in the first place, but I thought maybe there was a problem with the crappy drivers (which could have explained why it was crashing the controller configs) but no change either
Currently the problem persists for me as of 4.0-399 x64. I'm thinking it might be a problem with what I have for controller drivers or something related. I heard that MotionJoy was a pain in the ass to get rid of even after uninstalling it, so maybe a remnant is conflicting? I really have no idea at the moment. I do believe it is related to VC++ 2013 though. I know this branch is unsupported, but the 'dx9-final' branch also causes the same issues for me but the build that Tino provided is based on 4.0-140 but was compiled with Visual Studio 2013.
My specs:
Windows 7 Home Premium x64
Intel 2500k 3.4 ghz
NVIDIA GeForce 680 GTX (331.65)
Crucial 8GB DDR3 (I don't remember the specific model at the moment, sorry)
If you need more information please ask. Dolphin doesn't seem to generate any error logs when this problem occurs. I'm in the process of trying to get the Windows error message when this occurs so that it can give a clearer picture of the problem, but I had to post this first just in case it causes my web browser to crash. I'll edit this post with the information as soon as I can.
EDIT: Here's something. Sometimes when the memory consumption increases by a lot when I try and open the GCPad/Wiimote config the consumption will go down and a "An unhandled exception occurred" message appears. Then after that I get a "*** Caught unhandled unknown exception; terminating" message. Then "Dolphin.exe has stopped working", which gives me a few variants:
I recall a similar error but with the msvcr120 module. Unfortunately, this is from the "dx9-final" compile and not from 4.0-399. I managed to produce similar errors with 4.0-399 by letting the process run when memory consumption peaked and started to come down.
I noticed that ever since 4.0-298, Dolphin causes massive memory leaks as soon as I either load a game or when I click the GCPad and Wiimote config icons (every other part of the GUI works perfectly normal). When I either run the game or try to open the GCPAD/Wiimote config, the game never loads and the config windows never appear. Memory consumption of Dolphin increases which causes my other programs to crash or hang until I end the Dolphin process. Sometimes I can usually get an APPCRASH out of Dolphin, but it seems to be a bit random. I noticed when it does crash, one of the modules that's affected is msvcr120.dll. I take it you guys are moving to Visual Studio 2013?
Dolphin 4.0.1 and 4.0-291 work fine, any revision that was compiled either by the build bot or someone else causes these issues for me. x64 and x86 both cause the issues for me as well. Normally I'd open an issue on the tracker for this, but I suppose since there hasn't been any complaints about it then it's definitely all on my end.
Here's what I've done to try and fix my problem.
1.) Install VC++ 2013 Redist x86 (I noticed that Dolphin began including the dll prerequisites sometime after 4.0-298 but I decided to install the redist myself just in case)
2.) Reinstalled other versions of the VC++ Redistribution, no change
3.) Removed the 'Dolphin Emulator' folder from Documents, no change
4.) Uninstalled MotionJoy, I know it was a dumb idea to have this is in the first place, but I thought maybe there was a problem with the crappy drivers (which could have explained why it was crashing the controller configs) but no change either
Currently the problem persists for me as of 4.0-399 x64. I'm thinking it might be a problem with what I have for controller drivers or something related. I heard that MotionJoy was a pain in the ass to get rid of even after uninstalling it, so maybe a remnant is conflicting? I really have no idea at the moment. I do believe it is related to VC++ 2013 though. I know this branch is unsupported, but the 'dx9-final' branch also causes the same issues for me but the build that Tino provided is based on 4.0-140 but was compiled with Visual Studio 2013.
My specs:
Windows 7 Home Premium x64
Intel 2500k 3.4 ghz
NVIDIA GeForce 680 GTX (331.65)
Crucial 8GB DDR3 (I don't remember the specific model at the moment, sorry)
If you need more information please ask. Dolphin doesn't seem to generate any error logs when this problem occurs. I'm in the process of trying to get the Windows error message when this occurs so that it can give a clearer picture of the problem, but I had to post this first just in case it causes my web browser to crash. I'll edit this post with the information as soon as I can.
EDIT: Here's something. Sometimes when the memory consumption increases by a lot when I try and open the GCPad/Wiimote config the consumption will go down and a "An unhandled exception occurred" message appears. Then after that I get a "*** Caught unhandled unknown exception; terminating" message. Then "Dolphin.exe has stopped working", which gives me a few variants:
Quote:Problem signature:
Problem Event Name: BEX64
Application Name: Dolphin.exe
Application Version: 0.0.0.0
Application Timestamp: 52819a58
Fault Module Name: StackHash_49d6
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Offset: 000000000000004d
Exception Code: c0000005
Exception Data: 0000000000000008
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 49d6
Additional Information 2: 49d6e5125bb7a4bb3f0b5f78de512c57
Additional Information 3: 83f3
Additional Information 4: 83f33ee37c99e11b47e4d95ee823e2cb
Quote:Problem signature:
Problem Event Name: APPCRASH
Application Name: Dolphin.exe
Application Version: 0.0.0.0
Application Timestamp: 52819a58
Fault Module Name: Dolphin.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 52819a58
Exception Code: c0000005
Exception Offset: 000000000043996e
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 7206
Additional Information 2: 72061b2c65c39dd657ffb9703817dd67
Additional Information 3: c717
Additional Information 4: c71705ecd65e41a828530c68daaa7c61
I recall a similar error but with the msvcr120 module. Unfortunately, this is from the "dx9-final" compile and not from 4.0-399. I managed to produce similar errors with 4.0-399 by letting the process run when memory consumption peaked and started to come down.