First Hearthling in Personnel List Starves to Death

Summary:
The hearthling whose name appears at the top of my personnel list becomes idle, but not entirely unresponsive. Nothing I tried was able to force the hearthling to eat, so eventually the hearthling dies of starvation. With that hearthling off the list, a new hearthling moves to the top spot and within a day or two also goes idle and mostly unresponsive.

Steps to reproduce:
Create a game in Peaceful mode. I did not notice the bug until I had failed at least one Daily Update.
The hearthling who is starving can be ā€œwoken upā€ by sounding an alarm; he will then execute any pending job re-assignment (esp. to or from footman) but once the alarm is de-activated he will go idle in the spot he moved to when the alarm was sounded. Some of the tasks I did before this started were:

  • Build a ladder
  • Carve a 4-voxel-wide stairway into a rock face
  • Build four farm plots size 8x4
  • Accidentally harvest a bunny statue (did I anger the bunny gods?)
  • Decline first offered trade
  • Accept first offered bundle
  • Fail first Daily Update tally

Expected Results:
Hearthlings will continue to thrive and accept new tasks as long as food is available, regardless of their position in the personnel list.

Actual Results:
Hearthling at top of personnel list does not accept new tasks, and regardless of quantity of available food, starves instead of thriving.

Notes:
I will work to find a stack trace because I was getting intermittent errors during the game, but Iā€™d like to explicitly call out that the errors Iā€™m getting (a) do not result in hearthlings stuck in the floor, (b) do not result in a broken citizens tab, and Ā© do not appear to be caused by errors in ā€˜time_trackerā€™. The lua call I noticed was in xp_call. Like I said, Iā€™ll try to get a screenshot and append it here.

Versions and Mods:
Alpha 11 dev 2494

System Information:
Win7 Ultimate x64 running on an Intel Core i5-2500K with 8GB of RAM. Graphics are an nVidia GeForce GTX 960 with 4GB of RAM, running driver version 9.18.13.4752 at 1920x1200. Hard drive for my Steam folder is an SSD.

Error Log Excerpts

2015-Jul-23 17:43:57.202126 | client |  1 |                     renderer.mob | failed to set transform on node 39913.
2015-Jul-23 17:43:57.212126 | client |  1 |                     renderer.mob | failed to set transform on node 39913.
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code | -- Script Error (lua) Begin ------------------------------- 
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    stonehearth/components/ai/execution_unit_v2.luac:59: bad unit transition "start_thinking" from  "finished"
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    stack traceback:
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/modules/common.luac:32: in function <radiant/modules/common.luac:32>
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	[C]: in function 'error'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	stonehearth/components/ai/execution_unit_v2.luac:59: in function '_unknown_transition'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	stonehearth/components/ai/execution_unit_v2.luac:84: in function '_start_thinking'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	stonehearth/components/ai/execution_frame.luac:212: in function '_do_slow_thinking'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	stonehearth/components/ai/execution_frame.luac:270: in function '_fn'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/controllers/timer_controller.luac:28: in function 'fire'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/controllers/time_tracker_controller.luac:9: in function <radiant/controllers/time_tracker_controller.luac:9>
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	[C]: in function 'xpcall'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/controllers/time_tracker_controller.luac:9: in function 'set_now'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/controllers/time_tracker_controller.luac:20: in function 'increment_now'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/modules/timer.luac:6: in function 'self'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	[C]: in function 'xpcall'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/modules/events.luac:78: in function 'trigger'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/modules/events.luac:97: in function '_update'
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code |    	radiant/server.luac:19: in function <radiant/server.luac:17>
2015-Jul-23 17:43:57.212126 | server |  0 |                         lua.code | -- Lua Error End   ------------------------------- 
2015-Jul-23 17:43:57.223126 | client |  1 |                     renderer.mob | failed to set transform on node 39913.
2015-Jul-23 17:43:57.233126 | client |  1 |                     renderer.mob | failed to set transform on node 39913.
{lots more of these with node 39913}

This one identifies the hearthling who is currently frozen; this might be the error that indicates heā€™s gone idle.

2015-Jul-23 17:43:49.596972 | server |  1 | simulation.pathfinder.astar jid:243244 (12908375 Geoff Jondal) @ (323.00, 40.00, -270.00) | failed to get point of interest

Hereā€™s a link to the full stonehearth.log file:
8.20MB TXT file

Happy to help track this down further. Iā€™ve still got the save file, and if you have such a thing as debug mode, I can probably find Node 39913 in my map and figure out why itā€™s generating so many errors.

1 Like

Lovely bug report! I was just looking for this. :slight_smile: Can you send the save file to contact@radiant-entertainment.com?

4 Likes

I sent the save game file - if any of the attachments are stripped, or if you canā€™t open the RAR file, let me know and we can figure out a different way to get the file to you.

5 Likes