[A17r566 x64] Engine Error while Building

attached log and dump file below

crash.dmp (150.7 KB)
stonehearth.log (116.3 KB)

restarted same save, built again:

release-566 (x64)std::logic_error: 'invalid reference in native destination::get_reserved'stack traceback: [C]: in function 'get_reserved' ...th/ai/actions/teardown_structure_adjacent_action.lua:153: in function <...th/ai/actions/teardown_structure_adjacent_action.lua:149> [C]: ? [C]: ? [C]: ? [C]: in function 'run' ...tonehearth/services/server/tasks/run_task_action.lua:143: in function <...tonehearth/services/server/tasks/run_task_action.lua:141> [C]: ? [C]: ? [C]: ? [C]: ? [C]: in function 'run' stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525> [C]: in function 'xpcall' radiant/modules/common.lua:257: in function 'xpcall' stonehearth/components/ai/ai_component.lua:525: in function '_thread_main' stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246> [C]: in function 'xpcall' radiant/modules/common.lua:257: in function 'xpcall' stonehearth/services/server/threads/thread.lua:246: in function 'f' radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

release-566 (x64)(3196 Ike Addion) (stonehearth:teardown_structure_adjacent) bad frame transition to "stop" from "stopping"stack traceback: [C]: ? [C]: ? [C]: in function 'stop' ...tonehearth/services/server/tasks/run_task_action.lua:149: in function <...tonehearth/services/server/tasks/run_task_action.lua:147> [C]: ? [C]: ? [C]: in function 'stop' stonehearth/components/ai/ai_component.lua:581: in function <stonehearth/components/ai/ai_component.lua:525> [C]: in function 'xpcall' radiant/modules/common.lua:257: in function 'xpcall' stonehearth/components/ai/ai_component.lua:525: in function '_thread_main' stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246> [C]: in function 'xpcall' radiant/modules/common.lua:257: in function 'xpcall' stonehearth/services/server/threads/thread.lua:246: in function 'f' radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

(3196 Ike Addion) (stonehearth:teardown_structure_adjacent) bad frame transition to "destroy" from "stopping" stack traceback: [C]: ? [C]: ? [C]: in function 'destroy' ...tonehearth/services/server/tasks/run_task_action.lua:159: in function <...tonehearth/services/server/tasks/run_task_action.lua:154> [C]: in function 'fn' stonehearth/services/server/threads/thread.lua:322: in function 'private_msg' stonehearth/services/server/threads/thread.lua:515: in function '_dispatch_messages' stonehearth/services/server/threads/thread.lua:379: in function <stonehearth/services/server/threads/thread.lua:360> [C]: in function 'suspend' stonehearth/ai/actions/follow_path_action.lua:133: in function <stonehearth/ai/actions/follow_path_action.lua:41> [C]: ? ... [C]: in function 'run' stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525> [C]: in function 'xpcall' radiant/modules/common.lua:257: in function 'xpcall' stonehearth/components/ai/ai_component.lua:525: in function '_thread_main' stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246> [C]: in function 'xpcall' radiant/modules/common.lua:257: in function 'xpcall' stonehearth/services/server/threads/thread.lua:246: in function 'f' radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

1 Like

I got this when I started a new game, built the standard dining room, then when that was finished I built the standard shared sleeping quarters.
Shortly after I got my first extra Hearthling I got this message.


release-566 (x64)
std::logic_error: 'invalid reference in native destination::get_reserved'
stack traceback:
	[C]: in function 'get_reserved'
	...th/ai/actions/teardown_structure_adjacent_action.lua:153: in function <...th/ai/actions/teardown_structure_adjacent_action.lua:149>
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	...tonehearth/services/server/tasks/run_task_action.lua:143: in function <...tonehearth/services/server/tasks/run_task_action.lua:141>
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: ?
	[C]: in function 'run'
	stonehearth/components/ai/ai_component.lua:541: in function <stonehearth/components/ai/ai_component.lua:525>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:525: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:246: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

release-566 (x64)
(23326 Trevlon Brightwell) (stonehearth:teardown_structure_adjacent) bad frame transition to "stop" from "stopping"
stack traceback:
	[C]: ?
	[C]: ?
	[C]: in function 'stop'
	...tonehearth/services/server/tasks/run_task_action.lua:149: in function <...tonehearth/services/server/tasks/run_task_action.lua:147>
	[C]: ?
	[C]: ?
	[C]: in function 'stop'
	stonehearth/components/ai/ai_component.lua:581: in function <stonehearth/components/ai/ai_component.lua:525>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/components/ai/ai_component.lua:525: in function '_thread_main'
	stonehearth/services/server/threads/thread.lua:249: in function <stonehearth/services/server/threads/thread.lua:246>
	[C]: in function 'xpcall'
	radiant/modules/common.lua:257: in function 'xpcall'
	stonehearth/services/server/threads/thread.lua:246: in function 'f'
	radiant/lib/env.lua:15: in function <radiant/lib/env.lua:14>

stonehearth.log (67.4 KB)

Thanks for reporting. If you have any save where this is happening, it’d be useful for @not_owen_wilson to investigate this bug when they return on Wednesday. :slight_smile:

It’s a bit hard since it doesn’t seem to reproduce.

Once I press for it to be gone I don’t get it again.

So to produce a save where it will happen but hasn’t yet is problematic :slight_smile:

I’ll try though

1467501172525.zip (5.1 MB)

1467506240912.zip (5.6 MB)
wall.zip (2.1 KB)

2 Likes