Random crash in game

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Random crash in game

Postby Sir Prize » 03 Jan 2020, 12:46

Just had this crash, posting this from the debugger my game broke into. Hopefully these are the logs needed...?

Code: Select all
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f
    attempted to write memory at 0x02da0000

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:5046 /mean 1472.59 /deviation 105.318 /savereplay gpgnet://127.0.0.1:62956/10794800/PREVED-MEDVED.SCFAreplay /country AU /clan e /numgames 18

Callstack:
   Unknown symbol (address 0x0095854f)

Last 100 lines of log...

info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000--changing
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000--changing
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000--changing
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000--changing
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/effects/entities/debrisboneattachlow01/debrisboneattachlow01_script.lua\000'
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000--changing
info: UIP:\000Not enough units to make another group'
debug: Current gametime: 00:19:30
info: UIP:\000end?: false
info: UIP:\000start?: false
info: UIP:\000start?: true
debug: Loading module '\000/projectiles/saaolarisaaartillery04/saaolarisaaartillery04_script.lua\000'
debug: Loading module '\000/projectiles/saashleoaagatlinggun01/saashleoaagatlinggun01_script.lua\000'
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000--changing
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/projectiles/cifcorsairmissile01/cifcorsairmissile01_script.lua\000'
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000--changing
debug: Loading module '\000/projectiles/saashleoaagatlinggun04/saashleoaagatlinggun04_script.lua\000'
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000--changing
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000found a brother
info: UIP:\000--changing
info: UIP:\000end?: true
info: UIP:\000***** double click
info: UIP:\000-- double click detected
info: UIP:\000found a brother
info: UIP:\000--changing
Attachments
downlords-faf-client.log
(137.18 KiB) Downloaded 3 times
game.log
(322.87 KiB) Downloaded 6 times
ice-adapter.log
(82.81 KiB) Downloaded 3 times
User avatar
Sir Prize
Evaluator
 
Posts: 556
Joined: 24 May 2014, 10:29
Has liked: 68 times
Been liked: 88 times
FAF User Name: Sir-Prize

Re: Random crash in game

Postby Uveso » 03 Jan 2020, 16:08

Hello Sir Prize;

the error at address 0x0095854f is a very old bug (since 2013):
https://github.com/FAForever/fa/issues/1445

We are not sure why this error happens. We can recreate it if we spawn a big amount of units or using a huge amount of ingame memory.
Also we traced 16 reported crashes at this adress in 7 years. (moslty with enabled mods)

My suggestion; use less mods that run in endless loops (not trigger based) to save memory and prevent overloaded table/buffers/memory allocations.
User avatar
Uveso
Supreme Commander
 
Posts: 1638
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 60 times
Been liked: 255 times
FAF User Name: Uveso

Re: Random crash in game

Postby Sir Prize » 13 Jan 2020, 10:05

Same crash, different last 100 lines in the logs - was only watching a replay this time
Code: Select all
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095854f
    attempted to write memory at 0x02bc0000

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /replay C:/ProgramData/FAForever/cache/temp.scfareplay /init init_faf.lua /nobugreport /log C:\ProgramData\FAForever\logs\replay.log /replayid 10842826

Callstack:
   Unknown symbol (address 0x0095854f)

Last 100 lines of log...

info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/units/dalk003/dalk003_script.lua\000'
info: creating high fidelity terrain
info: creating high fidelity water
debug: Current gametime: 00:23:30
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Current gametime: 00:24:00
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/projectiles/cdflaserdisintegrator01/cdflaserdisintegrator01_script.lua\000'
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/projectiles/cdfheavydisintegratorpulselaser01/cdfheavydisintegratorpulselaser01_script.lua\000'
debug: Loading module '\000/units/uab2305/uab2305_script.lua\000'
debug: Current gametime: 00:24:30
debug: Loading module '\000/projectiles/adfgraviton01/adfgraviton01_script.lua\000'
debug: Loading module '\000/projectiles/aaafizz01/aaafizz01_script.lua\000'
info: CWldSession::DoBeat() unknown entity id (0x2ff01364) supplied in a pose update.
debug: Current gametime: 00:25:00
debug: Loading module '\000/units/urb4302/urb4302_script.lua\000'
debug: Current gametime: 00:25:30
debug: Loading module '\000/projectiles/aaserpentine/aaserpentine_script.lua\000'
info: creating high fidelity terrain
info: creating high fidelity water
warning: Error running '/lua/ui/game/gamemain.lua:OnSelectionChanged': ...r forged alliance\mods\ui-party\modules\unitlock.lua(88): Game object has been destroyed
         stack traceback:
            [C]: in function `GetGuardedEntity'
            ...r forged alliance\mods\ui-party\modules\unitlock.lua(88): in function `OnSelectionChanged'
            ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1163): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua:1159>
            ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1325): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua:1310>
            ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1346): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua:1344>
debug: Current gametime: 00:26:00
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/units/xrb0104/xrb0104_script.lua\000'
warning: Error running '/lua/ui/game/gamemain.lua:OnSelectionChanged': ...r forged alliance\mods\ui-party\modules\unitlock.lua(88): Game object has been destroyed
         stack traceback:
            [C]: in function `GetGuardedEntity'
            ...r forged alliance\mods\ui-party\modules\unitlock.lua(88): in function `OnSelectionChanged'
            ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1163): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua:1159>
            ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1325): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua:1310>
            ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1346): in function <...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua:1344>
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Current gametime: 00:26:30
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Current gametime: 00:27:00
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Current gametime: 00:27:30
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/units/urb2305/urb2305_script.lua\000'
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Current gametime: 00:28:00
info: creating high fidelity terrain
info: creating high fidelity water
debug: Loading module '\000/units/urb4206/urb4206_script.lua\000'
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
debug: Current gametime: 00:28:30
info: creating high fidelity terrain
info: creating high fidelity water
info: creating high fidelity terrain
info: creating high fidelity water
Attachments
replay.log
(145.23 KiB) Downloaded 9 times
User avatar
Sir Prize
Evaluator
 
Posts: 556
Joined: 24 May 2014, 10:29
Has liked: 68 times
Been liked: 88 times
FAF User Name: Sir-Prize

Re: Random crash in game

Postby Uveso » 13 Jan 2020, 13:38

I viewed the replay 10842826 with Tagada and ThomasHiatt.
No crash here.


Please disable the following mods and view the replay again:

"UI Party",
"Notifications v5.2",
"Advanced Reclaim Info",
"Advanced target priorities",
"hotbuildex",
"ZeP_MiniMapZoom",
"Additional Camera Stuff v3.2",
"Supreme Score Board",
"d[e]cals",
"EcoManager",
"[e] please",
"Common Mod Tools",

It's most likely that one of these mods is causing the crash or a combination of 2 mods.
User avatar
Uveso
Supreme Commander
 
Posts: 1638
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 60 times
Been liked: 255 times
FAF User Name: Uveso

Re: Random crash in game

Postby Little Miss Murder » 14 Jan 2020, 06:02

I get this crash if idle engie mod is enabled.Alternatively, reducing fidelity settings eliminates it. I never had this bug on Windows, only under Wine.
User avatar
Little Miss Murder
Avatar-of-War
 
Posts: 188
Joined: 30 Mar 2019, 12:20
Has liked: 109 times
Been liked: 24 times
FAF User Name: Little Miss Murder

Re: Random crash in game

Postby Sir Prize » 15 Jan 2020, 03:18

Little Miss Murder wrote:I get this crash if idle engie mod is enabled.Alternatively, reducing fidelity settings eliminates it. I never had this bug on Windows, only under Wine.
What other mods were you using?

I already suspected it was UI Party due to the first set of logs and am working with the creator to replicate and fix - UI Party has idle engy functionality as well. However I never had this problem before and it's a really good mod :(
User avatar
Sir Prize
Evaluator
 
Posts: 556
Joined: 24 May 2014, 10:29
Has liked: 68 times
Been liked: 88 times
FAF User Name: Sir-Prize

Re: Random crash in game

Postby Little Miss Murder » 15 Jan 2020, 09:37

I only use idle engie mod
User avatar
Little Miss Murder
Avatar-of-War
 
Posts: 188
Joined: 30 Mar 2019, 12:20
Has liked: 109 times
Been liked: 24 times
FAF User Name: Little Miss Murder


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest