Hemiptera Bugtracker at bugs.linux-forks.de

advtrains

Discouple entity flood

Send replies to 73@bugs.linux-forks.de or using the Form below.
avatar From: OP
Tue, 30 Oct 2018 06:08:01 -0000

I have a strange bug however: in my server I get messages like these:

2018-10-29 21:30:34: WARNING[Server]: ServerEnv: Trying to store id = 0 statically but block (19,0,-5) already contains 2171 objects.

- the -5 sometimes is -4.

- When I teleport to that location, there's nothing visibly there.

- the 2171 keeps going up. I can't really put a finger on it, but I think it goes up each time I quit the server and restart it. During a run it stays constant (for a while at least)

if I use a debugger to see what the 2171 stored objects contain I get an endless list of this:

<snip>

{type = 7 '\a', pos = {X = 3180, Y = 90, Z = -672}, data = "\001\000\023advtrains:discouple\000\000\000\tDISCOUPLE\000\n", '\000' <repeats 15 times>}, {type = 7 '\a', pos = {X

= 3180, Y = 90, Z = -672}, data = "\001\000\023advtrains:discouple\000\000\000\tDISCOUPLE\000\n", '\000' <repeats 15 times>}, {type = 7 '\a', pos = {X = 3180, Y = 90, Z = -672}, data = "\001\000\023advtrai

ns:discouple\000\000\000\tDISCOUPLE\000\n", '\000' <repeats 15 times>}, {type = 7 '\a', pos = {X = 3180, Y = 90, Z = -672}, data = "\001\000\023advtrains:discouple\000\000\000\tDISCOUPLE\000\n", '\000' <re

peats 15 times>}, {type = 7 '\a', pos = {X = 3180, Y = 90, Z = -672}, data = "\001\000\023advtrains:discouple\000\000\000\tDISCOUPLE\000\n", '\000' <repeats 15 times>},

<snip>

Does anybody have any ideas how to debug? I'm not (yet) really fluent in lua, and especially not in the interaction between the minetest engine and lua in a debugging situation.

For now the server keeps running as if nothing's wrong, but I suspect it will become a problem eventually?

avatar From: Developer
Sat, 03 Nov 2018 20:40:02 -0000

static_save=false wasn't set for discouples, triggering the ancient

engine entity duplication bug.

%close

avatar Status Update
Wed, 23 Jan 2019 11:16:01 -0000
This bug was closed.
Reply