Server crash with "Assertion failed"

User avatar
vitaminx
Member
 
Posts: 49
Joined: Tue Dec 30, 2014 15:08
GitHub: vitaminx

Server crash with "Assertion failed"

by vitaminx » Fri Feb 13, 2015 16:19

Hi, I'd like to report a bug in minetest-server.
It crashed today, here are the details:

Is the bug reproducible?
I couldn't see how.

What is your operating system?
Debian GNU/Linux 7.8

What is your version of Minetest?
0.4.11+repack-1

What game do you use?
minetest_game

Also add output from debug.txt in the topic
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
17:10:20: ACTION[ServerThread]: Data places node default:torch at (-188,-141,-36)
17:10:26: ACTION[ServerThread]: Data digs default:stone at (-188,-139,-33)
17:10:26: ACTION[ServerThread]: Server: Guest1941 supplied empty password
17:10:28: ACTION[ServerThread]: Data digs default:stone at (-188,-138,-34)
17:10:28: ACTION[ServerThread]: player MiNe crafts stairs:stair_wood 6
17:10:29: ACTION[ServerThread]: Data digs default:stone at (-188,-138,-33)

In thread 7f7205a55700:
/build/minetest-HBq12L/minetest-0.4.11+repack/src/util/pointer.h:279: void SharedBuffer<T>::drop() [with T = unsigned char]: Assertion '(*refcount) > 0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f71e7fff700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f71fe7fc700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f71feffd700:
#0  virtual void* CurlFetchThread::Thread()
DEBUG STACK FOR THREAD 7f71ff7fe700:
#0  virtual void* ServerThread::Thread()
#1  void Server::AsyncRunStep(bool)
#2  virtual void ServerEnvironment::step(float)
(Leftover data: #3  void RemoteClient::GetNextBlocks(ServerEnvironment*, EmergeManager*, float, std::vector<PrioritySortedBlockTransfer>&))
(Leftover data: #4  void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5  void Server::SendHP(irr::u16, irr::u8))
(Leftover data: #6  void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f720a668780:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
(Leftover data: #3  void Server::step(float))


-------------
  Separator 
-------------

17:10:46: INFO[main]: logfile = /var/log/minetest/minetest.log
17:10:46: VERBOSE[main]: httpfetch_init: parallel_limit=8
17:10:46: INFO[main]: Message locale is now set to: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=en_US.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8
17:10:46: VERBOSE[main]: Determining world path
17:10:46: INFO[main]: Searching worlds...
17:10:46: INFO[main]:   In /var/games/minetest-server/.minetest/worlds:
17:10:46: INFO[main]: world
17:10:46: INFO[main]: 1 found.


Thanks.
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Server crash with "Assertion failed"

by Krock » Fri Feb 13, 2015 17:01

nerzhul was faster, there's already an issue on the GitHub repo:
https://github.com/minetest/minetest/issues/2300
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

nrz
Member
 
Posts: 51
Joined: Sat Feb 07, 2015 17:16
GitHub: nerzhul
IRC: nrzkt
In-game: nrz

Re: Server crash with "Assertion failed"

by nrz » Sun Feb 15, 2015 08:39

Thanks for your report. I'm waiting for the next assertion failed, i got the same.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 5 guests

cron