Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EXCEPTION_ACCESS_VIOLATION (0xc0000005) #2945

Closed
SpaceNinjaApe opened this issue Jan 3, 2020 · 10 comments
Closed

EXCEPTION_ACCESS_VIOLATION (0xc0000005) #2945

SpaceNinjaApe opened this issue Jan 3, 2020 · 10 comments

Comments

@SpaceNinjaApe
Copy link

SpaceNinjaApe commented Jan 3, 2020

EXCEPTION_ACCESS_VIOLATION (0xc0000005)
Multiplayer crashes on scmp_039 (no mods)

error.txt

Happend a view times now:

OS: Windows 10 pro 64 bit

@shalkya
Copy link
Member

shalkya commented Jan 3, 2020

can you provide the game.log here : C:\ProgramData\FAForever\logs\game.log

@SpaceNinjaApe
Copy link
Author

SpaceNinjaApe commented Jan 3, 2020

Just in a second. Were doing another game (same races spamming units like mad) but this time my mate is not connected via w-lan.

@norusk
Copy link

norusk commented Jan 4, 2020

game.log

@SpaceNinjaApe
Copy link
Author

SpaceNinjaApe commented Jan 4, 2020

warning: Error running lua script: ...\gamedata\units.nx2\units\uel0307\uel0307_script.lua(106): Game object has been destroyed
stack traceback:
[C]: in function `SetFireTargetLayerCaps'
...\gamedata\units.nx2\units\uel0307\uel0307_script.lua(106): in function <...\gamedata\units.nx2\units\uel0307\uel0307_script.lua:100>

this seems to be the problem?

@SpaceNinjaApe
Copy link
Author

Are there any known problems with radeon graphiccards?

@Strogoo
Copy link
Contributor

Strogoo commented Feb 12, 2020

If you still have these EXCEPTION_ACCESS_VIOLATION crashes then pls post recent crash logs (there was an exe patch a month ago, so some addresses are outdated now it seems. Can't find them in debugger)

Normal logs from log folder are irrelevant, you have to copy them from this debug window (like in your first post) and then upload here.

@BurnySc2
Copy link

BurnySc2 commented May 2, 2020

I'm running Linux Mint Mate using the Steam client FA version together with Download's FAF Client (Java) and getting the same crashes (3 so far today). These seem to happen after 25-35 game time. I suspected they have to do with DirectX9 rendering (a solution is described here) but I am still getting the same crash even after applying the described fix (solution 3) in the link.

Here are two such reports with EXCEPTION_ACCESS_VIOLATION (0xc0000005)
error1.txt
error2.txt

Edit: I just found the full game.log belonging to error2.txt:
game.log

Edit: More logs from other games (similar crashes):
game1.log
game2.log
game3.log
game4.log
game5.log
game6.log
game7.log
game8.log
game9.log
game10.log

@LukeAtherton
Copy link

LukeAtherton commented Jul 7, 2020

I've got the same issue also around the 25-35 min mark.

I'm running Pop!_OS with the Java client v1.1.8 launching with:

export PROTON_USE_D9VK=1;
export INSTALL4J_JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64;
./downlords-faf-client;

On proton 4.11-13 with these launch options:

PROTON_USE_D9VK=1 DXVK_HUD=1 PROTON_NO_ESYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 PROTON_LOG=1 %command%

Running the replay crashes every time but at different points in the game, here's the output from a couple of games where the crash occurred:

fa-crash.txt
fa-crash-2.txt
fa-crash-3.txt
fa-crash-4.txt

It seems to crash now even watching replays of games I played last week which were fine at the time. Started happening when I upgraded the client to v1.1.8 I think.

What can I look for to help debug this?

@dcelasun
Copy link

I have the same crash since 1.2.0 I think. Here are some choice quotes from game.log. The last one definitely looks relevant.

warning: Error running sim lua callback function 'GiveOrders':
         ...sun\.faforever\gamedata\lua.nx2\lua\spreadattack.lua(428): attempt to call method `GetBlueprint' (a nil value)
         stack traceback:
         	...sun\.faforever\gamedata\lua.nx2\lua\spreadattack.lua(428): in function `fn'
         	...sun\.faforever\gamedata\lua.nx2\lua\simcallbacks.lua(16): in function <...sun\.faforever\gamedata\lua.nx2\lua\simcallbacks.lua:13>
warning: Error running sim lua callback function 'CapMex':
         ...sun\.faforever\gamedata\lua.nx2\lua\simcallbacks.lua(90): attempt to call method `GetCurrentLayer' (a nil value)
         stack traceback:
         	...sun\.faforever\gamedata\lua.nx2\lua\simcallbacks.lua(90): in function `fn'
         	...sun\.faforever\gamedata\lua.nx2\lua\simcallbacks.lua(16): in function <...sun\.faforever\gamedata\lua.nx2\lua\simcallbacks.lua:13>
warning: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
         stack traceback:
         	[C]: in function `error'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Left'
         	... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:36>
         	[C]: in function `pcall'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Right'
         	... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:34>
         	[C]: in function `pcall'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
         	[C]: in function `error'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Right'
         	... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:34>
         	[C]: in function `pcall'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
         	[C]: in function `error'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
warning: GetResource: Invalid name ""
info: Can't find texture "" -- trying fallback.
warning: GetResource: Invalid name ""
info: Can't find texture "" -- trying fallback.
warning: GetResource: Invalid name ""
info: Can't find texture "" -- trying fallback.
debug: Loading module '\000/lua/ui/game/strategicicons.lua\000'
warning: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
         stack traceback:
         	[C]: in function `error'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Bottom'
         	... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:35>
         	[C]: in function `pcall'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Top'
         	... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:37>
         	[C]: in function `pcall'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
         	[C]: in function `error'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Top'
         	... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:37>
         	[C]: in function `pcall'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
         	[C]: in function `error'
         	...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>

@MrRowey
Copy link
Member

MrRowey commented Aug 5, 2022

Moving to use #2045 to track this, closing it accordingly.

@MrRowey MrRowey closed this as not planned Won't fix, can't repro, duplicate, stale Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants