zzantozz wrote:I think this mod is causing crashes in 0.4.13. I'm seeing it cause the error mentioned in viewtopic.php?f=6&t=13177 in a server I'm running at home. One client saw a mobs:mese_monster fly out of the ocean and up into the sky right when this crash happened, and it kept happening and crashing the server when I restarted it. I think I've fixed it by disabling the mod and running the server for a while without it. A client saw an "unknown" flying up into the sky, but it didn't crash this time. I've enabled the mod again, and so far, all is well.
I am also getting a crash. Here is the output:
- Code: Select all
2015-09-27 11:44:06: ERROR[Main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-09-27 11:44:06: ERROR[Main]: Lua: Runtime error from mod 'mobs' in callback luaentity_Step(): /home/jason/.minetest/mods/mobs/api.lua:775: attempt to index field 'player' (a nil value)
2015-09-27 11:44:06: ERROR[Main]: stack traceback:
2015-09-27 11:44:06: ERROR[Main]: /home/jason/.minetest/mods/mobs/api.lua:775: in function </home/jason/.minetest/mods/mobs/api.lua:189>
In thread b62dc740:
/build/minetest-h46uoF/minetest-201509261916/src/server.cpp:505: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod 'mobs' in callback luaentity_Step(): /home/jason/.minetest/mods/mobs/api.lua:775: attempt to index field 'player' (a nil value)
stack traceback:
/home/jason/.minetest/mods/mobs/api.lua:775: in function </home/jason/.minetest/mods/mobs/api.lua:189>
Debug stacks:
DEBUG STACK FOR THREAD b2fffb40:
#0 virtual void* EmergeThread::run()
#1 MapBlock* ServerMap::loadBlock(v3s16)
#2 MapSector* ServerMap::loadSectorMeta(std::string, bool)
DEBUG STACK FOR THREAD b3999b40:
#0 virtual void* ServerThread::run()
#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 Server::SendHP(irr::u16, irr::u8))
(Leftover data: #5 bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
DEBUG STACK FOR THREAD b62dc740:
#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&))
Aborted
This looks like the same issue:
https://github.com/tenplus1/mobs/issues/35
Except I am getting it with the latest version.