Page MenuHomeFeedback Tracker

The instruction at 0x######## referenced memory at 0x########. The memory could not be written.
Assigned, WishlistPublic

Description

Below is a direct transcript from my thread in the DayZ Troubleshooting forum at 2:34 (UTC -05:00) Spetember 9th, 2015. I am constantly updating the post with new notes. I have done a memtest to confirm it is not a Hardware/Memory issue. No errors were reported. DayZ Standalone build .58 is the ONLY program in which this issue occurs. Every other Bohemia Interactive game I own: ARMA 2, ARMA 2 OA, ARMA 3 and even ARMA 2 OA w/DayZ mod enabled, all play without a hitch. I played DayZ Epoch for about 4 hours straight without issue.

"So yesterday I was playing the standalone totally fine. No errors, nothing to worry about. I noticed I've had an issue for a while with my Master Boot Record (100% unrelated to DayZ considering I didn't even start to play again within the past couple of days after a solid 6 month hiatus) and decided to fix it about yesterday afternoon. I popped my Win7 disc in, fixed the MBR, called it a day.

Jump back into steam and try to run DayZ, now I'm getting one of two outcomes whenever I launch the game:

  1. My game starts on a black screen, then crashes a few seconds later providing me with the error: "The instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be written." Granted that's not the exact memory address listed in the error, but every time, both addresses end up being the exact same. OR
  2. The game goes to a black screen and sits frozen for eternity (I let the black screen sit (without the error message popping up) for the entire night I slept last night and nothing changed).

Solutions I have tried:
Restart computer
Restart Steam
Reinstall DayZ onto new hard drive and original hard drive
Verify Game Cache like 1,000,000 times
Download BEClient.dll directly from the Battle Eye website

Considering a complete re-install of Win7 is not in the cards for me because that would involve literally a day of re-configuring everything and reinstalling a lot of software, I'd really like to avoid that. Also I've done a memtest and memory seems solid.

It is LITERALLY only DayZ standalone giving me this issue. I played the mod for a solid 4 hours straight without a hiccup. No other games are giving me this issue whatsoever. I've run every single one in my library and this is the only one that has not been able to run once since I fixed my MBR.

Plzhelp thnx.

Edit:

System Specs just in case someone needs them-

AMD 8350 (4ghz 8 core not overclocked)
1tb HDD (the other Hard Drive I tried installing it on is 500 GB USB 2 external, where the rest of my arma games are installed)
16gb DDR3 1600mhz
GTX 780 3gb VRAM
ASUS Sabertooth R2.0 Mobo

Edit 2:

I should probably mention that whenever I try to run the BattleEye service, the command prompt just blinks onto the screen and immediately disappears. No text is displayed or anything. Even if I run as Admin. Not sure what's up with that, heard it could be related potentially.

Edit 3:

When trying to run in compatibility (win xp sp 3) mode, the message "Unable to locate a running instance of Steam" is displayed and the game never runs. Both when I double click the exe directly or when I launch through steam, both give the same outcome.

UPDATE: So I just went and flushed the configuration for Steam (steam://flushconfig). I restarted my computer, then ran Steam in Admin mode. Tried running DayZ a couple of times through Steam but given the same results.

NOW I just tried running it by double-clicking the exe directly (while running in Compatibility Mode) and it made it to the page where you have to click "I understand" but then immediately crashed. Just before it got to the Bohemia Interactive screen, I noticed the error message "The instruction at 0x00000000 referenced memory at 0x00000000. The memory could not be written." came up but my game didn't crash until I hit the "I understand" page.

Progress at least!

Edit 4: So I just tried running it through steam and it gave the same exact result as above now. It keeps giving me the memory error. I'm so confused though considering it loads to that page and crashes, if there was really a memory issue I feel the game would keep crashing as it's been doing before.

Edit 5: Okay so I double clicked on the DayZ exe and the DayZ_BE exe and both gave me the result of the game loading to a black screen and staying frozen again. I can tell that nothing's going on because my Resource Monitor shows me that every time the game starts and sits at that black screen, the process immediately stops using any CPU. As with the other situation (the memory error situation) the game does not respond for a brief few seconds but continues to use CPU and then loads the Bohemia Interactive screen and stops displaying as "Not Responding".

What in the HELL is going on??

Edit 6: Ran compatibility with Vista Sp 2 and was given the memory error but it didn't even load to the Bohemia Interactive logo. Just went to the black screen, crashed and gave me the error. So far XP seems to be the one that gets me farthest.

Edit 7: Two things: First, I tried running DayZ.exe directly and running it through Steam and for about 10 attempts straight I was granted with just freezing situations. About the 11th attempt I ran through Steam and got it to get back to the "I Understand" page. So at least it's a note of consistency that running in Compatibility mode in XP SP 2 gets me farther than anything else so far.

Edit 8: Performed "sfc /scannow" and found corrupt files. None of which are related to DayZ. Nothing has changed for DayZ even after performing the scan.

Edit 9: The following picture shows the errors I've gotten the last 4 times I've run the game and it made it to the "I Understand" page: http://imgur.com/iutcjvh
Also, side-note, the middle two errors happen to have the same address. Those two instances were probably within 20-30 minutes of each other. I also witnessed an instance just before I started taking screenshots where that same memory address showed up in an error screen prior. Also the last 16-bits always end up being "a5e0" not sure if that's relative.

Edit 10: I've now had three recorded instances of the same memory addresses that could not be written to in a row: 0x584ea5e0. I'm gonna pull my hair out by day's end I swear.

Edit 11: So I just now tried to run it again. When I heard the error message pop up (just before the Bohemia Interactive logo appeared), I quickly went to the desktop and hit "Cancel" to attempt to debug myself. I opened a debug session in Visual Studio 2013 but the program was not able to be attached because access was denied. If I could just open the process myself I could figure out what's going on with the handling of memory blah." {F32650}

Details

Legacy ID
1652639999
Severity
None
Resolution
Open
Reproducibility
Always
Category
Game Crash
Steps To Reproduce

Simply run the game in any way.

I have launched the game through Steam, Nvidia GeForce Experience App, directly double-clicking the executable (both DayZ.exe and DayZ_BE.exe), the results are the same either way. Though oddly enough, I've been able to get to the "I Understand" agreement most frequently and consistently by launching through the GeForce Experience program. Not sure why.

Additional Information

There were no hardware changes in the past couple of months and there were no major software changes in the past month. The game ran fine as of yesterday afternoon. I'm not quite sure why repairing the Master Boot Record of the OS caused this considering that is the only other software change that has occurred within the last month and it took place yesterday afternoon.

Attached are the memory addresses that I seem to be getting errors for. Notice three times I have received an error at the same memory address. They all happened sequentially in a row (attempting to launch the game 3 times within a span of 5-10 minutes).

Event Timeline

AFrenchSchoolGirl edited Additional Information. (Show Details)
AFrenchSchoolGirl set Category to Game Crash.
AFrenchSchoolGirl set Reproducibility to Always.
AFrenchSchoolGirl set Severity to None.
AFrenchSchoolGirl set Resolution to Open.
AFrenchSchoolGirl set Legacy ID to 1652639999.May 8 2016, 11:51 PM
Geez added a comment.Sep 30 2015, 11:37 AM

Hello A French School Girl.
Does the issue still occur at this moment?
Regards,
Geez

The issue still occurs. I've tried numerous resets of my computer and have once more flushed the steam configuration. Nothing seems to be getting me any further.

Geez added a comment.Oct 1 2015, 11:01 AM

In that case, please attach contents of your C:\Users\*username*\AppData\Local\DayZ to this ticket. In case the files cannot be uploaded due to size, please upload them to some kind of cloud site, from which we can download the files.
Regards,
Geez

The files requested have been uploaded.

Still no updates? All files have been provided.

Geez added a comment.Oct 15 2015, 11:15 AM

Hello A French School Girl.
The files have been analysed and we are working on a fix. Please let me know once the next patch is released whether the issue still persists or not.
Regards,
Geez

Awesome, thank you. Will keep an eye out for the next patch.