MinetestForFun / server-minetestforfun

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

Crash [factions] mod #178

Closed BetterToAutomateTheWorld closed 9 years ago

BetterToAutomateTheWorld commented 9 years ago

Crash Logs

http://zerobin.qbuissondebon.info/?8af565fd6936f92c#MZq2lZN+hVE2ue6Jx6f+yQhhLXyhipFLl43Vdr6b9K0=

r branch)
(Leftover data: #2  void ServerMap::loadMapMeta())
/home/quentinbd/script/start02.sh : ligne 26 : 10613 Abandon                 /home/quentinbd/minetest/bin/minetestserver --world /home/quentinbd/minetest/worlds/minetestforfun/ --config /home/quentinbd/minetest/minetest.conf --gameid minetestforfun_game --port 30001
----------------------
Server restarted at mercredi 29 juillet 2015, 09:45:57 (UTC+0200)
----------------------
WARNING: system-wide share not found at "/usr/share/minetest"
WARNING: system-wide share not found at "/home/quentinbd/minetest/bin/../share/minetest"
WARNING: system-wide share found at "/home/quentinbd/minetest/bin/.."
Using game specified by --gameid on the command line
09:45:57: WARNING: Undeclared global variable "handlers" accessed at ...home/quentinbd/minetest/bin/../mods/irc/irc/main.lua:188
09:45:57: ACTION[main]: [FailPoints] Loaded
09:45:57: ACTION[main]: [FailPoints] CooKies baked
09:45:57: ACTION[main]: [interact] Blacklist loaded
09:45:57: ACTION[main]: MOD: factions (by sapier) loading ...
09:45:57: ERROR[main]: ========== ERROR FROM LUA ===========
09:45:57: ERROR[main]: Failed to load and run script from 
09:45:57: ERROR[main]: /home/quentinbd/minetest/bin/../mods/factions/init.lua:
09:45:57: ERROR[main]: ...quentinbd/minetest/bin/../mods/factions/factions.lua:749: attempt to index field '?' (a nil value)
09:45:57: ERROR[main]: stack traceback:
09:45:57: ERROR[main]:  ...quentinbd/minetest/bin/../mods/factions/factions.lua:749: in function 'load'
09:45:57: ERROR[main]:  ...ome/quentinbd/minetest/bin/../mods/factions/init.lua:26: in main chunk
09:45:57: ERROR[main]: ======= END OF ERROR FROM LUA ========
09:45:57: ERROR[main]: Server: Failed to load and run /home/quentinbd/minetest/bin/../mods/factions/init.lua
09:45:57: ERROR[main]: ERROR: An unhandled exception occurred: ModError: Failed to load and run /home/quentinbd/minetest/bin/../mods/factions/init.lua

In thread 7f1d55300740:
/home/quentinbd/minetest/src/main.cpp:882: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f1d55300740:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  void ServerMap::loadMapMeta())
/home/quentinbd/script/start02.sh : ligne 26 : 10625 Abandon                 /home/quentinbd/minetest/bin/minetestserver --world /home/quentinbd/minetest/worlds/minetestforfun/ --config /home/quentinbd/minetest/minetest.conf --gameid minetestforfun_game --port 30001
Lymkwi commented 9 years ago

https://github.com/MinetestForFun/minetest-minetestforfun-server/commit/3c7d685fb425477080dafadb8b53ef734f0e2b7f I don't know which one of the indexes crashed, so I picked the last one and added a check. It may not work.

BetterToAutomateTheWorld commented 9 years ago

Fixed, closed the issue