mGBA Forums
MSVCRT.DLL errors - keep having to reinstall Visual C++ - Printable Version

+- mGBA Forums (https://forums.mgba.io)
+-- Forum: mGBA (https://forums.mgba.io/forumdisplay.php?fid=1)
+--- Forum: General (https://forums.mgba.io/forumdisplay.php?fid=3)
+--- Thread: MSVCRT.DLL errors - keep having to reinstall Visual C++ (/showthread.php?tid=461)



MSVCRT.DLL errors - keep having to reinstall Visual C++ - Robotman - 09-10-2016

Hello,
I'm using mGBA on Windows 7 64bit, and almost every time I attempt to start the program, I get an error message instead that the program has crashed.  Here is the text from the latest instance:
Code:
Problem signature:
 Problem Event Name: APPCRASH
 Application Name: mGBA.exe
 Application Version: 0.4.1.0
 Application Timestamp: 00000000
 Fault Module Name: msvcrt.dll
 Fault Module Version: 7.0.7600.16385
 Fault Module Timestamp: 4a5bda6f
 Exception Code: c0000005
 Exception Offset: 00018b23
 OS Version: 6.1.7601.2.1.0.256.48
 Locale ID: 1033
 Additional Information 1: 0a9e
 Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
 Additional Information 3: 0a9e
 Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
My solution to this right now is to run the Microsoft Visual C++ Redistributable Packages for Visual Studio 2013 x64 installer and choose the repair option.  mGBA usually works just fine after a reboot.

I've also run the system file checker (sfc.exe) and that found nothing to repair.

I'm wondering if anyone else has run into this specific problem, and if anyone can recommend a permanent solution to it.


RE: MSVCRT.DLL errors - keep having to reinstall Visual C++ - endrift - 09-10-2016

Try running one of the nightlies to see if it's been fixed since 0.4.1 was released.


RE: MSVCRT.DLL errors - keep having to reinstall Visual C++ - Robotman - 09-10-2016

(09-10-2016, 09:11 PM)endrift Wrote: Try running one of the nightlies to see if it's been fixed since 0.4.1 was released.

Thanks for the reply.  I just downloaded and ran the latest nightly.  It seems to have fixed the original problem I had.  I did have the emulator crash a couple of times early on with these errors:

Code:
Problem signature:

  Problem Event Name:    BEX
  Application Name:    mGBA.exe
  Application Version:    0.5.0.0
  Application Timestamp:    00000000
  Fault Module Name:    EZFRD32.dll
  Fault Module Version:    0.0.0.0
  Fault Module Timestamp:    4bed189b
  Exception Offset:    0000c778
  Exception Code:    c0000005
  Exception Data:    00000008
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Information 1:    9f89
  Additional Information 2:    9f893326123a3a16a45b2bc6534aed38
  Additional Information 3:    7205
  Additional Information 4:    7205beb982093f30cffeb67ffbfddc62

Code:
Problem signature:

  Problem Event Name:    BEX
  Application Name:    mGBA.exe
  Application Version:    0.5.0.0
  Application Timestamp:    00000000
  Fault Module Name:    EZFRD32.dll
  Fault Module Version:    0.0.0.0
  Fault Module Timestamp:    4bed189b
  Exception Offset:    00002693
  Exception Code:    c0000005
  Exception Data:    00000008
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1033
  Additional Information 1:    21c9
  Additional Information 2:    21c95ce35ef365b3816038851751e2d4
  Additional Information 3:    9e36
  Additional Information 4:    9e36251186c750746161d89878587b0b

But for the most part, it opens and runs consistently, even after a few reboots.
Thanks again.