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

Server crashs #47

Closed BetterToAutomateTheWorld closed 8 years ago

BetterToAutomateTheWorld commented 8 years ago

I don't remember, maybe already fixed ?

2015-10-23 08:59:08: ACTION[ServerThread]: TheGalaxySheep places node default:torch at (-410,3,-857)
08:59:10: WARNING: Undeclared global variable "action_timers" accessed at .../games/minetestforfun_creative/mods/sethome/init.lua:26
2015-10-23 08:59:10: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-10-23 08:59:10: ERROR[main]: Lua: Runtime error from mod 'unified_inventory' in callback on_playerReceiveFields(): .../games/minetestforfun_creative/mods/sethome/init.lua:26: attempt to index global 'action_timers' (a nil value)
2015-10-23 08:59:10: ERROR[main]: stack traceback:
2015-10-23 08:59:10: ERROR[main]:   .../games/minetestforfun_creative/mods/sethome/init.lua:26: in function 'sethome'
2015-10-23 08:59:10: ERROR[main]:   ...-creative/bin/../mods/unified_inventory/register.lua:45: in function 'action'
2015-10-23 08:59:10: ERROR[main]:   ...creative/bin/../mods/unified_inventory/callbacks.lua:62: in function '?'
2015-10-23 08:59:10: ERROR[main]:   ...ntinbd/mff-creative/bin/../builtin/game/register.lua:355: in function <...ntinbd/mff-creative/bin/../builtin/game/register.lua:335>

In thread 7f0217e14740:
/home/quentinbd/mff-creative/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod 'unified_inventory' in callback on_playerReceiveFields(): .../games/minetestforfun_creative/mods/sethome/init.lua:26: attempt to index global 'action_timers' (a nil value)
stack traceback:
    .../games/minetestforfun_creative/mods/sethome/init.lua:26: in function 'sethome'
    ...-creative/bin/../mods/unified_inventory/register.lua:45: in function 'action'
    ...creative/bin/../mods/unified_inventory/callbacks.lua:62: in function '?'
    ...ntinbd/mff-creative/bin/../builtin/game/register.lua:355: in function <...ntinbd/mff-creative/bin/../builtin/game/register.lua:335>
Debug stacks:
DEBUG STACK FOR THREAD 7f020b1de700:
#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 7f021130c700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f0211b0d700:
#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 7f0217e14740:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)
/home/quentinbd/script/start-mff-creative.sh : ligne 26 :  2806 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 vendredi 23 octobre 2015, 08:59:40 (UTC+0200)
----------------------
Using game specified by --gameid on the command line

2015-10-22 22:30:02: ACTION[ServerThread]: LizzardBeth joins game. List of players: LizzardBeth
2015-10-22 22:30:02: ACTION[ServerThread]: Updated online player file
22:30:55: WARNING: Undeclared global variable "action_timers" accessed at .../games/minetestforfun_creative/mods/sethome/init.lua:48
2015-10-22 22:30:56: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-10-22 22:30:56: ERROR[main]: Lua: Runtime error from mod 'sethome' in callback on_chat_message(): .../games/minetestforfun_creative/mods/sethome/init.lua:48: attempt to index global 'action_timers' (a nil value)
2015-10-22 22:30:56: ERROR[main]: stack traceback:
2015-10-22 22:30:56: ERROR[main]:   .../games/minetestforfun_creative/mods/sethome/init.lua:48: in function 'func'
2015-10-22 22:30:56: ERROR[main]:   ...bd/mff-creative/bin/../builtin/game/chatcommands.lua:42: in function '?'
2015-10-22 22:30:56: ERROR[main]:   ...ntinbd/mff-creative/bin/../builtin/game/register.lua:355: in function <...ntinbd/mff-creative/bin/../builtin/game/register.lua:335>

In thread 7faca2ca7740:
/home/quentinbd/mff-creative/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod 'sethome' in callback on_chat_message(): .../games/minetestforfun_creative/mods/sethome/init.lua:48: attempt to index global 'action_timers' (a nil value)
stack traceback:
    .../games/minetestforfun_creative/mods/sethome/init.lua:48: in function 'func'
    ...bd/mff-creative/bin/../builtin/game/chatcommands.lua:42: in function '?'
    ...ntinbd/mff-creative/bin/../builtin/game/register.lua:355: in function <...ntinbd/mff-creative/bin/../builtin/game/register.lua:335>
Debug stacks:
DEBUG STACK FOR THREAD 7fac962cc700:
#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 7fac96acd700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7fac9c9a0700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  virtual void Server::deletingPeer(con::Peer*, bool))
(Leftover data: #3  void RemoteClient::GetNextBlocks(ServerEnvironment*, EmergeManager*, float, std::vector<PrioritySortedBlockTransfer>&))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD 7faca2ca7740:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)
/home/quentinbd/script/start-mff-creative.sh : ligne 26 : 11035 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 jeudi 22 octobre 2015, 22:31:26 (UTC+0200)
----------------------
Lymkwi commented 8 years ago

Already fixed. https://github.com/MinetestForFun/server-minetestforfun-creative/commit/76686a122bed83135f9c79e75a44077e9717fb15