Dev 2521 Assert when we try to resume a dead thread on task destroy

The timing of this error was a few seconds after closing (accepting a new hearthling) the daily update window. I had a small mining zone active at the time but nothing else happening. No buildings and only 3rd game day.

System: Win7 x64 home premium
Intel Core i7 @ 2.4 GHz
12GB RAM
Nvidia GT650M w/ 1GB GRAM

<develop-2521 (x64)
stonehearth/services/server/threads/thread.luac:134: assertion failed!
stack traceback:
radiant/modules/events.luac:68: in function <radiant/modules/events.luac:65>
[C]: in function 'assert’
stonehearth/services/server/threads/thread.luac:134: in function 'resume’
stonehearth/services/server/tasks/task.luac:97: in function 'self’
radiant/modules/events.luac:80: in function <radiant/modules/events.luac:78>
[C]: in function 'xpcall’
radiant/modules/events.luac:78: in function 'trigger’
radiant/modules/events.luac:96: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>>

2 Likes

Do you have a save file where this happens regularly? I think I saw this one a branch, but I’ve been unable to reproduce it on the main branch so far.

It only happened that one time and I haven’t been able to reproduce it. I’ll make sure to gather as much info about in game activity and hardware loads if it pops up again.

1 Like