HELLDIVERS™ 2

HELLDIVERS™ 2

View Stats:
Milamber Dec 10, 2024 @ 3:24pm
helldivers2.exe crashed due to an access violation
Since its release, this game has consistently caused random crashes to the desktop on various systems, regardless of their differing hardware configurations.

Further info indicates the following: The game helldivers2.exe crashed due to an access violation, likely from trying to write to a null pointer, which indicates a programming error or memory management issue in the software. This could be due to various reasons like:

  • Uninitialized variables
  • Accessing an object that has been deleted
  • Incorrect pointer arithmetic or management


Apparently the crash analysis suggests looking into memory management within the game.

Given that these issues remain unresolved, I won't be supporting this game in any Game of the Year category. It's disappointing because the game shows great promise. However, experiencing crashes that boot you back to the desktop mid-mission, especially when this happens across multiple systems equipped with diverse hardware like 4090 GPUs and 7900XTX video cards, all running fresh Windows installations with the latest drivers, is a significant deterrent.
Last edited by Milamber; Dec 10, 2024 @ 3:26pm
< >
Showing 1-12 of 12 comments
Hammer Of Evil Dec 12, 2024 @ 9:43am 
what cpu are you using?

what error do you get in the windows log (windows key + r, type in eventvwr and return, look at the 'application logs' for the errors thrown) for the access violation specifically the faulting module(s) if any?
Milamber Dec 12, 2024 @ 2:07pm 
Originally posted by Hammer Of Evil:
what cpu are you using?

what error do you get in the windows log (windows key + r, type in eventvwr and return, look at the 'application logs' for the errors thrown) for the access violation specifically the faulting module(s) if any?

CPU is a 7950X and its not overclocked and uses an AIO.

The DMP file that was generated from the game shows the following when using the !analyze -v function:

************* Preparing the environment for Debugger Extensions Gallery repositories ************** ExtensionRepository : Implicit UseExperimentalFeatureForNugetShare : true AllowNugetExeUpdate : true NonInteractiveNuget : true AllowNugetMSCredentialProviderInstall : true AllowParallelInitializationOfLocalRepositories : true EnableRedirectToChakraJsProvider : false -- Configuring repositories ----> Repository : LocalInstalled, Enabled: true ----> Repository : UserExtensions, Enabled: true >>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds ************* Waiting for Debugger Extensions Gallery to Initialize ************** >>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.031 seconds ----> Repository : UserExtensions, Enabled: true, Packages count: 0 ----> Repository : LocalInstalled, Enabled: true, Packages count: 42 Microsoft (R) Windows Debugger Version 10.0.27725.1000 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Users\Xxxxx\AppData\Roaming\Arrowhead\Helldivers2\crash_data\reports\700cbdfd-282e-436a-9522-1c9a60cdf4c2.dmp] User Mini Dump File: Only registers, stack and portions of memory are available ************* Path validation summary ************** Response Time (ms) Location Deferred srv* Symbol search path is: srv* Executable search path is: Windows 10 Version 26100 (2454) MP (32 procs) Free x64 Product: WinNt Edition build lab: Windows NT 10.0.26100.2454 Debug session time: Tue Dec 10 22:22:36.000 2024 (UTC + 10:30) System Uptime: not available Process Uptime: 0 days 0:33:27.000 ................................................................ ................................................................ ........................ Loading unloaded module list .................. This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr (4cf4.5314): Access violation - code c0000005 (first/second chance not available) For analysis of this file, run !analyze -v *** WARNING: Unable to verify checksum for ntdll.dll *** WARNING: Unable to verify checksum for KERNELBASE.dll ntdll!NtWaitForSingleObject+0x14: 00007ff8`b901f7a4 c3 ret 0:019> !analyze -v ******************************************************************************* * * * Exception Analysis * * * ******************************************************************************* *** WARNING: Unable to verify checksum for USER32.dll *** WARNING: Unable to verify checksum for ole32.dll *** WARNING: Unable to verify checksum for twinapi.appcore.dll KEY_VALUES_STRING: 1 Key : AV.Dereference Value: NullPtr Key : AV.Fault Value: Write Key : Analysis.CPU.mSec Value: 265 Key : Analysis.Elapsed.mSec Value: 330 Key : Analysis.IO.Other.Mb Value: 0 Key : Analysis.IO.Read.Mb Value: 1 Key : Analysis.IO.Write.Mb Value: 0 Key : Analysis.Init.CPU.mSec Value: 125 Key : Analysis.Init.Elapsed.mSec Value: 3344 Key : Analysis.Memory.CommitPeak.Mb Value: 133 Key : Analysis.Version.DbgEng Value: 10.0.27725.1000 Key : Analysis.Version.Description Value: 10.2408.27.01 amd64fre Key : Analysis.Version.Ext Value: 1.2408.27.1 Key : Failure.Bucket Value: NULL_POINTER_WRITE_c0000005_helldivers2.exe!Unknown Key : Failure.Hash Value: {8852c72a-1321-c184-4991-aed1c832f392} Key : Timeline.Process.Start.DeltaSec Value: 2007 Key : WER.Process.Version Value: 1.8.24593.0 FILE_IN_CAB: 700cbdfd-282e-436a-9522-1c9a60cdf4c2.dmp NTGLOBALFLAG: 0 CONTEXT: (.ecxr) rax=00007ff7821fd470 rbx=0000000000000000 rcx=00007ff78322900a rdx=0000000000000000 rsi=0000000000000000 rdi=000000dd269fd0d0 rip=00007ff7821fd499 rsp=000000dd269fcee0 rbp=000000dd269fd110 r8=00007ff78322900a r9=000000dd24def000 r10=00007ff781c70000 r11=0000000000000000 r12=00000000ffffffff r13=00007ff8b6685070 r14=0000000000000000 r15=00007ff78322900a iopl=0 nv up ei pl zr na po nc cs=0033 ss=0000 ds=0000 es=0000 fs=0053 gs=002b efl=00010246 helldivers2+0x58d499: 00007ff7`821fd499 e4c5 in al,0C5h Resetting default scope EXCEPTION_RECORD: (.exr -1) ExceptionAddress: 00007ff7821fd499 (helldivers2+0x000000000058d499) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000001 Parameter[1]: 0000000000000000 Attempt to write to address 0000000000000000 PROCESS_NAME: helldivers2.exe WRITE_ADDRESS: 0000000000000000 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: 0000000000000000 IP_ON_HEAP: 7372656b61657053 FRAME_ONE_INVALID: 1 STACK_TEXT: 000000dd`269fcee0 7372656b`61657053 : 47203036`35472820 70532067`6e696d61 3f002972`656b6165 7372656b`61657053 : helldivers2+0x58d499 000000dd`269fcee8 47203036`35472820 : 70532067`6e696d61 3f002972`656b6165 7372656b`61657053 74696968`63532820 : 0x7372656b`61657053 000000dd`269fcef0 70532067`6e696d61 : 3f002972`656b6165 7372656b`61657053 74696968`63532820 29653220`6c654820 : 0x47203036`35472820 000000dd`269fcef8 3f002972`656b6165 : 7372656b`61657053 74696968`63532820 29653220`6c654820 00000000`00000000 : 0x70532067`6e696d61 000000dd`269fcf00 7372656b`61657053 : 74696968`63532820 29653220`6c654820 00000000`00000000 00000000`00000000 : 0x3f002972`656b6165 000000dd`269fcf08 74696968`63532820 : 29653220`6c654820 00000000`00000000 00000000`00000000 00000000`00000000 : 0x7372656b`61657053 000000dd`269fcf10 29653220`6c654820 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x74696968`63532820 000000dd`269fcf18 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x29653220`6c654820 SYMBOL_NAME: helldivers2+58d499 MODULE_NAME: helldivers2 IMAGE_NAME: helldivers2.exe STACK_COMMAND: ~19s; .ecxr ; kb FAILURE_BUCKET_ID: NULL_POINTER_WRITE_c0000005_helldivers2.exe!Unknown OSPLATFORM_TYPE: x64 OSNAME: Windows 10 IMAGE_VERSION: 1.8.24593.0 FAILURE_ID_HASH: {8852c72a-1321-c184-4991-aed1c832f392} Followup: MachineOwner ---------

It would indicate from my research that this is the cause:

The error you're encountering with helldivers2.exe is identified as an access violation with the following details:

Exception Code: c0000005
Exception Type: Access violation
Specific Error: Attempt to write to address 0000000000000000, which indicates a null pointer write.


Causes:

Null Pointer Dereference:
The program is attempting to write data to a memory address that is NULL or 0. In C++, this often happens when a pointer that has not been initialized or has been explicitly set to NULL is used without checking if it's valid.
Code Bug or Memory Corruption:
There might be a bug in the helldivers2.exe where it's using a pointer that has been incorrectly set to NULL or has become NULL due to memory corruption.
Incompatible or Incorrect Software Version:
The game might be crashing due to an incompatibility with the system or because of using an outdated or corrupted version of the software.
Driver or System Issues:
Although less likely, issues with graphics drivers or other system-level components can sometimes result in such errors by causing unexpected behavior in memory management or pointer handling.


Suggested Solutions:

Check for Updates: Ensure that Helldivers 2 is up to date. Developers often release patches to fix such bugs. Check the game's official channels or posts found on X for any recent hotfixes or updates related to crash fixes.
Memory Checks: Run memory diagnostic tools to check if your RAM is functioning correctly, as memory corruption can lead to null pointer issues.
Debugging and Code Review: If you have access to the source code or are in contact with developers, review the code around the crash site for any pointer misuse or uninitialized variables.
System Configuration: Verify that your system settings are compatible with the game's requirements. Issues with Windows updates or hardware drivers might need addressing.
Reinstallation: Sometimes, reinstalling the game can resolve issues if they are caused by corrupted game files.


This error indicates a problem that requires attention from either the user in terms of system checks or from the developers for a code fix. If you're not the developer, your options are somewhat limited to updating, checking system integrity, and waiting for a patch or developer response.
Last edited by Milamber; Dec 12, 2024 @ 6:40pm
Sabrehawk Dec 12, 2024 @ 9:28pm 
On a regular basis also use the gameguard uninstall/reinstall tool in the game support folder. This derpy anticheat gets screwed up on a regular basis mostly when patches come out etc.

The exception code is a garden variety windows bug code that appears on about 90% of all crashes and has next to none analysis value.
Last edited by Sabrehawk; Dec 12, 2024 @ 9:29pm
Hammer Of Evil Dec 12, 2024 @ 10:48pm 
as a ryzen user, you wouldn't have happened to use the negative offset voltage curve that is unique to ryzen cpu's would you?
Milamber Dec 12, 2024 @ 11:35pm 
Originally posted by Hammer Of Evil:
as a ryzen user, you wouldn't have happened to use the negative offset voltage curve that is unique to ryzen cpu's would you?
Nope, I have intentionally left all BIOS settings to default, except EXPO for my RAM so it uses 6000Mhz.

I've put my system through testing using multiple diagnostic tools. I used Memtest86 and Karhu for RAM checks, and MemtestCL alongside Memtest_vulkan for GPU testing, all of which ran successfully for 8 hours. My CPU was solid under stress from Cinebench 2024 and PRIME95.

All drivers, including the chipset, are current, and nothing is overclocked. Others facing similar mid-game crashes have mentioned the same error code in the Windows Event Manager. While not every mission is affected, the issue is common enough to remind you that you might lose up to 40 minutes of progress unexpectedly during a mission, which is annoying.
Hammer Of Evil Dec 13, 2024 @ 10:39am 
Originally posted by Milamber:
Originally posted by Hammer Of Evil:
as a ryzen user, you wouldn't have happened to use the negative offset voltage curve that is unique to ryzen cpu's would you?
except EXPO for my RAM so it uses 6000Mhz.

so that's not all settings at default.

>ram overclocked to 6000mhz

>memory access violation

it might be just a coincidence.

I believe that gameguard will throw an exception if anything operates outside its parameters. but we'll know when you test that, too.
Last edited by Hammer Of Evil; Dec 13, 2024 @ 1:53pm
Milamber Dec 13, 2024 @ 4:34pm 
Originally posted by Hammer Of Evil:
Originally posted by Milamber:
except EXPO for my RAM so it uses 6000Mhz.

so that's not all settings at default.

>ram overclocked to 6000mhz

>memory access violation

it might be just a coincidence.

I believe that gameguard will throw an exception if anything operates outside its parameters. but we'll know when you test that, too.

It's within the system's parameters. My DDR5 RAM modules are rated for 6000MHz, but to achieve this speed, you must enable EXPO; without it, your memory will only operate at half its specified speed and this is the only game that crashes randomly.

https://www.gskill.com/community/1502239313/1722321351/G.SKILL-Announces-Ultra-Low-Latency-DDR5-6000-CL28-DDR5-Memory-Kits

This is similar to XMP with Intel.
Last edited by Milamber; Jan 15 @ 5:56am
Hammer Of Evil Dec 14, 2024 @ 2:13pm 
right, well, i think since you're unwilling to test, you'll have to either enjoy the crashes, or enjoy waiting for gameguard to do a code update. however long that will take.

bye bye!
Last edited by Hammer Of Evil; Dec 14, 2024 @ 2:14pm
Milamber Dec 14, 2024 @ 4:48pm 
Originally posted by Hammer Of Evil:
right, well, i think since you're unwilling to test, you'll have to either enjoy the crashes, or enjoy waiting for gameguard to do a code update. however long that will take.

bye bye!

lol okay then, "bye bye"
Originally posted by Milamber:
Originally posted by Hammer Of Evil:
right, well, i think since you're unwilling to test, you'll have to either enjoy the crashes, or enjoy waiting for gameguard to do a code update. however long that will take.

bye bye!

lol okay then, "bye bye"
Ever figure this out? Im getting the same error when even launching the game on my 9950x and 7900xtx, its the only game that does this.
Milamber Jan 13 @ 11:34pm 
Originally posted by Greganator:
Originally posted by Milamber:

lol okay then, "bye bye"
Ever figure this out? Im getting the same error when even launching the game on my 9950x and 7900xtx, its the only game that does this.

Despite several updates to GeForce drivers, the problem persists. I'm unsure of the exact cause, but it might be due to conflicts with the anti-cheat software. Regardless, the game should function without requiring us to tweak hardware or software settings. We also encountered the reinforcement bug recently, where a fellow Helldiver couldn't be reinforced, a problem that was known more than nine months ago. This doesn't give me much confidence that the developers will address these crashes soon, especially since they might not see it as affecting enough players to warrant attention. There's talk that uninstalling and reinstalling nProtect, which automatically reinstalls upon launching the game, could help. I've experienced this issue across multiple PCs with different configurations and hardware, yet the problem remains consistent.

https://store.steampowered.com/news/app/1549250/view/6456498378615365698
Originally posted by Milamber:
Originally posted by Greganator:
Ever figure this out? Im getting the same error when even launching the game on my 9950x and 7900xtx, its the only game that does this.

Despite several updates to GeForce drivers, the problem persists. I'm unsure of the exact cause, but it might be due to conflicts with the anti-cheat software. Regardless, the game should function without requiring us to tweak hardware or software settings. We also encountered the reinforcement bug recently, where a fellow Helldiver couldn't be reinforced, a problem that was known more than nine months ago. This doesn't give me much confidence that the developers will address these crashes soon, especially since they might not see it as affecting enough players to warrant attention. There's talk that uninstalling and reinstalling nProtect, which automatically reinstalls upon launching the game, could help. I've experienced this issue across multiple PCs with different configurations and hardware, yet the problem remains consistent.

https://store.steampowered.com/news/app/1549250/view/6456498378615365698

Use this
https://steamcommunity.com/sharedfiles/filedetails/?id=3235564264
if the issue persists share a DxDiag report
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Dec 10, 2024 @ 3:24pm
Posts: 12