pandorabox-io / pandorabox.io

Pandorabox infrastructure code
https://pandorabox.io
31 stars 4 forks source link

digtron crash #215

Closed thomasrudin closed 5 years ago

thomasrudin commented 5 years ago
minetest_1           | 2019-07-12 11:36:55: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'digtron' in callback on_playerReceiveFields(): Invalid float vector dimension range 'x' (expected -2.14748e+06 < x < 2.14748e+06 got -1e+07).
minetest_1           | 2019-07-12 11:36:55: ERROR[Main]: stack traceback:
minetest_1           | 2019-07-12 11:36:55: ERROR[Main]:    [C]: in function 'add_entity'
minetest_1           | 2019-07-12 11:36:55: ERROR[Main]:    /data/world//worldmods/digtron/util.lua:415: in function 'show_offset_markers'
minetest_1           | 2019-07-12 11:36:55: ERROR[Main]:    /data/world//worldmods/digtron/nodes/node_builders.lua:116: in function </data/world//worldmods/digtron/nodes/node_builders.lua:74>
minetest_1           | 2019-07-12 11:36:55: ERROR[Main]:    /usr/local/share/minetest/builtin/game/register.lua:419: in function </usr/local/share/minetest/builtin/game/register.lua:399>
TechRancher commented 5 years ago

thomasrudin All Ican see from this so far is a Invalid float value entered which caused the runtime error. I will take a crack at the code and see if I see anything that can prevent it from crashing. Just throw an error only.

thomasrudin commented 5 years ago

I'm actually maintaining a "bugfix" fork for this: https://github.com/pandorabox-io/digtron/commits/master

I try to make PR's for the bigger issues upstream.

The little things (like this nil-check) i'm just doing local until there is a proper solution by the author (he already has his hands full with issues for the digtron mod... :smile:)

Still, if you want to help, that will be awesome :D

thomasrudin commented 5 years ago

Haven't had the issue since then again, closing until reproducible