Page 1 of 1

0.4dev20120106-ERROR: An unhandled exception occurred: std::bad_alloc

PostPosted: Mon Mar 26, 2012 13:10
by redcrab
13:05:58: ERROR[ServerThread]: ERROR: An unhandled exception occurred: std::bad_alloc

In thread b67ffb70:
/home/xxx/Projects/Minetest-Appliance/src/server.cpp:115: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b5ffeb70:
#0 virtual void* EmergeThread::Thread()
#1 MapBlock* ServerMap::loadBlock(v3s16)
(Leftover data: #2 ServerMapSector* ServerMap::createSector(v2s16): p2d=(-15,-29))
(Leftover data: #3 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD b67ffb70:
#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))
(Leftover data: #6 static InventoryItem* InventoryItem::deSerialize(std::istream&, IGameDef*))
DEBUG STACK FOR THREAD b74756d0:
#0 int main(int, char**)
#1 void dedicated_server_loop(Server&, bool&)
#2 irr::core::list<PlayerInfo> Server::getPlayerInfo()

PostPosted: Mon Mar 26, 2012 13:23
by sfan5
A Memory Allocation failed

PostPosted: Mon Mar 26, 2012 13:25
by jordan4ibanez
redcrab wrote:13:05:58: ERROR[ServerThread]: ERROR: An unhandled exception occurred: std::bad_alloc

In thread b67ffb70:
/home/xxx/Projects/Minetest-Appliance/src/server.cpp:115: virtual void* ServerThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD b5ffeb70:
#0 virtual void* EmergeThread::Thread()
#1 MapBlock* ServerMap::loadBlock(v3s16)
(Leftover data: #2 ServerMapSector* ServerMap::createSector(v2s16): p2d=(-15,-29))
(Leftover data: #3 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD b67ffb70:
#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))
(Leftover data: #6 static InventoryItem* InventoryItem::deSerialize(std::istream&, IGameDef*))
DEBUG STACK FOR THREAD b74756d0:
#0 int main(int, char**)
#1 void dedicated_server_loop(Server&, bool&)
#2 irr::core::list<PlayerInfo> Server::getPlayerInfo()

that happened to my server a couple thousand times..that's why i won't open it until that's fixed