Exception Access Violation

0

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

Program : C:\ProgramData\FAForever\bin\ForgedAlliance.exe
Cmd line arguments : /init init.lua /nobugreport /log C:\Users\teral\AppData\Roaming\Forged Alliance Forever\logs\game_17797503.log /gpgnet 127.0.0.1:31676 /mean 1390.0 /deviation 378.313 /savereplay gpgnet://127.0.0.1:50946/17797503/Teralitha.SCFAreplay /country US /numgames 4 /numgames 4

Callstack:
Unknown symbol (address 0x006cbc63)
Unknown symbol (address 0x006cb8f0)
Unknown symbol (address 0x1babcf3b)

Last 100 lines of log...

info: iCurBrain=8; ArmyIndex=8; M27StartPositionNumber=8
info: iCurBrain=9; ArmyIndex=9; M27StartPositionNumber=9
info: iCurBrain=10; ArmyIndex=10; M27StartPositionNumber=10
info: iCurBrain=11; ArmyIndex=11; M27StartPositionNumber=11
info: iCurBrain=12; ArmyIndex=12; M27StartPositionNumber=12
info: iCurBrain=13; ArmyIndex=13; M27StartPositionNumber=17
info: iCurBrain=14; ArmyIndex=14; M27StartPositionNumber=14
warning: false\000M27ERROR Count=6: GameTime 2563: aiBrain not specified - update function call
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(892): in function GetACU'
warning: ...er forged alliance\mods\m27ai\lua\ai\m27overseer.lua(7804): in function <...er forged alliance\mods\m27ai\lua\ai\m27overseer.lua:7557>
warning: false\000M27ERROR Count=1: GameTime 2565: Cant find any ACUs that we own for brain5, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
info: Warning - no valid units in tNewUnits
warning: false\000M27ERROR Count=2: GameTime 2566: Cant find any ACUs that we own for brain5, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
warning: false\000M27ERROR Count=3: GameTime 2567: Cant find any ACUs that we own for brain5, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
info: Warning - no valid units in tNewUnits
warning: false\000M27ERROR Count=6: GameTime 2570: Cant find any ACUs that we own for brain5, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
warning: false\000M27ERROR Count=9: GameTime 2573: Cant find any ACUs that we own for brain5, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
info: Warning - no valid units in tNewUnits
info: Warning - no valid units in tNewUnits
info: CWldSession::DoBeat() unknown entity id (0x2ff0002d) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00086) supplied in a pose update.
info: Warning - no valid units in tNewUnits
info: Warning - no valid units in tNewUnits
debug: Current gametime: 00:43:00
debug: Gametime: 00:43:00 --- Unit: 1777 --- Platoon: 180 --- FPS: 135 --- Memory: 829.3M / 909.3M --- Speed: -2 / -2 --- SimSpeed: 33% ( 60 Game = 177 System Seconds )
debug: Entity: 11250 --- Prop: 02279 --- CScriptObject: 26643 --- CTask: 19330 --- CTaskThread: 18028 --- CLuaTask: 01100 --- CDecalHandle: 03600 --- ReconBlip: 01805
warning: false\000M27ERROR Count=18: GameTime 2582: Cant find any ACUs that we own for brain5, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
warning: false\000M27ERROR Count=81: GameTime 2586: Cant find any ACUs that we own for brain7, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
warning: false\000M27ERROR Count=1: GameTime 2589: Couldnt find any mexes along the line from our base to enemy base, so will pick enemy start position as the patrol point
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...der forged alliance\mods\m27ai\lua\ai\m27mapinfo.lua(2691): in function GetMexPatrolLocations'
warning: ...d alliance\mods\m27ai\lua\ai\m27platoonutilities.lua(8403): in function GetNewMovementPath' warning: ...d alliance\mods\m27ai\lua\ai\m27platoonutilities.lua(11444): in function ProcessPlatoonAction'
warning: ...d alliance\mods\m27ai\lua\ai\m27platoonutilities.lua(12850): in function <...d alliance\mods\m27ai\lua\ai\m27platoonutilities.lua:12841>
warning: false\000M27ERROR Count=27: GameTime 2591: Cant find any ACUs that we own for brain5, and in assassination game mode, so will treat us as being defeated
warning: stack traceback:
warning: [C]: in function assert' warning: [C]: in function pcall'
warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(77): in function ErrorHandler' warning: ...nder forged alliance\mods\m27ai\lua\m27utilities.lua(902): in function GetACU'
warning: ...mander forged alliance\mods\m27ai\lua\ai\m27team.lua(198): in function <...mander forged alliance\mods\m27ai\lua\ai\m27team.lua:162>
info: Warning - no valid units in tNewUnits
info: CWldSession::DoBeat() unknown entity id (0x2ff00097) supplied in a pose update.
info: Warning - no valid units in tNewUnits
info: Warning - no valid units in tNewUnits
info: Warning - no valid units in tNewUnits
info: Warning - no valid units in tNewUnits
debug: Current gametime: 00:43:30
info: CWldSession::DoBeat() unknown entity id (0x2ff00268) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00269) supplied in a pose update.
info: CWldSession::DoBeat() unknown entity id (0x2ff00272) supplied in a pose update.

0

Thanks for the report - this looks like an error with M27AI, I'll have a look through the replay to see if the cause can be fixed for the next release of the mod.

M27AI developer; Devlog and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v56-devlog

1

@teralitha Latest version is up which should fix the above (as well as making a few other improvements on that map when norush is enabled)

M27AI developer; Devlog and more general AI development guide:
https://forum.faforever.com/topic/2373/ai-development-guide-and-m27ai-v56-devlog