Question Games crashing with memory errors (EXCEPTION_ACCESS_VIOLATION reading address) ?

ringmany

Distinguished
Nov 6, 2014
212
8
18,695
Hi everyone,

Around 1 month ago, various games of mine such as Valorant and Dead by Daylight started crashing for me every time I tried to launch it or mid game.

When I try to launch Valorant for example, I get the error:

"A critical error has occurred and the process must be terminated.
Would you like to create a crash dump to aid the developers in troubleshooting this issue? This may take up to 5 minutes."


Inside of my dmp file I'm searching and I can see various errors such as:

Code:
Code:
EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffd3f7819e9 (VCRUNTIME140!memset+0x0000000000000049)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 0000000000000001
   Parameter[1]: 0000008000000000
Attempt to write to address 0000008000000000

PROCESS_NAME:  VALORANT-Win64-Shipping.exe

WRITE_ADDRESS:  0000008000000000

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s.

EXCEPTION_CODE_STR:  c0000005

EXCEPTION_PARAMETER1:  0000000000000001

EXCEPTION_PARAMETER2:  0000008000000000

STACK_TEXT:
00000038`0a77e2d8 00007ff6`097b7dca     : 00000000`68000000 00007ff6`1015b6e0 00000000`68000000 00000000`00000004 : VCRUNTIME140!memset+0x49
00000038`0a77e2e0 00007ff6`097c111a     : 00007ff6`1015b6e0 00000000`68000000 00000158`000000f0 00007ff6`0cb2e966 : VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x8490ba
00000038`0a77e310 00007ff6`097a449b     : 00000000`68000000 00000000`00000000 00000038`0a77e460 00000000`00000004 :

I've followed all of their instructions the support team provided (which is basically just deleted and reinstall).
I've deleted the entire game, all folders, files, uninstalled all traces of it. Then reinstalled probably 5 times now. Plus on 3 different hard drives and it's the same error regardless of the hard drive.

I'm also getting random errors on Dead by Daylight, although they are more rare and usually crashes the game, whereas Valorant I can't even start.

Code:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff

DeadByDaylight_Win64_Shipping {0x0000000000000000} + 109500120 bytes

DeadByDaylight_Win64_Shipping {0x0000000000000000} + 109499856 bytes

DeadByDaylight_Win64_Shipping {0x0000000000000000} + 109436556 bytes

I've removed all 4 sticks of RAM one by one, to check if it's a hardware issue with them. Same error each time, even with only 1 stick of RAM each time, changed each restart.

I've run sfc/scannow and various other commands to check for corruption, all fine.

My graphics card drivers are on the latest version, as is my windows. I haven't made any changes to my PC as far as I'm aware. I've uninstalled and re-installed my Nvidia drivers and re-installed. I've tried like 20 different forums.

I'm not sure what else to check. The support team hasn't given me anything to work with, and I'm not certain if it's a hardware or software issue or what else to check.

I've attached a copy of the dmp here:
https://drive.google.com/file/d/1mjDgBHiKxU9BDnSTvMv3tW_VG1HfeBBg/view?usp=sharing
 
Last edited:
This is a problem with the game, or your system is not capable of running it. The dump clearly shows a Valorant module (vcruntime140.dll) failing...
Code:
CONTEXT:  (.ecxr)
rax=0000003809a4d000 rbx=00007ff61015b6e0 rcx=0000008000000000
rdx=0000000000000000 rsi=0000000000000004 rdi=0000000000000000
rip=00007ffd3f7819e9 rsp=000000380a77e2d8 rbp=000000380a77e460
 r8=0000000000200000  r9=0000000000000000 r10=0000000000008000
r11=0000008000000000 r12=0000000000000000 r13=5555555555555555
r14=2545f4914f6cdd1d r15=000000380a77e610
iopl=0         nv up ei pl zr na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
VCRUNTIME140!memset+0x49:
00007ffd`3f7819e9 0f1101          movups  xmmword ptr [rcx],xmm0 ds:00000080`00000000=????????????????????????????????
Resetting default scope
In fact the call stack leading up to the bugcheck (which you read from the bottom up) is filled with Valorant function calls...
Code:
VCRUNTIME140!memset+0x49
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x8490ba
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x85240a
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83578b
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83bd59
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x82e739
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83bc87
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x82feed
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83a063
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83a33e
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x82fb07
VALORANT_Win64_Shipping!png_get_uint_16+0x18e2b
ucrtbase!initterm+0x43
VALORANT_Win64_Shipping!agsCheckDriverVersion+0x33a78
kernel32!BaseThreadInitThunk+0x14
ntdll!RtlUserThreadStart+0x21
The reference to the urctbase.dll module there is interesting. That's part of the Microsoft Visual C++ redistributable code, so it's possible these errors are happening because you don't have the necessary redistributable code installed. That may also be the reason why the other game you mentioned fails.

Check what Microsoft Visual C++ redistributables you need for these games. They should have been downloaded and installed with the games, but perhaps they weren't for some reason.
 
  • Like
Reactions: Darkbreeze
This is a problem with the game, or your system is not capable of running it. The dump clearly shows a Valorant module (vcruntime140.dll) failing...
Code:
CONTEXT:  (.ecxr)
rax=0000003809a4d000 rbx=00007ff61015b6e0 rcx=0000008000000000
rdx=0000000000000000 rsi=0000000000000004 rdi=0000000000000000
rip=00007ffd3f7819e9 rsp=000000380a77e2d8 rbp=000000380a77e460
 r8=0000000000200000  r9=0000000000000000 r10=0000000000008000
r11=0000008000000000 r12=0000000000000000 r13=5555555555555555
r14=2545f4914f6cdd1d r15=000000380a77e610
iopl=0         nv up ei pl zr na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246
VCRUNTIME140!memset+0x49:
00007ffd`3f7819e9 0f1101          movups  xmmword ptr [rcx],xmm0 ds:00000080`00000000=????????????????????????????????
Resetting default scope
In fact the call stack leading up to the bugcheck (which you read from the bottom up) is filled with Valorant function calls...
Code:
VCRUNTIME140!memset+0x49
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x8490ba
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x85240a
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83578b
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83bd59
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x82e739
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83bc87
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x82feed
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83a063
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x83a33e
VALORANT_Win64_Shipping!AK::WriteBytesCount::SetCount+0x82fb07
VALORANT_Win64_Shipping!png_get_uint_16+0x18e2b
ucrtbase!initterm+0x43
VALORANT_Win64_Shipping!agsCheckDriverVersion+0x33a78
kernel32!BaseThreadInitThunk+0x14
ntdll!RtlUserThreadStart+0x21
The reference to the urctbase.dll module there is interesting. That's part of the Microsoft Visual C++ redistributable code, so it's possible these errors are happening because you don't have the necessary redistributable code installed. That may also be the reason why the other game you mentioned fails.

Check what Microsoft Visual C++ redistributables you need for these games. They should have been downloaded and installed with the games, but perhaps they weren't for some reason.
Cheers for the suggestion.
I removed all versions of Microsoft visual C++ from my PC. Then I installed the latest ones they use, repaired any files and rebooted and sadly still getting the same error.