Interesting one. Load the save and mods. Immediately try `/c game.forces.enemy.kill_all_units()` and the game deadlocks. htop shows is using 100+% CPU. I waited as long as 5 minutes but it never unfroze.
Mods: https://dl.dropboxusercontent.com/u/49805/mods.zip
Save: https://dl.dropboxusercontent.com/u/498 ... _Units.zip
Specs:
OS: Ubuntu 15.10 Wily x64
CPU: i7-3770K
GPU: GTX 680 Superclocked, 2GB VRAM
RAM: 16GB 1333 MHZ
Storage: 1TB WD Black HDD
[0.12.29] Kill_all_units() command deadlocks the game
Re: [0.12.29] Kill_all_units() command deadlocks the game
It hangs because Misanthrope hangs in its on_tick. More specifically, it seems to hang on this loop in map.lua:
In any case, not our bug.
Code: Select all
while global.attack_plans_queue_idx > #global.attack_plans_queue do
global.attack_plans_queue_idx = global.attack_plans_queue_idx - #global.attack_plans_queue
end
Re: [0.12.29] Kill_all_units() command deadlocks the game
Thanks.Oxyd wrote:It hangs because Misanthrope hangs in its on_tick. More specifically, it seems to hang on this loop in map.lua:In any case, not our bug.Code: Select all
while global.attack_plans_queue_idx > #global.attack_plans_queue do global.attack_plans_queue_idx = global.attack_plans_queue_idx - #global.attack_plans_queue end