Page 1 of 1

Server Crash

PostPosted: Mon May 14, 2012 00:02
by ecube
Quite often. Doesn't even send the message "Server shutting down."
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
In thread 7f25bab77700:
/home/ecube/minetest/src/server.cpp:437: void RemoteClient::GetNextBlocks(Server*, float, irr::core::array<PrioritySortedBlockTransfer>&): Assertion 'player != __null' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f25b9b75700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD 7f25bab77700:
#0  virtual void* ServerThread::Thread()
#1  void Server::AsyncRunStep()
#2  void Server::SendBlocks(float)
#3  void RemoteClient::GetNextBlocks(Server*, float, irr::core::array<PrioritySortedBlockTransfer>&)
(Leftover data: #4  void BlockEmergeQueue::addBlock(irr::u16, v3s16, irr::u8))
(Leftover data: #5  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD 7f25bd06a740:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
(Leftover data: #3  void Server::step(float))
Abort

^ That's the trash the program prints out, and then exits. Any reason for this, and how do we fix it?

PostPosted: Tue May 15, 2012 22:21
by ecube
Hold on, I might try to define NDEBUG to stop all the assertions, might work
(the assertions cause server exits, and sometimes clients too)

PostPosted: Wed May 16, 2012 07:00
by Jordach
i never had assertion, So, tell me the server specs.

PostPosted: Mon May 21, 2012 03:25
by SegFault22
I have this problem, too...I use Windows Vista Ultimate (32 bit OS), latest Minetest version, and when I move around quickly, or at ease, it crashes. I think it has something to do with something some unknown person said they read from something after it crashed:
''Segment already in buffer''

Any suggestions on how to fix this, or prevent it?