Forged Alliance Forever Forged Alliance Forever Forums 2020-05-03T18:57:54+02:00 /feed.php?f=3&t=19066 2020-05-03T18:57:54+02:00 2020-05-03T18:57:54+02:00 /viewtopic.php?t=19066&p=183788#p183788 <![CDATA[Re: Game hangs completely after 1h+]]>
I have done several test games (over 12 hours) with my AI and the FAF develop game version.
Maybe we fixed this or the error does not occur on my system.

Do me a favor;

This is a debug/testversion from my AI.
It has the latest gamepatches included (also patches that are not merged to the development game version)
AI-Uveso-Mod-v84-beta.zip

Install it in your normal mod folder, start a FAF develop game and activate it over the mod manager in game.
Set up a skirmish game with two AIx Uveso Adaptive. (set option cheat and buildfactor to 2.0)

After starting the game you will see the gamespeed increasing to +10 and after 30 seconds it will also activate the splitscreen.
At the end of the game, it will restart the sim and play from the start in an endless loop.

This way you can test the new configuration without sitting in front of your pc.
Just check from time to time if the game has crashed.

Statistics: Posted by Uveso — 03 May 2020, 18:57


]]>
2020-05-02T21:04:27+02:00 2020-05-02T21:04:27+02:00 /viewtopic.php?t=19066&p=183767#p183767 <![CDATA[Re: Game hangs completely after 1h+]]>
Code:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f
    attempted to write memory at 0x02b80000

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game.log /gpgnet 127.0.0.1:56211 /mean 1500.0 /deviation 500.0 /savereplay gpgnet://127.0.0.1:9612/11636719/Draiget.SCFAreplay /country RU /numgames 0

Callstack:
   Unknown symbol (address 0x0095854f)

Last 100 lines of log...

debug: Current gametime: 01:21:00
debug: Loading module '\000/units/uaa0304/uaa0304_script.lua\000'
debug: Loading module '\000/projectiles/aaafizz01/aaafizz01_script.lua\000'
debug: Current gametime: 01:21:30
debug: Current gametime: 01:22:00
debug: Loading module '\000/units/xaa0305/xaa0305_script.lua\000'
info: UI_Lua import("/lua/ui/game/orders.lua").Stop()
debug: Loading module '\000/units/uaa0303/uaa0303_script.lua\000'
debug: Current gametime: 01:22:30
debug: Current gametime: 01:23:00
debug: Current gametime: 01:23:30
debug: Loading module '\000/mods/blackopsfaf-unleashed/projectiles/sgunshipcannon01/sgunshipcannon01_script.lua\000'
debug: Loading module '\000/mods/blackopsfaf-unleashed/projectiles/sgunshiptacticalmissile01/sgunshiptacticalmissile01_script.lua\000'
debug: Current gametime: 01:24:00
debug: Loading module '\000/projectiles/sanheavycavitationtorpedo02/sanheavycavitationtorpedo02_script.lua\000'
debug: Loading module '\000/projectiles/sanheavycavitationtorpedo03/sanheavycavitationtorpedo03_script.lua\000'
debug: Loading module '\000/projectiles/taarailgun01/taarailgun01_script.lua\000'
debug: Loading module '\000/lua/terranprojectiles.lua\000'
debug: Current gametime: 01:24:30
debug: Loading module '\000/units/xel0305/xel0305_script.lua\000'
info: StartCommandMode order RULEUCC_Patrol
debug: Loading module '\000/units/xeb0104/xeb0104_script.lua\000'
debug: Loading module '\000/units/xea3204/xea3204_script.lua\000'
info: UI_Lua import("/lua/ui/uimain.lua").EscapeHandler()
info: StartCommandMode order RULEUCC_Patrol
debug: Current gametime: 01:25:00
debug: Loading module '\000/units/xeb0204/xeb0204_script.lua\000'
debug: Current gametime: 01:25:30
info: StartCommandMode order RULEUCC_Patrol
debug: Loading module '\000/projectiles/aaaautocannonquantum01/aaaautocannonquantum01_script.lua\000'
debug: Current gametime: 01:26:00
debug: Current gametime: 01:26:30
debug: Current gametime: 01:27:00
warning: Error running lua script: ...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua(2187): attempt to loop over field `FireTargetLayerCapsTable' (a nil value)
         stack traceback:
            ...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua(2187): in function `SetLandTargetPrioritiesSorian'
            ...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua(2174): in function `AssignExperimentalPrioritiesSorian'
            ...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua(2731): in function <...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua:2727>
debug: Current gametime: 01:27:30
debug: Loading module '\000/projectiles/adfquadlaserlight01/adfquadlaserlight01_script.lua\000'
debug: Current gametime: 01:28:00
debug: Loading module '\000/units/uab0103/uab0103_script.lua\000'
debug: Loading module '\000/units/xeb2402/xeb2402_script.lua\000'
debug: Current gametime: 01:28:30
debug: Loading module '\000/units/uab0203/uab0203_script.lua\000'
debug: Loading module '\000/projectiles/cdfprotoncannon05/cdfprotoncannon05_script.lua\000'
debug: Loading module '\000/units/uab0303/uab0303_script.lua\000'
debug: Current gametime: 01:29:00
debug: Current gametime: 01:29:30
debug: Loading module '\000/units/xas0306/xas0306_script.lua\000'
debug: Current gametime: 01:30:00
debug: Loading module '\000/projectiles/cimantitorpedo02/cimantitorpedo02_script.lua\000'
debug: Loading module '\000/mods/blackopsfaf-unleashed/units/bel0307/bel0307_script.lua\000'
debug: Current gametime: 01:30:30
debug: Loading module '\000/projectiles/aaazealotmissile02/aaazealotmissile02_script.lua\000'
debug: Loading module '\000/units/xsl0401/xsl0401_script.lua\000'
info: UI_Lua import("/lua/ui/uimain.lua").EscapeHandler()
debug: Current gametime: 01:31:00
debug: Current gametime: 01:31:30
warning: Error running lua script: ...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua(2862): Game object has been destroyed
         stack traceback:
            [C]: in function `GetAIBrain'
            ...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua(2862): in function `GetClosestShieldProtectingTargetSorian'
            ...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua(2844): in function <...ta\faforever\gamedata\lua.nx2\lua\ai\aibehaviors.lua:2727>
debug: Loading module '\000/projectiles/aifmissileserpentine03/aifmissileserpentine03_script.lua\000'
debug: Current gametime: 01:32:00
debug: Loading module '\000/projectiles/sifinainostrategicmissile01/sifinainostrategicmissile01_script.lua\000'
debug: Loading module '\000/lua/ui/game/nukelaunchping.lua\000'
debug: Current gametime: 01:32:30
debug: Current gametime: 01:33:00
debug: Loading module '\000/projectiles/siflaansetacticalmissile02/siflaansetacticalmissile02_script.lua\000'
debug: Loading module '\000/projectiles/caaburstcloud01/caaburstcloud01_script.lua\000'
debug: Current gametime: 01:33:30
debug: Loading module '\000/effects/entities/inainoeffectcontroller01/inainoeffectcontroller01_script.lua\000'
debug: Loading module '\000/lua/sim/damagearea.lua\000'
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect02/sifinainostrategicmissileeffect02_script.lua\000'
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect01/sifinainostrategicmissileeffect01_script.lua\000'
debug: Loading module '\000/projectiles/cdfbolter03/cdfbolter03_script.lua\000'
debug: Loading module '\000/projectiles/sbozhanaseebomb01/sbozhanaseebomb01_script.lua\000'
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect04/sifinainostrategicmissileeffect04_script.lua\000'
debug: Loading module '\000/effects/entities/sifinainostrategicmissileeffect03/sifinainostrategicmissileeffect03_script.lua\000'
debug: Loading module '\000/effects/entities/sbozhanaseebombeffect01/sbozhanaseebombeffect01_script.lua\000'
debug: Loading module '\000/effects/entities/sbozhanaseebombeffect02/sbozhanaseebombeffect02_script.lua\000'
debug: Current gametime: 01:34:00
debug: Loading module '\000/units/xsa0103/xsa0103_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>
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: Current gametime: 01:34:30
debug: Loading module '\000/units/xsa0402/xsa0402_script.lua\000'
debug: Current gametime: 01:35:00
debug: Current gametime: 01:35:30
debug: Loading module '\000/mods/blackopsfaf-unleashed/projectiles/minirocket01/minirocket01_script.lua\000'
debug: Loading module '\000/projectiles/sifexperimentalstrategicmissile01/sifexperimentalstrategicmissile01_script.lua\000'
debug: Current gametime: 01:36:00
debug: Loading module '\000/mods/blackopsfaf-unleashed/units/bab2404/bab2404_script.lua\000'
info: UI_Lua import("/lua/ui/uimain.lua").EscapeHandler()
debug: Current gametime: 01:36:30
debug: Current gametime: 01:37:00
debug: Loading module '\000/projectiles/cdfprotoncannon02/cdfprotoncannon02_script.lua\000'
info: CWldSession::DoBeat() unknown entity id (0x2ff01339) supplied in a pose update.
debug: Loading module '\000/effects/entities/seraphimnukeeffectcontroller01/seraphimnukeeffectcontroller01_script.lua\000'
debug: Current gametime: 01:37:30
debug: Loading module '\000/effects/entities/sifexperimentalstrategicmissileeffect02/sifexperimentalstrategicmissileeffect02_script.lua\000'
debug: Loading module '\000/effects/entities/sifexperimentalstrategicmissileeffect03/sifexperimentalstrategicmissileeffect03_script.lua\000'
debug: Loading module '\000/effects/entities/sifexperimentalstrategicmissileeffect05/sifexperimentalstrategicmissileeffect05_script.lua\000'
debug: Loading module '\000/effects/entities/sifexperimentalstrategicmissileeffect06/sifexperimentalstrategicmissileeffect06_script.lua\000'
debug: Loading module '\000/effects/entities/sifexperimentalstrategicmissileeffect04/sifexperimentalstrategicmissileeffect04_script.lua\000'
debug: Loading module '\000/projectiles/caadissidentantinuke01/caadissidentantinuke01_script.lua\000'

Statistics: Posted by Draiget — 02 May 2020, 21:04


]]>
2020-05-02T12:07:35+02:00 2020-05-02T12:07:35+02:00 /viewtopic.php?t=19066&p=183740#p183740 <![CDATA[Re: Game hangs completely after 1h+]]>
There is no way to tell what function is currently running.
It's even more worse because you can't print to the debug log when the game-sim is freezed.

Dead loops are the nastiest errors at all.
Insane hard to trace.

Statistics: Posted by Uveso — 02 May 2020, 12:07


]]>
2020-05-02T06:17:19+02:00 2020-05-02T06:17:19+02:00 /viewtopic.php?t=19066&p=183734#p183734 <![CDATA[Re: Game hangs completely after 1h+]]> Is there any way to debug game, like attach to current game and inspect which lua (or maybe not lua) functions are executing right now?

Statistics: Posted by Draiget — 02 May 2020, 06:17


]]>
2020-04-30T00:18:21+02:00 2020-04-30T00:18:21+02:00 /viewtopic.php?t=19066&p=183684#p183684 <![CDATA[Re: Game hangs completely after 1h+]]>
Sadly there is no error line or any hint where the game is looping.
So we have to check every game function to trace this down.

Statistics: Posted by Uveso — 30 Apr 2020, 00:18


]]>
2020-04-29T23:06:42+02:00 2020-04-29T23:06:42+02:00 /viewtopic.php?t=19066&p=183681#p183681 <![CDATA[Re: Game hangs completely after 1h+]]>

Close to the est. End of the Game

Statistics: Posted by Drops666 — 29 Apr 2020, 23:06


]]>
2020-04-14T19:16:32+02:00 2020-04-14T19:16:32+02:00 /viewtopic.php?t=19066&p=183365#p183365 <![CDATA[Re: Game hangs completely after 1h+]]>
Anihilnine wrote:
I would test without mods


You mean without in-game mods like "Nothing but time"?

Statistics: Posted by Draiget — 14 Apr 2020, 19:16


]]>
2020-04-14T11:26:04+02:00 2020-04-14T11:26:04+02:00 /viewtopic.php?t=19066&p=183358#p183358 <![CDATA[Re: Game hangs completely after 1h+]]> Statistics: Posted by nine2 — 14 Apr 2020, 11:26


]]>
2020-04-12T17:58:57+02:00 2020-04-12T17:58:57+02:00 /viewtopic.php?t=19066&p=183325#p183325 <![CDATA[Re: Game hangs completely after 1h+]]>
i also had a freezed game last week.
So there is a good chance that this error is not on your side.

Since you are playing AI games, do me a favor.

Please download my AI mod (version 81):
viewtopic.php?f=88&t=16381

You can install it like any other mod.
Just copy the AI mod to your modfolder.

Activate it and use the "AIx Uveso Adaptive" sub AI.
After a gamefreeze, please post the game.log.
(my AI has some advanced debug features and will be a bit more informative about what is going on here.)

Statistics: Posted by Uveso — 12 Apr 2020, 17:58


]]>
2020-04-12T11:28:42+02:00 2020-04-12T11:28:42+02:00 /viewtopic.php?t=19066&p=183316#p183316 <![CDATA[Re: Game hangs completely after 1h+]]> Statistics: Posted by Draiget — 12 Apr 2020, 11:28


]]>
2020-04-12T09:29:23+02:00 2020-04-12T09:29:23+02:00 /viewtopic.php?t=19066&p=183314#p183314 <![CDATA[Game hangs completely after 1h+]]>
I've been facing the freeze\hangs issue very often (almost every game), but the interesting thing is that hangs occurs closer to the end of the match. I tried to check out the game logs myself, but seeing only game logic errors (or smth like that), they don’t look like a fatal one.
All games I host on my PC while playing with second players and a couple of ALX Adaptive bots. Game not crash, it just freezes - no game sound, I can move my mouse cursor over the window but also I observe no GPU activity after that point. Other player are still able to interact with the game, like select units, he has a game sounds, able to move the camera, like the host player is just dropped - game time is freezed for him.

I don't know how I can fix this, that really makes me crazy.
Host specs also attached in dxdiag output.

P.S. I will attach more logs once this happens again, looks like they are rotating (only one instance of game.log exists).

Statistics: Posted by Draiget — 12 Apr 2020, 09:29


]]>