Need help with random FAF/FA crash.

0

My faf games are randomly crashing ~15 minutes into a game. Any help or suggestions would be appreciated!

I've already tried switching to stereo and had no luck.

The FAF error log:

game_15476247.log

The end of the log:

debug: Current gametime: 00:09:30
debug: Loading module '\000/projectiles/caaautocannon02/caaautocannon02_script.lua\000'
debug: Loading module '\000/effects/entities/inainoeffectcontroller01/inainoeffectcontroller01_script.lua\000'
debug: Loading module '\000/lua/sim/damagearea.lua\000'
warning: ACU kill detected. Rating for ranked games is now enforced.
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect02/sifinainostrategicmissileeffect02_script.lua\000'
info: Sending game result: 2 score 1
debug: Loading module '\000/lua/ui/game/gameresult.lua\000'
info: GAMERESULT : \000score 1
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect01/sifinainostrategicmissileeffect01_script.lua\000'
warning: Error running OnStatsTrigger script in CScriptObject at 1ea92bc0: ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1379): attempt to call method `RestoreMass' (a nil value)
         stack traceback:
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1379): in function `CallbackFunction'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(437): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:429>
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect04/sifinainostrategicmissileeffect04_script.lua\000'
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect03/sifinainostrategicmissileeffect03_script.lua\000'
warning: Error running lua script: ...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua(1444): attempt to call method `GetLocationCoords' (a nil value)
         stack traceback:
         	...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua(1444): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua:1434>
warning: Error running OnStatsTrigger script in CScriptObject at 1ea92bc0: ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1358): attempt to call method `LowEnergy' (a nil value)
         stack traceback:
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1358): in function `CallbackFunction'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(437): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:429>
warning: Error running OnStatsTrigger script in CScriptObject at 1ea92bc0: ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1420): *TRIGGER ERROR: Must use unique names for new triggers- Supplied name: SkirmishOverMassThreshold
         stack traceback:
         	[C]: in function `error'
         	...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua(234): in function `CreateArmyStatTrigger'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1420): in function `SetupOverMassStatTrigger'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1370): in function `CallbackFunction'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(437): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:429>
debug: Current gametime: 00:10:00
debug: Loading module '\000/units/ual0208/ual0208_script.lua\000'
debug: Current gametime: 00:10:30
debug: Loading module '\000/units/uea0001/uea0001_script.lua\000'
debug: Loading module '\000/units/uab1201/uab1201_script.lua\000'
debug: Loading module '\000/units/urs0203/urs0203_script.lua\000'
debug: Current gametime: 00:11:00
debug: Loading module '\000/units/ueb1102/ueb1102_script.lua\000'
debug: Loading module '\000/units/zab9501/zab9501_script.lua\000'
info: range_RenderHighlighted true
info: range_RenderSelected true
info: range_RenderBuild true
debug: Current gametime: 00:11:30
debug: Loading module '\000/units/uab3201/uab3201_script.lua\000'
debug: Current gametime: 00:12:00
debug: Loading module '\000/projectiles/caaautocannon01/caaautocannon01_script.lua\000'
debug: Loading module '\000/units/ueb2204/ueb2204_script.lua\000'
debug: Current gametime: 00:12:30
debug: Loading module '\000/units/xal0203/xal0203_script.lua\000'
debug: Loading module '\000/projectiles/taalightfragmentationshell01/taalightfragmentationshell01_script.lua\000'
debug: Current gametime: 00:13:00
debug: Loading module '\000/units/ueb2301/ueb2301_script.lua\000'
debug: Loading module '\000/units/ueb0103/ueb0103_script.lua\000'
debug: Current gametime: 00:13:30
debug: Loading module '\000/units/uab1302/uab1302_script.lua\000'
debug: Current gametime: 00:14:00
debug: Current gametime: 00:14:30
debug: Loading module '\000/units/ueb2303/ueb2303_script.lua\000'
debug: Loading module '\000/projectiles/tdfgauss02/tdfgauss02_script.lua\000'
debug: Current gametime: 00:15:00
debug: Loading module '\000/projectiles/adfquatumautogun01/adfquatumautogun01_script.lua\000'
warning: SND: Error playing cue 2 on bank 5 [music]
         XACT: Invalid arg
debug: Current gametime: 00:15:30

0

Aside from some general errors - the likely cause is right there at the bottom - SND and XACT. These errors are generated by your sound hardware being set to surround mode instead of stereo. Surround will cause the game to crash randomly, sometimes early sometimes late.

While you may have set your hardware to stereo, Microsoft has some virtual surround settings they bury in there - and I'll bet those might still be turned on (they have a nasty habit of turning those things back on when they do updates - and they don't tell you).

0

Thank you for the response. I went through and disabled all of my other audio devices and made sure there was no surround sound at all. However, the crashes still occur. The SND and XACT are no longer in the logs though. I will add the log again here.. Any idea what might still be causing the issue? Help is appreciated!

game_15480913.log

The last part of the log:

debug: Loading module '\000/projectiles/adflaserlight02/adflaserlight02_script.lua\000'
debug: Loading module '\000/lua/aeonprojectiles.lua\000'
debug: Loading module '\000/projectiles/adfsonicpulsar01/adfsonicpulsar01_script.lua\000'
debug: Loading module '\000/effects/entities/debrismisc04/debrismisc04_script.lua\000'
debug: Loading module '\000/lua/genericdebris.lua\000'
debug: Current gametime: 00:03:00
debug: Loading module '\000/units/uab0102/uab0102_script.lua\000'
debug: Loading module '\000/units/uab1105/uab1105_script.lua\000'
debug: Current gametime: 00:03:30
debug: Loading module '\000/units/ual0201/ual0201_script.lua\000'
debug: Loading module '\000/effects/entities/debrismisc09/debrismisc09_script.lua\000'
debug: Current gametime: 00:04:00
debug: Loading module '\000/projectiles/tdfgauss01/tdfgauss01_script.lua\000'
debug: Loading module '\000/projectiles/adfdisruptor01/adfdisruptor01_script.lua\000'
debug: Current gametime: 00:04:30
debug: Loading module '\000/projectiles/tiffragmentationsensorshell01/tiffragmentationsensorshell01_script.lua\000'
debug: Loading module '\000/projectiles/tiffragmentationsensorshell02/tiffragmentationsensorshell02_script.lua\000'
debug: Current gametime: 00:05:00
debug: Loading module '\000/projectiles/adfquantumdisruptor01/adfquantumdisruptor01_script.lua\000'
debug: Loading module '\000/units/ual0103/ual0103_script.lua\000'
debug: Loading module '\000/units/ueb1202/ueb1202_script.lua\000'
warning: Error running OnRelease script in <deleted object>: ...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua(84): Game object has been destroyed
         stack traceback:
         	[C]: in function `Play'
         	...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua(84): in function <...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua:78>
debug: Loading module '\000/projectiles/aifmortar01/aifmortar01_script.lua\000'
debug: Current gametime: 00:05:30
debug: Loading module '\000/units/uel0104/uel0104_script.lua\000'
debug: Loading module '\000/projectiles/laserbotterran01/laserbotterran01_script.lua\000'
debug: Current gametime: 00:06:00
debug: Loading module '\000/projectiles/aifbombgraviton01/aifbombgraviton01_script.lua\000'
debug: Current gametime: 00:06:30
debug: Loading module '\000/lua/sim/tasks/enhancetask.lua\000'
debug: Loading module '\000/lua/sim/scripttask.lua\000'
debug: Loading module '\000/units/ueb0201/ueb0201_script.lua\000'
debug: Current gametime: 00:07:00
debug: Current gametime: 00:07:30

0

As a follow up, I was able to grab the error popup shown when the game crashes:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0253d267
    attempted to read memory at 0xff388cd4

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game_15482105.log /gpgnet 127.0.0.1:53175 /mean 1367.71 /deviation 209.293 /savereplay gpgnet://127.0.0.1:56179/15482105/apex1.SCFAreplay /country US /numgames 20

Callstack:
	Unknown symbol (address 0x0253d267)
	Unknown symbol (address 0x0253d5fb)
	Unknown symbol (address 0x0253d660)
	Unknown symbol (address 0x0253de5d)
	Unknown symbol (address 0x0252e001)
	BaseThreadInitThunk + 20 bytes ((Unknown)(0) + 0 bytes)
	RtlGetAppContainerNamedObjectPath + 281 bytes ((Unknown)(0) + 0 bytes)
	RtlGetAppContainerNamedObjectPath + 233 bytes ((Unknown)(0) + 0 bytes)

Last 100 lines of log...

debug: Loading module '\000/units/xsl0203/xsl0203_script.lua\000'
debug: Current gametime: 00:16:00
debug: Loading module '\000/units/uel0205/uel0205_script.lua\000'
debug: Loading module '\000/units/ueb1302/ueb1302_script.lua\000'
debug: Current gametime: 00:16:30
debug: Loading module '\000/projectiles/sdftaucannon01/sdftaucannon01_script.lua\000'
debug: Current gametime: 00:17:00
debug: Loading module '\000/projectiles/taalightfragmentationshell01/taalightfragmentationshell01_script.lua\000'
debug: Loading module '\000/projectiles/tdfplasma02/tdfplasma02_script.lua\000'
debug: Loading module '\000/projectiles/tdffragmentationgrenade01/tdffragmentationgrenade01_script.lua\000'
debug: Current gametime: 00:17:30
debug: Loading module '\000/units/ueb0202/ueb0202_script.lua\000'
debug: Loading module '\000/units/ueb5202/ueb5202_script.lua\000'
debug: Current gametime: 00:18:00
debug: Current gametime: 00:18:30
debug: Current gametime: 00:19:00
debug: Loading module '\000/projectiles/tdfgauss02/tdfgauss02_script.lua\000'
debug: Current gametime: 00:19:30
debug: Current gametime: 00:20:00
debug: Loading module '\000/units/ueb4201/ueb4201_script.lua\000'
warning: SND: Error playing cue 2 on bank 5 [music]
         XACT: Invalid arg
debug: Current gametime: 00:20:30
info: CWldSession::DoBeat() unknown entity id (0x2ff0075c) supplied in a pose update.
debug: Current gametime: 00:21:00
debug: Loading module '\000/units/ueb2108/ueb2108_script.lua\000'
debug: Current gametime: 00:21:30
debug: Loading module '\000/units/uel0111/uel0111_script.lua\000'
warning: ACU kill detected. Rating for ranked games is now enforced.
info: Sending game result: 2 score 1
info: GAMERESULT : \000score 1
warning: Error running OnStatsTrigger script in CScriptObject at 136f2900: ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1379): attempt to call method `RestoreMass' (a nil value)
         stack traceback:
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1379): in function `CallbackFunction'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(437): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:429>
warning: Error running lua script: ...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua(1444): attempt to call method `GetLocationCoords' (a nil value)
         stack traceback:
         	...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua(1444): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\platoon.lua:1434>
warning: Error running OnStatsTrigger script in CScriptObject at 136f2900: ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1358): attempt to call method `LowEnergy' (a nil value)
         stack traceback:
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1358): in function `CallbackFunction'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(437): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:429>
warning: Error running OnStatsTrigger script in CScriptObject at 136f2900: ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1420): *TRIGGER ERROR: Must use unique names for new triggers- Supplied name: SkirmishOverMassThreshold
         stack traceback:
         	[C]: in function `error'
         	...\faforever\gamedata\lua.nx2\lua\scenariotriggers.lua(234): in function `CreateArmyStatTrigger'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1420): in function `SetupOverMassStatTrigger'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(1370): in function `CallbackFunction'
         	...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(437): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:429>
info: CWldSession::DoBeat() unknown entity id (0x2ff00250) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00288) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00305) supplied in a pose update.
debug: Current gametime: 00:22:00
debug: Loading module '\000/projectiles/tifmissilecruisecdr/tifmissilecruisecdr_script.lua\000'
debug: Current gametime: 00:22:30
debug: Loading module '\000/units/xsb1106/xsb1106_script.lua\000'
debug: Current gametime: 00:23:00
debug: Current gametime: 00:23:30
warning: SND: Error playing cue 1 on bank 5 [music]
         XACT: Invalid arg
debug: Loading module '\000/projectiles/tifmissilecruise03/tifmissilecruise03_script.lua\000'
debug: Current gametime: 00:24:00
debug: Loading module '\000/units/xsa0101/xsa0101_script.lua\000'
debug: Loading module '\000/units/xsa0104/xsa0104_script.lua\000'
debug: Current gametime: 00:24:30
debug: Current gametime: 00:25:00
debug: Current gametime: 00:25:30
debug: Current gametime: 00:26:00
debug: Current gametime: 00:26:30
warning: Error running OnRelease script in <deleted object>: ...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua(84): Game object has been destroyed
         stack traceback:
         	[C]: in function `Play'
         	...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua(84): in function <...mdata\faforever\gamedata\lua.nx2\lua\maui\button.lua:78>
debug: Loading module '\000/units/ueb0301/ueb0301_script.lua\000'
warning: Error running lua script: ...ramdata\faforever\gamedata\lua.nx2\lua\usermusic.lua(114): Game object has been destroyed
         stack traceback:
         	[C]: in function `WaitFor'
         	...ramdata\faforever\gamedata\lua.nx2\lua\usermusic.lua(114): in function <...ramdata\faforever\gamedata\lua.nx2\lua\usermusic.lua:108>
debug: Current gametime: 00:27:00
debug: Loading module '\000/projectiles/sdfheavyphasicautogun01/sdfheavyphasicautogun01_script.lua\000'
debug: Current gametime: 00:27:30
debug: Loading module '\000/projectiles/tdphalanx01/tdphalanx01_script.lua\000'
debug: Loading module '\000/units/xsb1302/xsb1302_script.lua\000'
debug: Current gametime: 00:28:00
debug: Current gametime: 00:28:30
debug: Loading module '\000/units/ueb2303/ueb2303_script.lua\000'
debug: Current gametime: 00:29:00
debug: Loading module '\000/projectiles/saashleoaagatlinggun04/saashleoaagatlinggun04_script.lua\000'
debug: Current gametime: 00:29:30
warning: SND: Error playing cue 279 on bank 9 [xgg]
         XACT: Invalid arg
debug: Loading module '\000/units/dea0202/dea0202_script.lua\000'
debug: Current gametime: 00:30:00
debug: Loading module '\000/units/xsa0203/xsa0203_script.lua\000'
info: CWldSession::DoBeat() unknown entity id (0x2ff00304) supplied in a pose update.
debug: Current gametime: 00:30:30
debug: Current gametime: 00:31:00
warning: SND: Error playing cue 279 on bank 9 [xgg]
         XACT: Invalid arg
debug: Loading module '\000/units/uel0309/uel0309_script.lua\000'
debug: Loading module '\000/projectiles/sdfheavyphasicautogun02/sdfheavyphasicautogun02_script.lua\000'
debug: Loading module '\000/projectiles/tifartillery01/tifartillery01_script.lua\000'
debug: Current gametime: 00:31:30
debug: Loading module '\000/projectiles/taarailgun03/taarailgun03_script.lua\000'
debug: Loading module '\000/units/xsl0205/xsl0205_script.lua\000'
debug: Current gametime: 00:32:00
debug: Loading module '\000/units/xsb0301/xsb0301_script.lua\000'
debug: Current gametime: 00:32:30
debug: Loading module '\000/units/ueb1301/ueb1301_script.lua\000'
debug: Current gametime: 00:33:00
info: CWldSession::DoBeat() unknown entity id (0x2ff002db) supplied in a pose update.
debug: Loading module '\000/units/xsa0202/xsa0202_script.lua\000'
debug: Current gametime: 00:33:30
info: CWldSession::DoBeat() unknown entity id (0x2ff00396) supplied in a pose update.
debug: Loading module '\000/units/delk002/delk002_script.lua\000'
debug: Loading module '\000/lua/kirvesweapons.lua\000'
debug: Loading module '\000/lua/kirveseffects.lua\000'
debug: Loading module '\000/lua/kirvesbeams.lua\000'
debug: Loading module '\000/projectiles/saaolarisaaartillery02/saaolarisaaartillery02_script.lua\000'
debug: Loading module '\000/units/zeb9601/zeb9601_script.lua\000'
debug: Loading module '\000/units/ueb2304/ueb2304_script.lua\000'
info: CWldSession::DoBeat() unknown entity id (0x2ff00311) supplied in a pose update.
debug: Loading module '\000/units/xsl0111/xsl0111_script.lua\000'
debug: Current gametime: 00:34:00

Not sure if this helps at all. Again, any help is appreciated!

0

These are very strange stack traces. We'll look at it, but it is likely only your system that is having these type of errors.

There are also sound errors in your log:

78187c4f-1c7d-492a-b3e0-53658e2bb2d7-image.png

Did you see the topics on the forum about sound errors?