Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid vector.add crashes server. #21

Closed
debagos opened this issue Apr 27, 2022 · 4 comments
Closed

Invalid vector.add crashes server. #21

debagos opened this issue Apr 27, 2022 · 4 comments

Comments

@debagos
Copy link

debagos commented Apr 27, 2022

Today my server crashed with the following error message:

ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'wielded_light' in callback environment_Step(): ...i/github/minetest-5.5.0/bin/../builtin/common/vector.lua:154: attempt to perform arithmetic on field 'x' (a nil value)
ERROR[Main]: stack traceback:
ERROR[Main]: 	...i/github/minetest-5.5.0/bin/../builtin/common/vector.lua:154: in function 'add'
ERROR[Main]: 	...ub/minetest-5.5.0/bin/../mods/mesecons/mesecons/init.lua:98: in function <...ub/minetest-5.5.0/bin/../mods/mesecons/mesecons/init.lua:93>
ERROR[Main]: 	...test-5.5.0/bin/../mods/mesecons/mesecons/actionqueue.lua:137: in function 'execute'
ERROR[Main]: 	...test-5.5.0/bin/../mods/mesecons/mesecons/actionqueue.lua:111: in function <...test-5.5.0/bin/../mods/mesecons/mesecons/actionqueue.lua:73>
ERROR[Main]: 	...i/github/minetest-5.5.0/bin/../builtin/game/register.lua:425: in function <...i/github/minetest-5.5.0/bin/../builtin/game/register.lua:409>

And no, I have no idea why the traceback is showing traces from the Mesecons mod...
This is not the first time it happened, but the last time is months ago, so I have absolutely no idea how to reproduce the crash.

@debagos
Copy link
Author

debagos commented Apr 27, 2022

Minetest version: 5.5.0 release

@appgurueu
Copy link

Pretty sure this is a mesecons issue, otherwise the stack traces would be showing wielded_light file paths. I've experienced issues with Minetest's "responsible mod" detection as well.

@debagos
Copy link
Author

debagos commented Apr 27, 2022

This is a little heavy for me, since I'm not an educated coder...
Usually you get a line where the error originates form and it's very clear what's going wrong, but this is beyond my skills. 😅
Hence I want to thank you for your support @appgurueu!

@debagos
Copy link
Author

debagos commented May 15, 2022

This issue can be closed, since I found out wielded_light is not the culprit here.
minetest-mods/mesecons#609

@debagos debagos closed this as completed May 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants