Starfield

Starfield

View Stats:
decimus28 Oct 24, 2023 @ 6:01pm
Starfield Crashing due to c0000005 invalid write violation from Starfield!agsSetDisplayMode+0x23855c (seems to be related to save files)
My save from about 250 hours in keep crashing every few minutes now. Using WinDbg and !analyze -v

(EDIT - This seems to be just with my longer game saves or I have just not replayed enough with my second character to get to the issues. I'm mostly jumping between planets or scanning on new planets when it happens. Although I finished 750 planets before this issue triggered)

I keep seeing this as the culprit

example instance
00000000`00000000 00000000`000000fc 0000020c`0f382f20 00000214`e0e31320 : Starfield!agsSetDisplayMode+0x23855c

so
Starfield!agsSetDisplayMode+0x23855c
trying to write to address 0000000000000000
which causes an exception with a 0xc0000005 Access Violation error code.

Assembly code
mov byte ptr [rax],al ds:00000000`00000000=??

I don't know why it starts to do this after a while for some peoples saves and I'm far from smart enough to do anything with this info or if I'm understanding it correctly but I'd be interested if anyone can expand on why it's happening.

Also it's always seems to be in relation to
Starfield!ffxFsr2ResourceIsNull - (EDIT - Not the issue, still happens without FSR2 on so this call stops)
and
Starfield!Scaleform::Render
calls.

Edit:
Solutions Tried
-Verify Game Files
-Test memory with memtest86(fine)
-Turn off all overclocking fully
-Disable CAS/FSR2
-force 60 FPS with nVinda Control Panel
-set monitor frame rate down to 60
-Turn off G-Sync Compatiblity(also HDR is off)
-Delete dxcache shaders and pipeline.cache
-Set pagefile to huge min/max of 65,536/196,608
-Clean nVidia driver install
-AMD chipset driver update install
-BIOS update installed
-Test SSD health and speeds
-sfc /scannow
-one RAM stick, the other RAM stick, both RAM sticks but reversed)
-windows is up to date also

EDIT: Specs
Windows 11 Pro 22H2(build 22621.2428)
ROG CROSSHAIR X670E EXTREME
AMD 7950x3d
64GB G.Skill Trident Z5 Neo RGB 2x32 (F5-6000J3040G32GX2-TZ5NR)
AORUS GeForce RTX 4090 XTREME Water Force v1.1
OS drive - Kingston FURY Renegade 2TB PCIe Gen 4.0 NVMe M.2
SSD game drive - RAID 0 of 2 Kingston FURY Renegade 2TB PCIe Gen 4.0 NVMe M.2
(this is where starfield is 8% full)
HDD Gaming 65TB Raid 10 on thunderbolt- TERRAMASTER D8-332 Thunderbolt 3 with 8x Seagate Exos X18 18TB Enterprise HDD(ST18000NM000J)
Last edited by decimus28; Nov 11, 2023 @ 4:42am
< >
Showing 1-15 of 24 comments
o.O Oct 29, 2023 @ 10:03pm 
I was struggling with this exact problem all weekend since I suddenly could not load some save games after upgrading my SSD. Specifically the same c0000005 (Access violation) with FAILURE_BUCKET_ID: NULL_POINTER_READ_STACK_POINTER_MISMATCH_c0000005_Starfield.exe!Unknown
Older saves would work, but would CTD when fast traveling or after a couple minutes of play.
For me, it turns out that I didn't have enough vram due to the new SSD messing up windows' settings. I increased my paging file to 3 GB minimum and it seems to have solved my problems! No more crash and I can load my old save game.

Specs:
Win 10
Ryzen 5 3600
16 GB DDR-4 3200 (XMP profile)
GTX 1070
Samsung 980 PRO SSD
decimus28 Oct 30, 2023 @ 8:43am 
Didn't help for me unfortunately but thank you for letting me know of your experience. I can set my min/max paging file to a huge 64GB/196GB and still have the issue. Also even on error I still have about 40GB of the 64GB of RAM free still. Was hoping to see some kind of high memory use there to get an idea of the problem but nothing appeared.

It always crashes from that one
"Starfield!agsSetDisplayMode"
line trying to write to an invalid address of "0000000000000000"

also one of the TID is running Starfield!Scaleform::System::HasMemoryLeaks"
which wouldn't be surprising as Autodesk Scaleform middleware was discontinued back in 2017. I can't find "HasMemoryLeaks" in Autodesk's docs either so maybe Bethesda added that seeing as Autodesk gave the final source code to certain customers.

I going to try to sus out what's going on focusing on
AMD GPU Services
and
Scaleform

seeing as my GPU is nVinda and CPU AMD I'll try some AMD chipset driver versions and disabling intergrated GPU functions.

If no luck there I'll see if I there is anything I can do the scaleform UI elements to see if that helps.

All shots in the dark for me though, I don't have enough experience to know what the issues is.
Last edited by decimus28; Oct 30, 2023 @ 8:44am
Funkyredneck Oct 30, 2023 @ 9:02am 
I have recently started getting crashes to desktop. No error warning or nothing. I have almost 500hrs in and this just started happening. Mostly seems to happen when I jump to a new system or planet.I have removed most all the save games to reduce the list but still happens. I am reinstalling the game now and will check again in awhile after lunchtime. I have read all about turning off xmp, running as admin, updating drivers blah blah blah. Game has been fine for the last 450hrs of play so dont see any of those being the issue. It has to be a new bug creeping in. Please Bethesda patch this issue. I am stuck at lvl99 as I have also been deleting save games that present the crash. I hit lvl100 4 times now lol but have deleted those saves. Dont think the issue is there either
Last edited by Funkyredneck; Oct 30, 2023 @ 9:06am
Riitoken Oct 30, 2023 @ 9:06am 
Originally posted by Funkyredneck:
I have recently started getting crashes to desktop. No error warning or nothing. I have alnost 500hrs in and this just started happening. Mostly seems to happen when I jump to a new system or planet.I have removed most all the save games to reduce the list but still happens. I am reinstalling the game now and will check again in ahile after lunchtime. I have read all about turning off xmp, running as admin, updating drivers blah blah blah. Game has been fine for the last 450hrs of play so dont see any of those being the issue. It has to be a new bug creeping in. Please Bethesda patch this issue. I am stuck at lvl99 as I have also been deleting save games that present the crash. I hit lvl100 4 times now lol but have deleted those saves. Dont think the issue is there either
Just curious here. How many outposts do you have? And how many total cargo links, specifically inter-sys? and how many transfer containers?
Funkyredneck Oct 30, 2023 @ 9:07am 
About 7 outpists each with a transfer and prob about 6 inter system links setup
decimus28 Oct 30, 2023 @ 9:08am 
For me it's two outpost, one link, and a 60ish containers but that was back at lvl 30ish and 40 hours in to the 250 hour save.
Deadlylag Oct 30, 2023 @ 9:09am 
Originally posted by Riitoken:
Originally posted by Funkyredneck:
I have recently started getting crashes to desktop. No error warning or nothing. I have alnost 500hrs in and this just started happening. Mostly seems to happen when I jump to a new system or planet.I have removed most all the save games to reduce the list but still happens. I am reinstalling the game now and will check again in ahile after lunchtime. I have read all about turning off xmp, running as admin, updating drivers blah blah blah. Game has been fine for the last 450hrs of play so dont see any of those being the issue. It has to be a new bug creeping in. Please Bethesda patch this issue. I am stuck at lvl99 as I have also been deleting save games that present the crash. I hit lvl100 4 times now lol but have deleted those saves. Dont think the issue is there either
Just curious here. How many outposts do you have? And how many total cargo links, specifically inter-sys? and how many transfer containers?

So you think it's a memory leak of some kind?
decimus28 Oct 30, 2023 @ 9:13am 
If you have or want to download Microsoft Windbg. Run that on the .dmp file in the Starfield install directory. Then click the "!analyze - v" link.
See what shows up for
FAILURE_BUCKET_ID:

and this area (example)

"
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ff7190ae23c (Starfield!agsSetDisplayMode+0x000000000023855c)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000001
Parameter[1]: 0000000000000000
Attempt to write to address 0000000000000000

PROCESS_NAME: Starfield.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
"
Last edited by decimus28; Oct 30, 2023 @ 9:15am
Deadlylag Oct 30, 2023 @ 9:18am 
Originally posted by decimus28:
If you have or want to download Microsoft Windbg. Run that on the .dmp file in the Starfield install directory. Then click the "!analyze - v" link.
See what shows up for
FAILURE_BUCKET_ID:

and this area (example)

"PROCESS_NAME: Starfield.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
"

That's a memory error problem.
decimus28 Oct 30, 2023 @ 9:20am 
Yeah, but it's always a bad call from that function trying to access an invalid ptr, not a random memory issue.

Only starfield, no other stability issues with windows, other games or memtest.
Last edited by decimus28; Oct 30, 2023 @ 9:23am
xPEDx Oct 30, 2023 @ 9:25am 
I've had my pc reboot by itself about 4 times now, usually when fast travelling to another place
decimus28 Oct 30, 2023 @ 4:38pm 
I updated what I've tried so far in post, nothing worked.
Namsum Oct 30, 2023 @ 4:48pm 
Remove a Ram (I assume you have two) and try to play with it. If that works, replace the Ram with the other one and try to play with it.

Problems with the Ram are sometimes very difficult to find out. Ramtest is not very reliable.
[-iD-] Oct 30, 2023 @ 4:48pm 
did you try /sfc scannow yet?
and i think windows has its own memory diagnostic program now and its actually decent.
Last edited by [-iD-]; Oct 30, 2023 @ 4:49pm
decimus28 Oct 30, 2023 @ 5:22pm 
Originally posted by Namsum:
Remove a Ram (I assume you have two) and try to play with it. If that works, replace the Ram with the other one and try to play with it.

Problems with the Ram are sometimes very difficult to find out. Ramtest is not very reliable.

Same issue with either single stick or both sticks reversed.
< >
Showing 1-15 of 24 comments
Per page: 1530 50

Date Posted: Oct 24, 2023 @ 6:01pm
Posts: 24