Hemiptera Bugtracker at bugs.linux-forks.de

advtrains

nil trains are not initialized -> advtrains keeps complaining

Send replies to 138@bugs.linux-forks.de or using the Form below.
avatar From: OP
Sat, 07 Dec 2019 10:55:01 -0000

I got this on the chat log some time ago:

[advtrains] -!- train_ensure_init: Called with id = 224782 but a nil

train!

2019-12-07 11:36:48: ACTION[Main]: [advtrains] -!- stack traceback:

...server/.minetest/mods/advtrains/advtrains/trainlogic.lua:239: in

function 'train_ensure_init'

...server/.minetest/mods/advtrains/advtrains/trainlogic.lua:983: in

function 'train_check_couples'

...server/.minetest/mods/advtrains/advtrains/trainlogic.lua:532: in

function 'train_step_c'

...server/.minetest/mods/advtrains/advtrains/trainlogic.lua:97: in

function 'mainloop_trainlogic'

...etest-server/.minetest/mods/advtrains/advtrains/init.lua:490: in

function

<...etest-server/.minetest/mods/advtrains/advtrains/init.lua:465>

[C]: in function 'xpcall'

...etest-server/.minetest/mods/advtrains/advtrains/init.lua:56: in

function 'func'

...hare/games/minetest/builtin/profiler/instrumentation.lua:106: in

function

<...hare/games/minetest/builtin/profiler/instrumentation.lua:100>

/usr/share/games/minetest/builtin/game/register.lua:420: in function

</usr/share/games/minetest/builtin/game/register.lua:400>

[advtrains] -!- Train 224782 is not initialized! Couldn't check couples!

avatar From: Developer
Fri, 13 Dec 2019 08:44:02 -0000

Hi,

does this warning appear often, or only a single time? In theory, it

should go away after a server restart.

(it is caused by an inconsistency, where a train that doesn't exist

anymore is still registered in the occupation table.)

avatar From: OP
Fri, 13 Dec 2019 12:23:01 -0000

The message kept appearing until server crash.

avatar From: Developer
Tue, 17 Dec 2019 21:48:01 -0000

But it did not reappear after the server restarted?

avatar From: OP
Wed, 18 Dec 2019 06:22:02 -0000

No, it didn't.

Reply