random minetestserver 0.4-dev20111209-1 crashes

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45
Location: France

random minetestserver 0.4-dev20111209-1 crashes

by redcrab » Tue Dec 27, 2011 16:58

got a crash , may be due to a bug ? here the crash trace

Code: Select all
17:04:00: ERROR[ServerThread]: ERROR: An unhandled exception occurred: std::bad_alloc

In thread b66ffb70:
/home/xxx/Projects/Minetest/src/server.cpp:113: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b66ffb70:
#0  virtual void* ServerThread::Thread()
(Leftover data: #1  void Server::AsyncRunStep())
(Leftover data: #2  void Map::transformLiquids(irr::core::map<irr::core::vector3d<short int>, MapBlock*>&))
(Leftover data: #3  static InventoryItem* InventoryItem::deSerialize(std::istream&, IGameDef*))
(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 b739e6d0:
#0  int main(int, char**)
#1  void dedicated_server_loop(Server&, bool&)
(Leftover data: #2  irr::core::list<PlayerInfo> Server::getPlayerInfo())
signal_handler_init()
Using relative paths (RUN_IN_PLACE)
path_data = /home/xxx/Projects/Minetest/bin/../data
path_userdata = /home/xxx/Projects/Minetest/bin/..


server : OpenSUSE 11.4 32 bits

Hope that info may help to fix it..
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 

celeron55
Administrator
 
Posts: 453
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Wed Dec 28, 2011 13:27

std::bad_alloc usually means you have ran out of free memory.

It might be because all memory is validly used or because of some infinite memory consumpting loop (which would be a bug).

How much RAM do you have?
 

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45
Location: France

by redcrab » Wed Dec 28, 2011 16:42

3Gb ram.. server only.
What is your system recommendation ?
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45
Location: France

by redcrab » Wed Dec 28, 2011 21:24

Another random crash but not of the same type
Code: Select all
ERROR: StaticObjectList::insert(): id already exists

In thread b67ffb70:
/home/xxx/Projects/Minetest/src/staticobject.h:94: void StaticObjectList::insert(irr::u16, StaticObject): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b5ffeb70:
#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 b67ffb70:
#0  virtual void* ServerThread::Thread()
#1  void Server::AsyncRunStep()
#2  virtual void ServerEnvironment::step(float)
(Leftover data: #3  virtual MapBlock* ServerMap::emergeBlock(v3s16, bool): p=(-51,0,26), allow_generate=1)
(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 b74b46d0:
#0  int main(int, char**)
#1  void dedicated_server_loop(Server&, bool&)
(Leftover data: #2  void Server::step(float))

Last edited by redcrab on Wed Dec 28, 2011 21:55, edited 1 time in total.
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 

celeron55
Administrator
 
Posts: 453
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Thu Dec 29, 2011 12:33

redcrab wrote:3Gb ram.. server only.
What is your system recommendation ?

Well, it requires like 100M of free RAM, so that should be plenty...

Another random crash but not of the same type
Code: Select all
ERROR: StaticObjectList::insert(): id already exists


That is a known bug.
 

User avatar
redcrab
Member
 
Posts: 831
Joined: Tue Dec 13, 2011 13:45
Location: France

by redcrab » Fri Jan 06, 2012 16:39

celeron55 wrote:
Another random crash but not of the same type
Code: Select all
ERROR: StaticObjectList::insert(): id already exists


That is a known bug.


Thanks for your support

pending ? already fixed ?
0.4 for serious builder click here
Dedicated Minetest redcrab server forum at http://minetestbb.suret.net

It's nice to be important but it is more important to be nice.
 


Return to Problems



Who is online

Users browsing this forum: Google [Bot] and 1 guest