Page 1 of 1

Server Segmentation Faults

PostPosted: Wed Nov 06, 2013 06:20
by mmstick
A player recently crashed my server with:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
00:17:12: ERROR[main]: ServerEnv: Trying to store id=614 statically but block (2,-1,2) already contains 49 objects. Forcing delete.
00:17:12: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error running function 'on_step': ...est/games/sticks_and_stones/mods/awards/triggers.lua:22: attempt to index local 'digger' (a nil value)
00:17:12: ERROR[main]: stack traceback:

In thread 7f30c8464780:
/build/buildd/minetestc55-201311051512/src/main.cpp:1877: int main(int, char**): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f30c8464780:
#0  int main(int, char**)
(Leftover data: #1  Dedicated server branch)
(Leftover data: #2  virtual void ServerMap::save(ModifiedState))
(Leftover data: #3  virtual void Database_SQLite3::saveBlock(MapBlock*))


...and every time he joins this happens:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
00:18:15: ACTION[ServerThread]: Murcrow [192.168.2.4] joins game. List of players: Murcrow
00:18:24: ERROR[main]: ServerEnv: Trying to store id=51 statically but block (2,-1,2) already contains 49 objects. Forcing delete.
00:18:24: ERROR[main]: ServerEnv: Trying to store id=52 statically but block (2,-1,2) already contains 49 objects. Forcing delete.
./minetest_server.sh: line 2: 11670 Segmentation fault

PostPosted: Wed Nov 06, 2013 06:36
by mmstick
I see, the awards mod is broken, so it should be removed in order to resolve the error.

PostPosted: Wed Nov 06, 2013 17:21
by leetelate
i have only seen 2 segfaults with mt, both from the jack damn static error - i would bet money that the above player was nowhere even near 2,-1,2

minetestc55-201311051512? - ancient history

PostPosted: Wed Nov 06, 2013 18:41
by rubenwardy
I have updated awards so it works properly.

awards mod

PostPosted: Wed Nov 06, 2013 19:41
by mmstick
leetelate wrote:i have only seen 2 segfaults with mt, both from the jack damn static error - i would bet money that the above player was nowhere even near 2,-1,2

minetestc55-201311051512? - ancient history


2013-11-05 was yesterday, so not ancient history. I'm using the daily build dev PPA in Ubuntu so it gets updated daily. The last update was ~5 hours ago for version minetestc55-201311061445.

PostPosted: Wed Nov 06, 2013 19:54
by mmstick
rubenwardy wrote:I have updated awards so it works properly.

awards mod


Okay, it's not crashing now. It's really nice how most mods here are hosted on github so I can easily use git to update everything. It would be even nicer if Minetest client had some sort of git auto-updater feature built into it though.

PostPosted: Thu Nov 07, 2013 01:51
by leetelate
you might check the actual mt version of the daily build in ubuntu PPA