Crash during loading lobby

When i start game on non beta branch loading fails with debugger window:

Unhandled exception:

Premature EOF

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game_15573058.log /gpgnet 127.0.0.1:21621 /mean 1203.18 /deviation 82.5642 /savereplay gpgnet://127.0.0.1:63493/15573058/Olezha1.SCFAreplay /country BY /clan PRO /numgames 455

Callstack:
Unknown symbol (address 0x008d462c)

Last 100 lines of log...

debug: Wavebank prepared: bbdc3f8
debug: SND: Loaded WaveBank 'cybranselect' at bbdc3f8
info: IsStreamingWaveBank("/sounds/explosions.xwb") => false
debug: Wavebank prepared: bbdc2c0
debug: SND: Loaded WaveBank 'explosions' at bbdc2c0
info: IsStreamingWaveBank("/sounds/explosionsstream.xwb") => true
debug: SND: Loaded WaveBank 'explosionsstream' at bbb8148
info: IsStreamingWaveBank("/sounds/fmv_bg.xwb") => true
debug: SND: Loaded WaveBank 'fmv_bg' at bbb82b0
info: IsStreamingWaveBank("/sounds/impacts.xwb") => false
debug: Wavebank prepared: bbdc188
debug: SND: Loaded WaveBank 'impacts' at bbdc188
info: IsStreamingWaveBank("/sounds/interface.xwb") => false
debug: Wavebank prepared: bbdc050
debug: SND: Loaded WaveBank 'interface' at bbdc050
info: IsStreamingWaveBank("/sounds/marlossoundsuef.xwb") => false
debug: Wavebank prepared: bbdbf18
debug: SND: Loaded WaveBank 'marlossoundsuef' at bbdbf18
info: IsStreamingWaveBank("/sounds/music.xwb") => true
debug: SND: Loaded WaveBank 'music' at bbb8418
info: IsStreamingWaveBank("/sounds/oof.xwb") => false
debug: Wavebank prepared: bbdbde0
debug: SND: Loaded WaveBank 'oof' at bbdbde0
info: IsStreamingWaveBank("/sounds/op_briefing.xwb") => true
debug: SND: Loaded WaveBank 'op_briefing' at bbb8580
info: IsStreamingWaveBank("/sounds/seraphimselect.xwb") => false
debug: Wavebank prepared: bbdbca8
debug: SND: Loaded WaveBank 'seraphimselect' at bbdbca8
info: IsStreamingWaveBank("/sounds/tm_aeonweaponsounds.xwb") => true
debug: SND: Loaded WaveBank 'tm_aeonweaponsounds' at bbb86e8
info: IsStreamingWaveBank("/sounds/tm_aircraftsounds.xwb") => false
debug: Wavebank prepared: bbdbb70
debug: SND: Loaded WaveBank 'tm_aircraftsounds' at bbdbb70
info: IsStreamingWaveBank("/sounds/tm_cybranweaponsounds.xwb") => false
debug: Wavebank prepared: bbdba38
debug: SND: Loaded WaveBank 'tm_cybranweaponsounds' at bbdba38
debug: MEM: 697793603 bytes SND
warning: Premature EOF
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/usermusic.lua'
warning: stack traceback:
warning: [C]: in function error' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...a\faforever\gamedata\lua.nx2\lua\options\options.lua(52): in main chunk warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(14): in function GetOptionsData'
warning: ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(51): in function GetCurrent' warning: ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(181): in function <...liance\gamedata\lua.scd\lua\options\optionslogic.lua:179> warning: Error running '/lua/options/optionslogic.lua':Apply ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/options/options.lua' stack traceback: [C]: in function error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import' ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
...liance\gamedata\lua.scd\lua\options\optionslogic.lua(14): in function GetOptionsData' ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(51): in function GetCurrent'
...liance\gamedata\lua.scd\lua\options\optionslogic.lua(181): in function <...liance\gamedata\lua.scd\lua\options\optionslogic.lua:179>
info: MD5 of global settings: d2a23d6464d3fd77956e7648c43b5077
info: IsStreamingWaveBank("/sounds/aeonselect.xwb") => false
debug: Wavebank prepared: bbdba38
debug: SND: Loaded WaveBank 'aeonselect' at bbdba38
info: IsStreamingWaveBank("/sounds/allah akbar.xwb") => false
debug: Wavebank prepared: bbdbb70
debug: SND: Loaded WaveBank 'allah akbar' at bbdbb70
info: IsStreamingWaveBank("/sounds/ambienttest.xwb") => false
debug: Wavebank prepared: bbdbca8
debug: SND: Loaded WaveBank 'ambienttest' at bbdbca8
info: IsStreamingWaveBank("/sounds/cybranselect.xwb") => false
debug: Wavebank prepared: bbdbde0
debug: SND: Loaded WaveBank 'cybranselect' at bbdbde0
info: IsStreamingWaveBank("/sounds/explosions.xwb") => false
debug: Wavebank prepared: bbdbf18
debug: SND: Loaded WaveBank 'explosions' at bbdbf18
info: IsStreamingWaveBank("/sounds/explosionsstream.xwb") => true
debug: SND: Loaded WaveBank 'explosionsstream' at bbb86e8
info: IsStreamingWaveBank("/sounds/fmv_bg.xwb") => true
debug: SND: Loaded WaveBank 'fmv_bg' at bbb8580
info: IsStreamingWaveBank("/sounds/impacts.xwb") => false
debug: Wavebank prepared: bbdc050
debug: SND: Loaded WaveBank 'impacts' at bbdc050
info: IsStreamingWaveBank("/sounds/interface.xwb") => false
debug: Wavebank prepared: bbdc188
debug: SND: Loaded WaveBank 'interface' at bbdc188
info: IsStreamingWaveBank("/sounds/marlossoundsuef.xwb") => false
debug: Wavebank prepared: bbdc2c0
debug: SND: Loaded WaveBank 'marlossoundsuef' at bbdc2c0
info: IsStreamingWaveBank("/sounds/music.xwb") => true
debug: SND: Loaded WaveBank 'music' at bbb8418
info: IsStreamingWaveBank("/sounds/oof.xwb") => false
debug: Wavebank prepared: bbdc3f8
debug: SND: Loaded WaveBank 'oof' at bbdc3f8
info: IsStreamingWaveBank("/sounds/op_briefing.xwb") => true
debug: SND: Loaded WaveBank 'op_briefing' at bbb82b0
info: IsStreamingWaveBank("/sounds/seraphimselect.xwb") => false
debug: Wavebank prepared: bbdc530
debug: SND: Loaded WaveBank 'seraphimselect' at bbdc530
info: IsStreamingWaveBank("/sounds/tm_aeonweaponsounds.xwb") => true
debug: SND: Loaded WaveBank 'tm_aeonweaponsounds' at bbb8148
info: IsStreamingWaveBank("/sounds/tm_aircraftsounds.xwb") => false
debug: Wavebank prepared: bbdc668
debug: SND: Loaded WaveBank 'tm_aircraftsounds' at bbdc668
info: IsStreamingWaveBank("/sounds/tm_cybranweaponsounds.xwb") => false
debug: Wavebank prepared: bbdc7a0
debug: SND: Loaded WaveBank 'tm_cybranweaponsounds' at bbdc7a0
debug: MEM: -2002985176 bytes SND

game_15573058.log

This particular bit:

warning: Premature EOF
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/usermusic.lua'
warning: stack traceback:
warning: [C]: in function error' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...a\faforever\gamedata\lua.nx2\lua\options\options.lua(52): in main chunk warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(14): in function GetOptionsData'
warning: ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(51): in function GetCurrent' warning: ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(181): in function <...liance\gamedata\lua.scd\lua\options\optionslogic.lua:179> warning: Error running '/lua/options/optionslogic.lua':Apply ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/options/options.lua' stack traceback: [C]: in function error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import' ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
...liance\gamedata\lua.scd\lua\options\optionslogic.lua(14): in function GetOptionsData' ...liance\gamedata\lua.scd\lua\options\optionslogic.lua(51): in function GetCurrent'
...liance\gamedata\lua.scd\lua\options\optionslogic.lua(181): in function <...liance\gamedata\lua.scd\lua\options\optionslogic.lua:179>

Very strange - try without UI mods and if that doesn't work, remove the game data folder from C:\ProgramData\FAForever\gamedata and let it redownload everything. it appears some of your files are corrupt.

A work of art is never finished, merely abandoned

As log shows,

debug: SND: Loaded WaveBank 'tm_cybranweaponsounds' at bbdba38
debug: MEM: 697793603 bytes SND
warning: Premature EOF

Total Mayhem (not light) is corrupted, without him lobby starts.

P.S.: Total Mayhem must be deleted from mod directory.

Similar issue for me (even after deleting and redownloading game data). This has been a constant thing since my SSD died 2 months ago and I've tried to reinstall FAF a bunch of times, every time crashing. First issue was Java, now this, any advice?

Unhandled exception:

state->m_rootState == m_state

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\ProgramData\FAForever\logs\game_15645984.log /gpgnet 127.0.0.1:7854 /mean 1332.54 /deviation 107.437 /savereplay gpgnet://127.0.0.1:56039/15645984/Interstellafella.SCFAreplay /country GB /numgames 172

Callstack:
Unknown symbol (address 0x008d462c)

Last 100 lines of log...

warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1050): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83>
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/common/units.lua'
warning: stack traceback:
warning: [C]: in function error' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1050): in main chunk warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83> warning: Error running '/lua/ui/uimain.lua:StartGameUI': ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/gamemain.lua' stack traceback: [C]: in function error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import' ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua(85): in function <...r forged alliance\gamedata\lua.scd\lua\ui\uimain.lua:83>
debug: Loading module '\000/lua/usercamera.lua\000'
debug: Loading module '\000/lua/ui/game/missiontext.lua\000'
debug: Loading module '\000/lua/ui/game/gamemain.lua\000'
info: Hooked /lua/ui/game/gamemain.lua with /mods/idleengineers/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/advancedreclaiminfo/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua
info: Hooked /lua/ui/game/gamemain.lua with /mods/smart reclaim/hook/lua/ui/game/gamemain.lua
debug: Loading module '\000/mods/common/units.lua\000'
warning: Unable to find file /mods/common/units.lua
warning: stack traceback:
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1050): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...forever\gamedata\lua.nx2\lua\ui\game\missiontext.lua(16): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(158): in function OnSync'
warning: string "OnSync()": in main chunk
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/common/units.lua'
warning: stack traceback:
warning: [C]: in function error' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1050): in main chunk warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...forever\gamedata\lua.nx2\lua\ui\game\missiontext.lua(16): in main chunk warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(158): in function OnSync' warning: [string "OnSync()"](1): in main chunk warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/ui/game/gamemain.lua' warning: stack traceback: warning: [C]: in function error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...forever\gamedata\lua.nx2\lua\ui\game\missiontext.lua(16): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(158): in function OnSync'
warning: string "OnSync()": in main chunk
warning: Error running lua command: ...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(158): Error importing '/lua/ui/game/missiontext.lua'
stack traceback:
[C]: in function error' ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import'
...gramdata\faforever\gamedata\lua.nx2\lua\usersync.lua(158): in function OnSync' [string "OnSync()"](1): in main chunk debug: Loading module '\000/lua/ui/game/gamemain.lua\000' info: Hooked /lua/ui/game/gamemain.lua with /mods/idleengineers/hook/lua/ui/game/gamemain.lua info: Hooked /lua/ui/game/gamemain.lua with /mods/advancedreclaiminfo/hook/lua/ui/game/gamemain.lua info: Hooked /lua/ui/game/gamemain.lua with /mods/em/hook/lua/ui/game/gamemain.lua info: Hooked /lua/ui/game/gamemain.lua with /mods/smart reclaim/hook/lua/ui/game/gamemain.lua debug: Loading module '\000/mods/common/units.lua\000' warning: Unable to find file /mods/common/units.lua warning: stack traceback: warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1050): in main chunk warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/mods/common/units.lua'
warning: stack traceback:
warning: [C]: in function error' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import' warning: ...\faforever\gamedata\lua.nx2\lua\ui\game\gamemain.lua(1050): in main chunk warning: [C]: in function doscript'
warning: [C]: in function pcall' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import'
warning: Error importing /lua/ui/game/gamemain.lua:
Error importing '/lua/ui/game/gamemain.lua'
stack traceback:
[C]: in function error' ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import'
warning: Error running '/lua/ui/game/gamemain.lua:OnBeat': attempt to index a nil value
stack traceback:

@Interstellafella it states it is missing files:

  • warning: Unable to find file /mods/common/units.lua

Do you have the common mod tools installed? It appears one of your mods depend on it and it can't find it.

dd087c43-a6ed-4476-91ec-463db707272c-image.png

A work of art is never finished, merely abandoned