What may cause unrecorded server crash (segmentation fault)

Post Reply
User avatar
bhree
Member
Posts: 169
Joined: Tue Jun 19, 2018 07:45
GitHub: bhree
IRC: bhree
In-game: bhree
Location: Alone In The Wild Land
Contact:

What may cause unrecorded server crash (segmentation fault)

by bhree » Post

Code: Select all

2018-07-07 00:17:09: ACTION[Server]: Server: A mismatched client tried to connect from xxx.xx.xx.xxx
2018-07-07 00:33:23: ACTION[Server]: someuser [yyy.yyy.yy.yyy] joins game. 
2018-07-07 00:33:23: ACTION[Server]: someuser joins game. List of players: someuser
2018-07-07 00:33:24: ACTION[Server]: someuser leaves game. List of players: 
The server (self build 0.4 stable from github) crashed with only 'segmentation fault' at the terminal. Unlike crashing because of mods bugs that can be traced back to it's source using debug.txt, the crash leaves no information. I have tried to connect using official clients in ubuntu (self build and official repo), windows (official download) and android (playstore) successfully without crashing the server. I also have tried connecting from internet though very slow and laggy but no problem. Does it mean someone was using unaccepted client?

My server is ubuntu 16.04 server intended for local play due to heavy media and limited bandwidth but someone from outside can connect because I open the port but that's ok actually if they enjoy the game. Now I use password to avoid someone crashing the server.

Thankyou.

User avatar
Krock
Developer
Posts: 4650
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

Re: What may cause unrecorded server crash (segmentation fau

by Krock » Post

If no crash dump is available, then you could run minetest/minetestserver in gdb and get a backtrace using "bt", which then provides more helpful information about the crash. Additional information is provided when the crash was caught in a development build, on the cost of a larger binary and slower execution (server lags more).
Many other crashes have been reported on the master branch here. Since you're on 0.4.17.1 (confirm with "minetest --version"), it would be helpful if you could provide the crash dump in a new issue if it's not contained in #7272.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

User avatar
bhree
Member
Posts: 169
Joined: Tue Jun 19, 2018 07:45
GitHub: bhree
IRC: bhree
In-game: bhree
Location: Alone In The Wild Land
Contact:

Re: What may cause unrecorded server crash (segmentation fau

by bhree » Post

Code: Select all

Minetest 0.4.17 (Linux)
Using Irrlicht 1.8.3
Build info: VER=0.4.17 BUILD_TYPE=Release RUN_IN_PLACE=0 USE_GETTEXT=0 USE_SOUN
=1 USE_CURL=1 USE_FREETYPE=1 USE_LUAJIT=0 STATIC_SHAREDIR="/usr/local/share/min
test"
if it is not 0.4.17.1 then i'll download and compile again, then have gdb and bt.

User avatar
bhree
Member
Posts: 169
Joined: Tue Jun 19, 2018 07:45
GitHub: bhree
IRC: bhree
In-game: bhree
Location: Alone In The Wild Land
Contact:

Re: What may cause unrecorded server crash (segmentation fau

by bhree » Post

The error is like this, does it have meaning?

Code: Select all

minetest: /build/minetest-2Son6d/minetest-0.4.17.1/src/server.cpp:1957: void Server::SendMovePlayer(irr::u16): Assertion `player' failed.
Aborted (core dumped)
I don't know how to reproduce myself, I only use clean unmodded client from git and repo. Currently hosted at krambtest.ddns.net port 40000 if somebody like to visit. If it is listed at server list as Alone in Wild Land then it is online, media heavy so please be patient.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest