Engine error on loading saved game

Hello @Albert, @sdee, @yshan and @jomaxro

Found an engine error what is making the game unplayable. The hearthlings are frozen and doing nothing anymore.
And it doesn’t look like there is a pattern, because in every savegame I had, it was all the sudden.
I have no experience in Lua, but it seem to look like an AI error, when the hearthlings are about to pick a task.

Additional information:
Developer build 2650
User id: aba7b4f8-7381-11e5-ab3f-d4bed9fdc342
Savegame: Dropbox - Error

Complete stack trace
Page 1:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to should_start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:16798 place plantable item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>

[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 2:
develop-2650 (x64)stonehearthstack traceback:
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>
[C]: in function ‘suspend’
stonehearth/ai/actions/follow_path_action.luac:29: in function <stonehearth/ai/actions/follow_path_action.luac:7>
[C]: ?
[C]: ?

[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 3:
develop-2650 (x64)bad frame trasition from “stop” from "starting_thinking"stack traceback:
[C]: ?
[C]: in function ‘stop’
stonehearth/components/ai/ai_component.luac:194: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 4:
develop-2650 (x64)invalid initial state “starting_thinking” in runstack traceback:
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 5:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:17462 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 6:
develop-2650 (x64)bad frame trasition from “add_action” from "starting_thinking"stack traceback:
stonehearth/services/server/threads/thread.luac:87: in function <stonehearth/services/server/threads/thread.luac:87>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function ‘suspend’
stonehearth/services/server/threads/thread.luac:146: in function ‘sleep_realtime’
stonehearth/components/ai/ai_component.luac:191: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 7:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:18518 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘fn’
stonehearth/services/server/threads/thread.luac:109: in function ‘private_msg’
stonehearth/services/server/threads/thread.luac:168: in function ‘_dispatch_messages’
stonehearth/services/server/threads/thread.luac:128: in function <stonehearth/services/server/threads/thread.luac:123>

[C]: in function ‘run’
stonehearth/services/server/ai/compound_action.luac:133: in function <stonehearth/services/server/ai/compound_action.luac:129>
[C]: ?
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 8:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:19520 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 9:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:20198 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 10:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:20243 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 11:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:21005 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>

Page 12:
develop-2650 (x64)stonehearth/services/server/ai/ai_service.luac:116: error in args passed to start_thinking: missing argument “ghost” of type “userdata: 000000E1098E9748” in “[u:22231 place an item]”.stack traceback:
[C]: ?
[C]: in function ‘error’
stonehearth/services/server/ai/ai_service.luac:116: in function ‘report_error’
stonehearth/services/server/ai/ai_service.luac:148: in function <stonehearth/services/server/ai/ai_service.luac:103>
[C]: in function ‘start_thinking’
…onehearth/services/server/tasks/run_task_action.luac:26: in function ‘_start_stop_thinking’
…onehearth/services/server/tasks/run_task_action.luac:50: in function <…onehearth/services/server/tasks/run_task_action.luac:48>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: in function ‘start_thinking’
stonehearth/services/server/ai/compound_action.luac:86: in function ‘_start_thinking_on_frame’
stonehearth/services/server/ai/compound_action.luac:74: in function <stonehearth/services/server/ai/compound_action.luac:61>
[C]: ?
[C]: in function ‘run’
stonehearth/components/ai/ai_component.luac:190: in function ‘_thread_main’
stonehearth/services/server/threads/thread.luac:90: in function <stonehearth/services/server/threads/thread.luac:89>
[C]: in function ‘xpcall’
stonehearth/services/server/threads/thread.luac:89: in function ‘f’
radiant/lib/env.luac:8: in function <radiant/lib/env.luac:8>