[Res] [Dev 2620] error in prune_dead_listeners

Attacking some Goblins and got the error, can’t recover from it. The first time it dropped my system down to 1.44Gb of RAM free out of 16 GB. The second time, after stopping the game by Task Manager and restarting, I managed to grab the error. I do have this recorded too if needed, let me know if you want to see it as I have to render it out and upload it to my channel if so.

develop-2609 (x64)
radiant/modules/events.luac:77: assertion failed!
stack traceback:
[C]: ?
[C]: in function 'assert’
radiant/modules/events.luac:77: in function '_prune_dead_listeners’
radiant/modules/events.luac:82: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

Link to my dropbox with I believe is the log file Dropbox - Error

I can’t recover from this error so it’s a real stopper from my end. I have to wait for a fix before I can continue on testing.

The prune_dead_listeners bug, caused by killing an Armed Goblin, is still present in Dev 2611. It eventually caused the frozen UI glitch after it built over 1000 errors. The only way to close out was Alt + F4 which still left the other Stonehearth process that I had to Ctrl + Alt + Del to close.

develop-2611 (x64)
radiant/modules/events.luac:77: assertion failed!
stack traceback:
[C]: ?
[C]: in function 'assert’
radiant/modules/events.luac:77: in function '_prune_dead_listeners’
radiant/modules/events.luac:82: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

develop-2611 (x64)
c++ exception: lua runtime error
stack traceback:

Otherwize this version seems very stable thus far. :smiley:

1 Like

I can confirm this same error.

1 Like

going to page @Albert, see if he can get a look at this.

Awesome 8bitCrab, otherwise the game seems to be a lot smoother.

1 Like

Hi guys,

I have a fix for this. It will be pushed the next time we update Latest. Thanks!

7 Likes

Let me be the first to say you sir ROCK :slight_smile:

2 Likes

Trying to build some underground city…but this bug keeps poping up and looping endlessly, eventually getting my PC out of RAM…
Build 0.12.0 (dev 2611) x64

develop-2611 (x64)
radiant/modules/events.luac:77: assertion failed!
stack traceback:
[C]: ?
[C]: in function 'assert’
radiant/modules/events.luac:77: in function '_prune_dead_listeners’
radiant/modules/events.luac:82: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

1 Like

i am getting the same error but when goblins attack

develop-2611 (x64)
radiant/modules/events.luac:77: assertion failed!
stack traceback:
[C]: ?
[C]: in function 'assert’
radiant/modules/events.luac:77: in function '_prune_dead_listeners’
radiant/modules/events.luac:82: in function '_update’
radiant/server.luac:19: in function <radiant/server.luac:17>

develop-2611 (x64)
c++ exception: lua runtime error
stack traceback:

1 Like

This one should be fixed in the next release.

2 Likes

I’m playing on 2611, and an armed goblin came into my camp so I promoted a hearthling to footman, and killed it. Then an error popped up and repeated 2390 times and became really slow. Here’s the error:

this is a well known bug and is said to have a fix for the next patch :smile:

here is a link

1 Like

is it normal that when an error comes that my task manager shows that i got the game 2x launched and then it uses up like 5 gb ram lol?? Or is that some other bug non related to this one?

It’s normal to have two stonehearth.exe in your task manager. Actually, one is the server and the other the client. Stonehearth is built from the ground up to support multiplayer (even though that mode hasn’t been added yet).

When is it using up 5gb of RAM? If you have a save game with a mass of errors in it, you’ll get a massive amount of memory usage.

1 Like

I did not know its normal to have 2x stonehearth.exe :confused: ty for the info tuhalu.
Usually when then error’s ocures, It uses up 5gb ram as i remember each stonehearth.exe used up like 2,5 gb ram. How can the stonehearth.exe for the server use up 2,5 gb when an error occures do?

This seems to be the same bug as posted here: [Res] [Dev 2620] error in prune_dead_listeners

The dev team has acknowledged this and hopefully will have a fix soon

1 Like

This happend before Not able to build floors

And I have no idea what doing it, Reloading before it hits 1000 fixes it but it keeps coming back.

Hmm… This seems to be the same bug mentioned here: [Res] [Dev 2620] error in prune_dead_listeners

This bug has been Acknowledged by the Dev team and hopefully should be fixed soon.

It appears to be the game freaking out when you kill a goblin. Play in Peaceful mode until the next patch and you shouldn’t experience the error.

I had 2 footmen killing the occasional undead assailant (demoted to workers while there were no enemies) a few days into my latest playthrough and when the first armed goblin arrived I promoted them again and when they had killed the goblin i got this error spamming. I searched discourse for prune_dead_listeners it didnt turn up any results, so i figured i might post this:

develop-2611 (x64)
radiant/modules/events.luac:77: assertion failed!
stack traceback:
	[C]: ?
	[C]: in function 'assert'
	radiant/modules/events.luac:77: in function '_prune_dead_listeners'
	radiant/modules/events.luac:82: in function '_update'
	radiant/server.luac:19: in function <radiant/server.luac:17>

It also generated/spammed a second c++ error, pointing to the above one being the traceback. Hope there is enogh info in here :stuck_out_tongue:

edit: sorry for posting dupe and thanks for merge @Relyss :blush: