MinetestForFun / server-minetestforfun-creative

Repository of the subgame and mods of "MinetestForFun CREATIVE" server
https://www.xorhub.com
The Unlicense
6 stars 0 forks source link

[xdecor] mod crashed the server #54

Closed BetterToAutomateTheWorld closed 8 years ago

BetterToAutomateTheWorld commented 8 years ago

http://zerobin.qbuissondebon.info/?2f4107122468a700#dTES6ucMyW/iPbjYqqbAAbrNr1LTvHEak7SH0DRBMUc=

2015-12-29 16:58:14: ACTION[ServerThread]: cycyl [???.???.???.???] joins game. 
2015-12-29 16:58:14: ACTION[ServerThread]: cycyl joins game. List of players: cycyl
2015-12-29 16:58:14: ACTION[ServerThread]: Updated online player file
2015-12-29 16:58:44: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-12-29 16:58:44: ERROR[main]: Lua: Runtime error from mod 'xdecor' in callback node_on_receive_fields(): ...tinbd/mff-creative/bin/../mods/xdecor/enchanting.lua:65: attempt to concatenate local 'toolname' (a nil value)
2015-12-29 16:58:44: ERROR[main]: stack traceback:
2015-12-29 16:58:44: ERROR[main]:   ...tinbd/mff-creative/bin/../mods/xdecor/enchanting.lua:65: in function <...tinbd/mff-creative/bin/../mods/xdecor/enchanting.lua:53>

In thread 7f44ed8fb740:
/home/quentinbd/mff-creative/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod 'xdecor' in callback node_on_receive_fields(): ...tinbd/mff-creative/bin/../mods/xdecor/enchanting.lua:65: attempt to concatenate local 'toolname' (a nil value)
stack traceback:
    ...tinbd/mff-creative/bin/../mods/xdecor/enchanting.lua:65: in function <...tinbd/mff-creative/bin/../mods/xdecor/enchanting.lua:53>
Debug stacks:
DEBUG STACK FOR THREAD 7f44e4de1700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f44e57f2700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f44e73c6700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  void Server::SendBlocks(float))
(Leftover data: #3  void RemoteClient::GetNextBlocks(ServerEnvironment*, EmergeManager*, float, std::vector<PrioritySortedBlockTransfer>&))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
DEBUG STACK FOR THREAD 7f44ed8fb740:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)
(Leftover data: #4  void Server::SendAccessDenied_Legacy(irr::u16, const wstring&))
/home/quentinbd/script/start-mff-creative.sh : ligne 26 : 10473 Abandon                 /home/quentinbd/mff-creative/bin/minetestserver --world /home/quentinbd/mff-creative/worlds/minetestforfun-creative/ --config /home/quentinbd/mff-creative/minetest.conf --gameid minetestforfun_creative --port 30088
----------------------
Server restarted at mardi 29 décembre 2015, 16:59:14 (UTC+0100)
----------------------

Upstream for @kilbith

kilbith commented 8 years ago

Sur quel commit tu es là ?

Lymkwi commented 8 years ago

On est là : https://github.com/kilbith/xdecor/commit/c7b8f43066340715ac51640b971350a083682017 Mais plus maintenant : https://github.com/MinetestForFun/server-minetestforfun-creative/commit/6f14517d8eacadc55982ebc96eedae815a55f148

kilbith commented 8 years ago

OK, ça devrait réparer ça.

BetterToAutomateTheWorld commented 8 years ago

Merged and rebooted.