EDIT : Maybe, the sticky posts should suggest to broaden the search using the search bar ? I read the known bug topic and two pages of forum before posting, but after having the genius idea to use search, I still feel like a moron :p
-------------------
Not the first time I get this, and seems fairly easy to reproduce.
In phobos base entry, I sometimes hide behind a tree, so that a former wastes all his ammo shooting at it.
Once out of bullets, he just runs away, and discovers the "There's no escape, just stand and fight like a man !" signs bordering the level.
At that point, sometimes, it enters an infinite loop (which the game already handles, but the error is here).
So, to reproduce, just start a new ITYTD game, wait for the first former to empty his gun on you, and let him run. (Just re-tested, and reproduced at first try)
Btw, here's the logged error :
----------------------------------------------------------------------
Timestamp : 01/12/2012 21:07:44
Error level : ERROR
Message : Lua hook OnAction caught ELuaStateException!
Call path : beings[former].OnAction
Call params : ()
Error message : Lua error : lua\core.lua:960: AI : former_ai entered infinite loop!
----------------------------------------------------------------------