Page 1 of 1

random minetestserver 0.4-dev20111209-1 crashes

PostPosted: Tue Dec 27, 2011 16:58
by redcrab
got a crash , may be due to a bug ? here the crash trace

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: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..

PostPosted: Wed Dec 28, 2011 13:27
by celeron55
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?

PostPosted: Wed Dec 28, 2011 16:42
by redcrab
3Gb ram.. server only.
What is your system recommendation ?

PostPosted: Wed Dec 28, 2011 21:24
by redcrab
Another random crash but not of the same type
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
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))


PostPosted: Thu Dec 29, 2011 12:33
by celeron55
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
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
ERROR: StaticObjectList::insert(): id already exists


That is a known bug.

PostPosted: Fri Jan 06, 2012 16:39
by redcrab
celeron55 wrote:
Another random crash but not of the same type
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
ERROR: StaticObjectList::insert(): id already exists


That is a known bug.


Thanks for your support

pending ? already fixed ?