Total lockup, 120M logfile

no buildings, all classes hired except a herder. game was running ok apart from specialists forgetting their assigned job.
(a developer playing the game 1 x will encounter this problem, and with debug available to him this must be resolved no ? it’s been ongoing forever afaik.)

anyways,

UI froze, the game just went on. blacksmith smithing, farmer farming, etc… but no working UI. alt-tab, forget it. ctrl-alt-dlt, slowwwww, ultimately got taskmanager and was able to kill the process, but it wouldn’t kill lol. restarted pc to get rid of it.

then found a 120M log filled with :

2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | – Lua Error End -------------------------------
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | – Script Error (lua) Begin -------------------------------
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: std::logic_error: 'invalid reference in native get_id’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stack traceback:
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | [C]: in function 'error’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:362: in function 'run’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/services/server/ai/compound_action.luac:133: in function 'call_fn’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_unit_v2.luac:22: in function '_call_run’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_unit_v2.luac:198: in function '_run_from_started’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_unit_v2.luac:141: in function '_run’
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:456: in function <stonehearth/components/ai/execution_frame.luac:456>
2015-Sep-25 20:20:25.700328 | server | 0 | lua.code | [C]: in function 'xpcall’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | …
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:129: in function '_run’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | [C]: in function 'xpcall’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:362: in function 'run’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/ai_component.luac:182: in function '_thread_main’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | [C]: in function 'xpcall’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/services/server/threads/thread.luac:89: in function 'f’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | – Lua Error End -------------------------------
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | – Script Error (lua) Begin -------------------------------
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: stonehearth/components/ai/execution_frame.luac:688: std::logic_error: 'invalid reference in native get_id’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stack traceback:
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:672: in function <stonehearth/components/ai/execution_frame.luac:665>
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | [C]: in function 'error’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:688: in function '_exit_protected_call’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:683: in function '_protected_call’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:456: in function '_run_from_started’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:129: in function '_run’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:360: in function <stonehearth/components/ai/execution_frame.luac:352>
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | [C]: in function 'xpcall’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:674: in function '_protected_call’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/execution_frame.luac:362: in function 'run’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/components/ai/ai_component.luac:182: in function '_thread_main’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | [C]: in function 'xpcall’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | stonehearth/services/server/threads/thread.luac:89: in function 'f’
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>
2015-Sep-25 20:20:25.701328 | server | 0 | lua.code | – Lua Error End -------------------------------
2015-Sep-25 20:20:25.709333 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:6553 ack:6544)

enjoy!