random minetestserver 0.4-dev20111209-1 crashes

Post Reply
User avatar
redcrab
Member
Posts: 833
Joined: Tue Dec 13, 2011 13:45
Location: France
Contact:

random minetestserver 0.4-dev20111209-1 crashes

by redcrab » Post

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.

User avatar
celeron55
Administrator
Posts: 532
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Post

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: 833
Joined: Tue Dec 13, 2011 13:45
Location: France
Contact:

by redcrab » Post

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: 833
Joined: Tue Dec 13, 2011 13:45
Location: France
Contact:

by redcrab » Post

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.

User avatar
celeron55
Administrator
Posts: 532
Joined: Tue Apr 19, 2011 10:10
GitHub: celeron55
IRC: celeron55

by celeron55 » Post

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: 833
Joined: Tue Dec 13, 2011 13:45
Location: France
Contact:

by redcrab » Post

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.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 2 guests