Game freezes on loading a save file

Summary:
Loading into a particular save file causes the game to freeze

Steps to reproduce:
Unknown

Expected Results:
The game to continue upon loading

Actual Results:
An engine error pops up, and the game stops as if the game is always on pause

Notes:
N/A

Attachments:
release-877 (x64)[M]
:unwind_next_frame_2:radiant_policy_rethrow
stack traceback:
[C]: ?
[C]: ?
[C]: in function ‘set_think_output’
stonehearth/ai/actions/wait_until_reachable.lua:23: in function <stonehearth/ai/actions/wait_until_reachable.lua:18>
[C]: ?
[C]: in function ‘suspend’
stonehearth/ai/actions/run_effect_action.lua:100: in function <stonehearth/ai/actions/run_effect_action.lua:47>
[C]: ?
[C]: ?
[C]: in function ‘execute’
stonehearth/ai/actions/idle_breathe_action.lua:9: in function <stonehearth/ai/actions/idle_breathe_action.lua:8>

stonehearth/ai/actions/idle_top_action.lua:15: in function <stonehearth/ai/actions/idle_top_action.lua:9>
[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/commons.lua:67: in function ‘xpcall’
stonehearth/components/ai/ai_component.lua:525: in function <stonehearth/components/ai/ai_component.lua:521>
[C]: ?
[C]: ?

release-877 (x64)[M]
c++ exception: lua runtime error
stack traceback:

release-877 (x64)[M]
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:2173
Found an unwind frame while changing state.
Culprit:
frame: stonehearth:top
unit: solo basic needs
task_group: solo basic needs
frame: task_group:1696
stack traceback:
[C]: ?
[C]: in function ‘start_thinking’
…nehearth/services/server/tasks/task_group_action.lua:96: in function <…nehearth/services/server/tasks/task_group_action.lua:95>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:63: in function ‘_update’
radiant/server.lua:66: in function <radiant/server.lua:63>

release-877 (x64)[M]
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:2173
Found an unwind frame while changing state.
Culprit:
frame: stonehearth:top
unit: combat dispatcher
compound: combat dispatcher
frame: stonehearth:combat
unit: solo combat unit control
task_group: solo combat unit control
frame: task_group:1702
stack traceback:
[C]: ?
[C]: in function ‘start_thinking’
…nehearth/services/server/tasks/task_group_action.lua:96: in function <…nehearth/services/server/tasks/task_group_action.lua:95>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:63: in function ‘_update’
radiant/server.lua:66: in function <radiant/server.lua:63>

release-877 (x64)[M]
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:2173
Found an unwind frame while changing state.
Culprit:
frame: stonehearth:top
unit: combat dispatcher
compound: combat dispatcher
frame: stonehearth:combat
unit: combat idle dispatcher
compound: combat idle dispatcher
frame: stonehearth:combat:get_primary_target
stack traceback:
[C]: ?
[C]: in function ‘set_think_output’
…arth/ai/actions/combat/get_primary_target_action.lua:49: in function ‘_update_think_output’
…arth/ai/actions/combat/get_primary_target_action.lua:19: in function <…arth/ai/actions/combat/get_primary_target_action.lua:18>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:63: in function ‘_update’
radiant/server.lua:66: in function <radiant/server.lua:63>

release-877 (x64)[M]
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:2173
Found an unwind frame while changing state.
Culprit:
frame: stonehearth:top
unit: combat dispatcher
compound: combat dispatcher
frame: stonehearth:combat
unit: combat party
task_group: combat party
frame: task_group:1695
stack traceback:
[C]: ?
[C]: in function ‘start_thinking’
…nehearth/services/server/tasks/task_group_action.lua:96: in function <…nehearth/services/server/tasks/task_group_action.lua:95>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:63: in function ‘_update’
radiant/server.lua:66: in function <radiant/server.lua:63>

release-877 (x64)[M]
CHECK failed: C:\rb\ihome\root\SH-OB0-BUILD\stonehearth\source\lib\lua\ai\execution_frame.cpp:2173
Found an unwind frame while changing state.
Culprit:
frame: stonehearth:top
unit: human unit control dispatcher
compound: human unit control dispatcher
frame: stonehearth:unit_control
unit: solo unit control
task_group: solo unit control
frame: task_group:1701
stack traceback:
[C]: ?
[C]: in function ‘start_thinking’
…nehearth/services/server/tasks/task_group_action.lua:96: in function <…nehearth/services/server/tasks/task_group_action.lua:95>
[C]: ?
[C]: in function ‘trigger’
radiant/modules/events.lua:63: in function ‘_update’
radiant/server.lua:66: in function <radiant/server.lua:63>

Version Number and Mods in use:
Beta 877
Better Storage
Smart Crafter

System Information:
Windows 10

Can you upload the save on which this happens? This particular bug has been very hard to catch red handed (red-mandibled?).

2 Likes

Save file.zip (6.8 MB)

3 Likes

Thank you! This was the top bug that we saw reported in our automatic error reporting tool but couldn’t reproduce, and thanks to your save, it is fixed for the next release.

5 Likes

No problem, and thanks for the great contents~

By the way, is there a way to fix my save from its current state? This is the furthest I’ve gone in my playthrough where I don’t use the baskets to cause the bug with not harvesting, and it’s kind of frustrating to suddenly stop.

Your save works correctly in the next release, which I’m hoping to push later today.

2 Likes