Linux - Game crash after a while

Hello,

The game has ben running pretty good so far, but I have been experiencing some crashes in the game, at critical moments (often after 30 min, when a lot of units are in the game)
The game freezes (no disconnection seen from other players) on my side, even the mouse. When I get out of fullscreen, I see a Wine popup stating something like this (this is an example but it varies each time) :

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x0095815d
attempted to read memory at 0xffffffff

Program : Z:<redacted path>.faforever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log /<redacted path>/.faforever/logs/game_18623687.log /gpgnet 127.0.0.1:50950 /mean 981.261 /deviation 105.007 /savereplay gpgnet://127.0.0.1:41033/18623687/Phylos.SCFAreplay /country FR /clan IBT /numgames 415 /numgames 406

Callstack:
unavailable.

Last 100 lines of log...

info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: CWldSession::DoBeat() unknown entity id (0x2ff001d1) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff001d2) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00004) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff002fd) supplied in a pose update.
debug: Current gametime: 00:33:00
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
debug: Current gametime: 00:33:30
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: CWldSession::DoBeat() unknown entity id (0x2ff003ce) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00413) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00414) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00415) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00416) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00417) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00418) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff0041d) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff0041f) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00420) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00422) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00428) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff0042a) supplied in a pose update.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: CWldSession::DoBeat() unknown entity id (0x2ff0035d) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff0039c) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff003f7) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff0040c) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00456) supplied in a pose update.
debug: Current gametime: 00:34:00
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
debug: Current gametime: 00:34:30
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.
info: *FORMATION DEBUG: Unit xss0304 does not match any Naval categories.

I have 3 buttons on the bottom of the window, saying Abort, debug into breakpoint, etc.

If I debug into breakpoint, my terminal says this :

wine: Unhandled page fault on read access to FFFFFFFF at address 0095815D (thread 0120), starting debugger...
Unhandled exception: page fault on read access to 0xffffffff in 32-bit code (0x0095815d).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:0095815d ESP:3765fa20 EBP:00000000 EFLAGS:00010286( R- -- I S - -P- )
EAX:ffffffff EBX:01e90000 ECX:3765f9b0 EDX:00000000
ESI:000c30f0 EDI:1a5062d0
Stack dump:
0x3765fa20: 1a5062d0 000c30f0 c30f0000 0000022b
0x3765fa30: 00000000 0095855a 0000022b 00000000
0x3765fa40: 000000ff 00000000 00002000 00000104
0x3765fa50: 00f8ed88 3765fa78 7bc6f7c6 00f8ed88
0x3765fa60: 009586ba 0000022b 2b9ebf18 13093e80
0x3765fa70: 0022a8c8 0000022b 00958796 13093e80
Backtrace:
=>0 0x0095815d EntryPoint+0xffffffff() in forgedalliance (0x00000000)
0x0095815d EntryPoint+0xffffffff in forgedalliance: cmpl %edx,0x0(%eax)
Modules:
Module Address Debug info Name (145 modules)
PE 390000- 3d5000 Deferred xactengine2_9
PE 400000- 129023c Export forgedalliance
PE 1490000- 1838000 Deferred d3dx9_35
PE 10000000-1001c000 Deferred bugsplat
PE 38ae0000-38d47000 Deferred d3dx9_31
PE 62340000-62346000 Deferred uxtheme
PE 62800000-62804000 Deferred usp10
PE 639c0000-63a40000 Deferred winmm
PE 64b40000-64b46000 Deferred shcore
PE 65200000-6522d000 Deferred ole32
PE 65980000-65985000 Deferred version
PE 66640000-6664a000 Deferred msacm32
PE 68c40000-68c52000 Deferred shlwapi
PE 69240000-69380000 Deferred dxvk_config
PE 69900000-69904000 Deferred faultrep
PE 6a300000-6a30e000 Deferred oleaut32
PE 6a900000-6a919000 Deferred setupapi
PE 6b4c0000-6b4e3000 Deferred wininet
PE 6b8c0000-6b96d000 Deferred comdlg32
PE 6c0c0000-6c0c6000 Deferred imm32
PE 6d5c0000-6d5c5000 Deferred dsound
PE 6dbc0000-6dbcd000 Deferred mpr
PE 6e8c0000-6e916000 Deferred comctl32
PE 6fb40000-6fb45000 Deferred d3d9
PE 6fdc0000-6fdcd000 Deferred rpcrt4
PE 70340000-70345000 Deferred mmdevapi
PE 71340000-71354000 Deferred urlmon
PE 78500000-78506000 Deferred x3daudio1_2
ELF 7a800000-7a94c000 Deferred opengl32<elf>
-PE 7a840000-7a94c000 \ opengl32
PE 7ac00000-7ac14000 Deferred riched20
PE 7b000000-7b018000 Deferred kernelbase
ELF 7b400000-7b671000 Deferred kernel32<elf>
-PE 7b420000-7b671000 \ kernel32
ELF 7bc00000-7bef6000 Deferred ntdll<elf>
-PE 7bc30000-7bef6000 \ ntdll
ELF 7c000000-7c004000 Deferred <wine-loader>
ELF 7cc28000-7cc32000 Deferred libffi.so.7
ELF 7cc32000-7cc4c000 Deferred libresolv.so.2
ELF 7cc4c000-7cc54000 Deferred libkeyutils.so.1
ELF 7cc54000-7cce2000 Deferred libgmp.so.10
ELF 7cce2000-7cd2b000 Deferred libhogweed.so.6
ELF 7cd2b000-7cd76000 Deferred libnettle.so.8
ELF 7cd76000-7cd8d000 Deferred libtasn1.so.6
ELF 7cd8d000-7cf0f000 Deferred libunistring.so.2
ELF 7cf0f000-7cf31000 Deferred libidn2.so.0
ELF 7cf31000-7d086000 Deferred libp11-kit.so.0
ELF 7d086000-7d0d0000 Deferred libdbus-1.so.3
ELF 7d0d0000-7d0e0000 Deferred libkrb5support.so.0
ELF 7d0e0000-7d0e5000 Deferred libcom_err.so.2
ELF 7d0e5000-7d118000 Deferred libk5crypto.so.3
ELF 7d118000-7d1f4000 Deferred libkrb5.so.3
ELF 7d1f4000-7d41a000 Deferred libgnutls.so.30
ELF 7d41a000-7d430000 Deferred libavahi-client.so.3
ELF 7d430000-7d440000 Deferred libavahi-common.so.3
ELF 7d440000-7d49a000 Deferred libgssapi_krb5.so.2
ELF 7d49a000-7d53f000 Deferred libcups.so.2
ELF 7d5e5000-7d5ed000 Deferred libxfixes.so.3
ELF 7d5ed000-7d5fa000 Deferred libxcursor.so.1
ELF 7d5fa000-7d60e000 Deferred libxi.so.6
ELF 7d60e000-7d613000 Deferred libxcomposite.so.1
ELF 7d613000-7d620000 Deferred libxrandr.so.2
ELF 7d620000-7d62c000 Deferred libxrender.so.1
ELF 7d62c000-7d633000 Deferred libxxf86vm.so.1
ELF 7d633000-7d638000 Deferred libxinerama.so.1
ELF 7d638000-7d647000 Deferred libmd.so.0
ELF 7d647000-7d65f000 Deferred libbsd.so.0
ELF 7d65f000-7d666000 Deferred libxdmcp.so.6
ELF 7d666000-7d66b000 Deferred libxau.so.6
ELF 7d66b000-7d699000 Deferred libxcb.so.1
ELF 7d699000-7d7eb000 Deferred libx11.so.6
ELF 7d7eb000-7d801000 Deferred libxext.so.6
ELF 7d801000-7d8c0000 Deferred winex11<elf>
-PE 7d820000-7d8c0000 \ winex11
ELF 7da41000-7da4b000 Deferred libuuid.so.1
ELF 7da4b000-7da79000 Deferred libexpat.so.1
ELF 7da79000-7dac6000 Deferred libfontconfig.so.1
ELF 7dac6000-7dae9000 Deferred libbrotlicommon.so.1
ELF 7dae9000-7daf7000 Deferred libbrotlidec.so.1
ELF 7daf7000-7db15000 Deferred libz.so.1
ELF 7db15000-7db55000 Deferred libpng16.so.16
ELF 7db55000-7dc1c000 Deferred libfreetype.so.6
ELF 7dc1c000-7ddb0000 Deferred wined3d<elf>
-PE 7dc60000-7ddb0000 \ wined3d
ELF 7ddb0000-7decd000 Deferred ucrtbase<elf>
-PE 7dde0000-7decd000 \ ucrtbase
ELF 7decd000-7df44000 Deferred dbghelp<elf>
-PE 7dee0000-7df44000 \ dbghelp
ELF 7df44000-7df9b000 Deferred winspool<elf>
-PE 7df50000-7df9b000 \ winspool
ELF 7df9b000-7dfd6000 Deferred ws2_32<elf>
-PE 7dfb0000-7dfd6000 \ ws2_32
ELF 7dfd6000-7e9df000 Deferred shell32<elf>
-PE 7e000000-7e9df000 \ shell32
ELF 7e9df000-7ec0c000 Deferred user32<elf>
-PE 7ea10000-7ec0c000 \ user32
ELF 7ec0c000-7ece3000 Deferred msvcrt<elf>
-PE 7ec30000-7ece3000 \ msvcrt
ELF 7ece3000-7ee3c000 Deferred gdi32<elf>
-PE 7ed00000-7ee3c000 \ gdi32
ELF 7ee3c000-7ee7d000 Deferred sechost<elf>
-PE 7ee40000-7ee7d000 \ sechost
ELF 7ee7d000-7eee7000 Deferred advapi32<elf>
-PE 7ee90000-7eee7000 \ advapi32
ELF 7eee7000-7eefc000 Deferred libnss_files.so.2
ELF 7eefc000-7f000000 Deferred libm.so.6
ELF e3cb6000-e3ce3000 Deferred iphlpapi<elf>
-PE e3cc0000-e3ce3000 \ iphlpapi
ELF e5072000-e5088000 Deferred libdrm.so.2
ELF e5188000-e51a6000 Deferred libxcb-glx.so.0
ELF e51a6000-e6ee9000 Deferred libnvidia-glcore.so.510.68.02
ELF e6ee9000-e6f86000 Deferred libnvidia-glsi.so.510.68.02
ELF e6f86000-e7091000 Deferred libglx_nvidia.so.0
ELF e7091000-e70cd000 Deferred libglx.so.0
ELF e70cd000-e714a000 Deferred libgldispatch.so.0
ELF e714a000-e71b7000 Deferred libgl.so.1
ELF e71b7000-e71e1000 Deferred libpng12.so.0
ELF e71e1000-e7200000 Deferred libgcc_s.so.1
ELF f7519000-f751e000 Deferred libnvidia-tls.so.510.68.02
ELF f7525000-f755a000 Deferred libtirpc.so.3
ELF f755a000-f7582000 Deferred libgpg-error.so.0
ELF f7582000-f758e000 Deferred libogg.so.0
ELF f758e000-f75eb000 Deferred libopus.so.0
ELF f75eb000-f7678000 Deferred libvorbisenc.so.2
ELF f7678000-f76a4000 Deferred libvorbis.so.0
ELF f76a4000-f76df000 Deferred libflac.so.8
ELF f76df000-f76fa000 Deferred libnsl.so.2
ELF f76fa000-f77e1000 Deferred libgcrypt.so.20
ELF f77e1000-f7805000 Deferred liblz4.so.1
ELF f7805000-f78d6000 Deferred libzstd.so.1
ELF f78d6000-f7902000 Deferred liblzma.so.5
ELF f7902000-f790a000 Deferred libasyncns.so.0
ELF f790a000-f79a2000 Deferred libsndfile.so.1
ELF f79a2000-f79ae000 Deferred libwrap.so.0
ELF f79ae000-f7a6e000 Deferred libsystemd.so.0
ELF f7a6e000-f7afc000 Deferred libpulsecommon-14.2.so
ELF f7afc000-f7b5a000 Deferred libpulse.so.0
ELF f7b5a000-f7b8c000 Deferred winepulse<elf>
-PE f7b60000-f7b8c000 \ winepulse
ELF f7b90000-f7b9c000 Deferred librt.so.1
ELF f7b9e000-f7ba4000 Deferred libdl.so.2
ELF f7ba4000-f7d8d000 Deferred libc.so.6
ELF f7d8d000-f7daf000 Deferred libpthread.so.0
ELF f7daf000-f7f63000 Export libwine.so.1
ELF f7f65000-f7f91000 Deferred ld-linux.so.2
Threads:
process tid prio (all id:s are in hex)
00000020 steam.exe
000000a0 0
00000024 0
00000030 services.exe
00000090 0
00000060 0
00000044 0
00000038 0
00000034 0
0000003c plugplay.exe
00000054 0
00000050 0
00000040 0
00000058 winedevice.exe
00000084 0
00000080 0
0000007c 0
00000078 0
00000074 0
00000070 0
0000006c 0
00000068 0
00000064 0
0000005c 0
00000088 winedevice.exe
0000009c 0
00000098 0
00000094 0
0000008c 0
000000a4 explorer.exe
000000bc 0
000000b8 0
000000ac 0
000000a8 0
000000c8 (D) Z:<redacted path>.faforever\bin\ForgedAlliance.exe
00000134 0
00000128 -15
00000124 2
00000120 0 <==
00000118 2
00000114 0
00000110 -2
0000010c 1
00000108 1
00000104 15
00000100 0
000000fc 15
000000f8 0
000000f4 15
000000f0 0
000000ec 15
000000e8 0
000000e4 15
000000e0 0
000000d4 15
000000d0 0
000000cc 0
System information:
Wine build: wine-5.0-655-g2409bd1
Platform: i386 (WOW64)
Version: Windows 8
Host system: Linux
Host version: 5.10.0-19-amd64

Does anyone else experience this kind of problem? It is annoying 😞

Seems you ran out of memory. With what mods do you play?

A work of art is never finished, merely abandoned

Hello,

I am only using one mod: "Idle Engineers 2"

I have a total of 32GB of RAM, but I have to admit that I never monitored memory usage while playing.

EDIT : Wine being 32bits, the RAM limit should be around 3GB. The game requirements are of 512Mb memory, it seems to me very unlikely that some situations end up using 6 times the recommendation.

Hi,

did you find any solution ? I do expirienced the same issue !!! Exactly the same error about 30 min. Then all of my teammates crashed one after another. Totaly Strange.

Yeah I am playing on linux and i guess it has been roughly around the 30min mark that the game crashes. I would love to find out what the problem is but the client's console output hasn't been helpful and I can't see anything in the game logs either that would suggest a fix. I have 32 GB RAM as well, it's a brand new build using stock Debian 11 and NVIDIA binary driver. nothing special.

The game is a 32 bits application and it likely ran out of memory. Could you check how much the game uses in the task manager of linux?

If you need more memory - we've made significant improvements and managed to increase the ceiling from 3GBs to 4GBs on the development branch. You can choose FAFDevelop as you host a game, instead of the usual FAF game type on the left.

Note: the development branch is in the middle of a development iteration, and therefore it may have bugs of its own. You can report those on Discord or in this topic:

A work of art is never finished, merely abandoned