some crash...

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

Moderator: PhilipJFry

some crash...

Postby C-Star » 24 Apr 2017, 19:43

seems to have happend to multiple players at once...


EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x005f39f7
attempted to read memory at 0x00000000

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /mean 1551.46 /deviation 91.5485 /country DE /init init_faf.lua /numgames 995 /log C:\ProgramData\FAForever\logs\game.log /nobugreport /savereplay gpgnet://localhost/6113956/C-Star.SCFAreplay /gpgnet 127.0.0.1:61891

Callstack:
Unknown symbol (address 0x005f39f7)
Unknown symbol (address 0x22325efb)
Unknown symbol (address 0x005f34bb)
Unknown symbol (address 0x005f34bb)
Unknown symbol (address 0x001817e3)

Last 100 lines of log...

debug: Loading module '\000/lua/simcameramarkers.lua\000'
debug: Loading module '\000/lua/simdialogue.lua\000'
debug: Loading module '\000/lua/simdiplomacy.lua\000'
debug: Loading module '\000/lua/spreadattack.lua\000'
debug: Loading module '\000/units/xsb0101/xsb0101_script.lua\000'
debug: Loading module '\000/lua/seraphimunits.lua\000'
debug: Loading module '\000/units/xsb0102/xsb0102_script.lua\000'
debug: Loading module '\000/effects/entities/seraphimbuildeffect01/seraphimbuildeffect01_script.lua\000'
debug: Loading module '\000/units/urb0101/urb0101_script.lua\000'
debug: Loading module '\000/lua/tarmacs.lua\000'
debug: Loading module '\000/units/ura0001/ura0001_script.lua\000'
debug: Loading module '\000/units/ueb0102/ueb0102_script.lua\000'
debug: Loading module '\000/effects/entities/uefbuildeffect/uefbuildeffect02_script.lua\000'
debug: Loading module '\000/effects/entities/uefbuild/uefbuild01_script.lua\000'
debug: Loading module '\000/lua/formations.lua\000'
debug: Loading module '\000/effects/entities/uefbuildeffect/uefbuildeffect03_script.lua\000'
debug: Loading module '\000/lua/spreadattack.lua\000'
debug: Loading module '\000/units/uab0101/uab0101_script.lua\000'
debug: Loading module '\000/effects/entities/aeonbuildeffect/aeonbuildeffect01_script.lua\000'
info: creating medium fidelity terrain
info: creating low fidelity water
debug: Loading module '\000/lua/ui/game/commandgraphparams.lua\000'
debug: Loading module '\000/lua/ui/game/commandwaypoint.lua\000'
debug: Loading module '\000/lua/ui/game/commandgraph.lua\000'
info: Hooked /lua/ui/game/commandgraph.lua with /schook/lua/ui/game/commandgraph.lua
debug: Loading module '\000/units/xsl0105/xsl0105_script.lua\000'
debug: Loading module '\000/units/xsb1103/xsb1103_script.lua\000'
debug: Loading module '\000/units/url0105/url0105_script.lua\000'
debug: Loading module '\000/units/urb1103/urb1103_script.lua\000'
debug: Loading module '\000/units/xsb1101/xsb1101_script.lua\000'
debug: Loading module '\000/units/uel0105/uel0105_script.lua\000'
debug: Loading module '\000/units/ueb1101/ueb1101_script.lua\000'
debug: Loading module '\000/lua/formations.lua\000'
debug: Loading module '\000/units/uab1103/uab1103_script.lua\000'
debug: Loading module '\000/units/ual0105/ual0105_script.lua\000'
debug: Loading module '\000/units/uab1101/uab1101_script.lua\000'
debug: Loading module '\000/units/ueb1103/ueb1103_script.lua\000'
debug: Loading module '\000/units/xsb1102/xsb1102_script.lua\000'
debug: Loading module '\000/units/ueb1102/ueb1102_script.lua\000'
debug: Loading module '\000/units/urb1102/urb1102_script.lua\000'
debug: Loading module '\000/units/uab1102/uab1102_script.lua\000'
debug: Loading module '\000/units/xsa0107/xsa0107_script.lua\000'
debug: Loading module '\000/units/uab1202/uab1202_script.lua\000'
debug: Loading module '\000/units/xsb1202/xsb1202_script.lua\000'
debug: Loading module '\000/units/urb1101/urb1101_script.lua\000'
debug: Loading module '\000/units/uea0107/uea0107_script.lua\000'
debug: Loading module '\000/units/urb1202/urb1202_script.lua\000'
debug: Loading module '\000/units/urb0102/urb0102_script.lua\000'
debug: Loading module '\000/units/uab0102/uab0102_script.lua\000'
debug: Loading module '\000/units/ueb1202/ueb1202_script.lua\000'
debug: Loading module '\000/units/xsa0103/xsa0103_script.lua\000'
debug: Loading module '\000/units/ueb0101/ueb0101_script.lua\000'
debug: Loading module '\000/units/uaa0101/uaa0101_script.lua\000'
debug: Loading module '\000/units/uaa0102/uaa0102_script.lua\000'
debug: Loading module '\000/units/xsa0101/xsa0101_script.lua\000'
debug: Loading module '\000/units/xsl0201/xsl0201_script.lua\000'
debug: Loading module '\000/units/xsa0102/xsa0102_script.lua\000'
debug: Loading module '\000/units/uel0201/uel0201_script.lua\000'
debug: Loading module '\000/units/uaa0103/uaa0103_script.lua\000'
debug: Loading module '\000/units/ura0107/ura0107_script.lua\000'
debug: Loading module '\000/lua/sim/tasks/enhancetask.lua\000'
debug: Loading module '\000/lua/sim/scripttask.lua\000'
info: creating medium fidelity terrain
info: creating low fidelity water
debug: Loading module '\000/projectiles/sboothetacticalbomb01/sboothetacticalbomb01_script.lua\000'
debug: Loading module '\000/lua/seraphimprojectiles.lua\000'
debug: Loading module '\000/projectiles/saashleoaagatlinggun02/saashleoaagatlinggun02_script.lua\000'
debug: Loading module '\000/units/xsb3101/xsb3101_script.lua\000'
debug: Loading module '\000/units/ueb3101/ueb3101_script.lua\000'
debug: Loading module '\000/effects/entities/debrismisc04/debrismisc04_script.lua\000'
debug: Loading module '\000/lua/genericdebris.lua\000'
debug: Loading module '\000/effects/entities/debrismisc09/debrismisc09_script.lua\000'
debug: Loading module '\000/units/xsb1302/xsb1302_script.lua\000'
debug: Loading module '\000/units/xsl0103/xsl0103_script.lua\000'
info: creating medium fidelity terrain
info: creating low fidelity water
debug: Loading module '\000/units/xsb2104/xsb2104_script.lua\000'
info: creating medium fidelity terrain
info: creating low fidelity water
debug: Loading module '\000/projectiles/sdfohcannon01/sdfohcannon01_script.lua\000'
debug: Loading module '\000/units/xsl0104/xsl0104_script.lua\000'
info: creating medium fidelity terrain
info: creating low fidelity water
debug: Loading module '\000/projectiles/aaasonicpulse02/aaasonicpulse02_script.lua\000'
debug: Loading module '\000/lua/aeonprojectiles.lua\000'
debug: Loading module '\000/units/xsb2101/xsb2101_script.lua\000'
debug: Loading module '\000/units/xsl0101/xsl0101_script.lua\000'
debug: Loading module '\000/units/xsb1106/xsb1106_script.lua\000'
debug: Loading module '\000/units/urb1106/urb1106_script.lua\000'
info: creating medium fidelity terrain
info: creating low fidelity water
info: creating medium fidelity terrain
info: creating low fidelity water
debug: Loading module '\000/units/xsb5101/xsb5101_script.lua\000'
debug: Loading module '\000/projectiles/aifbombgraviton01/aifbombgraviton01_script.lua\000'
debug: Loading module '\000/projectiles/sdfchronatroncannon01/sdfchronatroncannon01_script.lua\000'
debug: Loading module '\000/projectiles/sinker/sinker_script.lua\000'
debug: Loading module '\000/units/urb0103/urb0103_script.lua\000'
debug: Loading module '\000/projectiles/tdfgauss01/tdfgauss01_script.lua\000'
debug: Loading module '\000/lua/terranprojectiles.lua\000'
C-Star
Crusader
 
Posts: 41
Joined: 20 Oct 2013, 10:41
Has liked: 2 times
Been liked: 10 times
FAF User Name: C-Star

Re: some crash...

Postby PhilipJFry » 24 Apr 2017, 22:35

do you have some logs you can post?
instructions are in the red text
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: some crash...

Postby C-Star » 25 Apr 2017, 19:06

sry, its overwritten already i guess. didnt know that the exception wasnt enough. Will do better in the future.

you may close this as you want.
C-Star
Crusader
 
Posts: 41
Joined: 20 Oct 2013, 10:41
Has liked: 2 times
Been liked: 10 times
FAF User Name: C-Star

Re: some crash...

Postby Uveso » 25 Apr 2017, 20:46

Hello C-Star,

we know this bug, but we can't trace it.
This is all we have about this error at the moment:

Code: Select all
In summary:
If this error occurs in multiplayer all players crash simultaneously with the same error (0x005f39f7)
Also happens in single player vs AI
No warnings, game just crashes. One player said he was "issuing orders" before the game crashed.
Only a few replies after first Post. Mostly the error don't returned.

No idea so far, what could cause this.

https://github.com/FAForever/fa/issues/1574

if you can reproduce this error or give us any additional information please do so.
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: some crash...

Postby Fyren » 27 Apr 2017, 23:54

Have had a similar-sounding error that occurs in each game I've recently attempted to play. In multiplayer, each game starts with a desync, and as soon as the first move/select command is issued the game crashes. Besides the desync other players dont seem to be directly effected by the. Against AI or in Sandbox the game just crashes.

Game Log:
Spoiler: show
info: { x0=256, x1=356, y0=0, y1=256 }
info: }
debug: Loading module '\000/lua/ui/game/rallypoint.lua\000'
debug: Loading module '\000/lua/ui/controls/worldmesh.lua\000'
debug: Loading module '\000/lua/renderselectparams.lua\000'
debug: Loading module '\000/effects/entities/unitteleport01/unitteleport01_script.lua\000'
debug: Loading module '\000/lua/sim/defaultprojectiles.lua\000'
debug: Loading module '\000/lua/sim/projectile.lua\000'
debug: Loading module '\000/lua/defaultantiprojectile.lua\000'
info: Hooked /lua/defaultantiprojectile.lua with /schook/lua/defaultantiprojectile.lua
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
debug: Loading module '\000/lua/spreadattack.lua\000'
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/crosshair02d_albedo.dds" -- trying fallback.
debug: Loading module '\000/lua/ui/game/commandgraphparams.lua\000'
debug: Loading module '\000/lua/ui/game/commandwaypoint.lua\000'
debug: Loading module '\000/lua/ui/game/commandgraph.lua\000'
info: Hooked /lua/ui/game/commandgraph.lua with /schook/lua/ui/game/commandgraph.lua
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/crosshair02d_albedo.dds" -- trying fallback.
debug: Loading module '\000/units/xsb0101/xsb0101_script.lua\000'
debug: Loading module '\000/lua/seraphimunits.lua\000'
debug: Loading module '\000/effects/entities/seraphimbuildeffect01/seraphimbuildeffect01_script.lua\000'
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/crosshair02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/flag02d_albedo.dds" -- trying fallback.
info: Can't find texture "/meshes/game/crosshair02d_albedo.dds" -- trying fallback.
debug: Loading module '\000/lua/formations.lua\000'
info: Can't find texture "/meshes/game/Move_albedo.dds" -- trying fallback.
Fyren
Crusader
 
Posts: 11
Joined: 16 Sep 2016, 21:26
Has liked: 5 times
Been liked: 1 time
FAF User Name: Fyren

Re: some crash...

Postby RocketRooster » 28 Apr 2017, 00:07

That's a null pointer assignment. Unlikely to be fixable in my opinion.

ETA: 0x005f39f7 isn't the error code, the error code is 0x05 (access violation).

There is a pointer sitting at heap offset 0x005f39f7 which points to null (ie the contents of that memory location is all zeros. The program reads the pointer, requests data from where it points to (nowhere) and boom.

It could be anything. Since lua doesn't use pointers as part of the language specification, it is not due to faulty logic in one of the game's lua files. The error is baked into the exe somewhere; there could be a bug in the lua garbage collector, or anywhere else for that matter... Fock knows.

If it's the garbage collector (and this is just a stab in the dark), maybe reducing or increasing the number of forced GCs might help.

I've never had this problem myself, it might be worthwhile to find out more background info- ie what chipset/cpu/gpu/os etc they're running.
RocketRooster
Avatar-of-War
 
Posts: 294
Joined: 08 Apr 2016, 11:29
Has liked: 29 times
Been liked: 52 times
FAF User Name: RocketRooster

Re: some crash...

Postby Uveso » 28 Apr 2017, 04:32

RocketRooster wrote:ETA: 0x005f39f7 isn't the error code, the error code is 0x05 (access violation).


Yes, the error code is 05. And yes, 005f39f7 is the memory address where the error occours:

Image

The same error occours always on the same memory address. So we can trace a bug with it.

And lua can trigger those errors. just look here:

https://github.com/FAForever/fa/pull/1375
User avatar
Uveso
Supreme Commander
 
Posts: 1788
Joined: 11 Dec 2015, 20:56
Location: Germany
Has liked: 70 times
Been liked: 291 times
FAF User Name: Uveso

Re: some crash...

Postby RocketRooster » 28 Apr 2017, 07:35

Am I correct in assuming that debugging symbols have been stripped from the compiled binary?
RocketRooster
Avatar-of-War
 
Posts: 294
Joined: 08 Apr 2016, 11:29
Has liked: 29 times
Been liked: 52 times
FAF User Name: RocketRooster


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest