• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Error - crash | 'std::bad_alloc'

trans

New Member
Joined
Jul 4, 2007
Messages
115
Reaction score
0
I have Dedicated Server Debian 4.0. When i start tfs, he crash after 5h - 6h. In SSH konsole have error:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc

I dont know whats wrong ;/

Core2Duo E6550
L2: 4MB, FSB: 1333 MHz
64 bits

RAM: 4 GB DDR2
Swap: 500mb
 
Erros in tags, crash...

Code:
*****************************************************
Error report - Fri May 30 23:52:10 2008

Compiler info - gcc 3.4.5 (mingw special)
Compilation Date - May 27 2008 11:15:38

Memory load: 48
Total phys: 2096388 K available phys: 1080088 K
Start time: 31-5-2008  1:19:3
Kernel time: 0:0:11.218
User time: 0:2:57.843
Threads: 3

Exception: 0xc0000005 at eip = 0x46bae9(DBResult::addRow(char**, unsigned long*, unsigned int) - 0x46ba30)
eax = 0xa
ebx = 0x1224b790 -> 0x2c40150
ecx = 0x16a9ff0 -> 0xd
edx = 0x11e6fcf0 -> 0xa
esi = 0x1db62f8 -> 0x8788fb8
edi = 0x3
ebp = 0x13df1f4 -> 0x13df304
esp = 0x13df1cc -> 0x12f635a0
efl = 0x10202

---Stack Trace---
From: 0x13df1cc to: 0x13e0000
0x13df1cc | 0x12f635a0 -> 0x6f766552
0x13df1d0 | 0x16c5fff -> 0x6f766552
0x13df1d4 | 0xb
0x13df1d8 | 0x16a9f98 -> 0x1
0x13df1dc | 0x75fd63d -> 0x6c657665
0x13df1e0 | 0xb
0x13df1e4 | 0x13df9dc -> 0x4
0x13df1e8 | 0x13df901 -> 0x73000000
0x13df1ec | 0x29d973d -> 0x646c6975
0x13df1f0 | 0x75fd63d -> 0x6c657665
0x13df1f4 | 0x13df304 -> 0x13dfaf4 \\\\\\ stack frame //////
0x13df1f8 | 0x46e899 -> 0xff508d8b <-- ret
0x13df1f8  DatabaseMySQL::storeQuery(DBQuery&, DBResult&)(0x46e182)
0x13df1fc | 0x13df9dc -> 0x4
0x13df200 | 0x16c5fd8 -> 0x16c5fec
0x13df204 | 0x16a9ff0 -> 0xd
0x13df208 | 0x4
0x13df20c | 0x13dfa50 -> 0x6e6b34
0x13df210 | 0x6ef50c -> 0x6e8640
0x13df214 | 0x29d973c -> 0x6c697567
0x13df218 | 0x29d9730 -> 0x9
0x13df21c | 0x3
0x13df29c  DatabaseMySQL::storeQuery(DBQuery&, DBResult&)(0x46e182)
0x13df2e0 | 0x13dfa24 -> 0x6e6b20
0x13df2e4 | 0x13df304 -> 0x13dfaf4
0x13df2e8 | 0x67d1b2 -> 0x8908558b
0x13df2ec | 0x6d189d -> 0x6c697567
0x13df2f0 | 0x6d18a6 -> 0x45530000
0x13df2f4 | 0x13df99c -> 0x26f1cbc
0x13df2f8 | 0x13df9dc -> 0x4
0x13df2fc | 0x96f452e0
0x13df300 | 0
0x13df304 | 0x13dfaf4 -> 0x13dfe04 \\\\\\ stack frame //////
0x13df308 | 0x4ba5da -> 0x840fc084 <-- ret
0x13df308  IOLoginData::loadPlayer(Player*, std::string const&, bool)(0x4b5646)
0x13df30c | 0x148e378 -> 0x6e55a8
0x13df310 | 0x13dfa1c -> 0x6e6b0c
0x13df314 | 0x13df9dc -> 0x4
0x13df318 | 0
0x13df31c | 0
0x13df320 | 0x7c829fd6 -> 0x20068
0x13df324 | 0x7c82a0fc -> 0x90000cc2
0x13df328 | 0x20
0x13df40c  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13df414  ProtocolGame::parseAddVip(NetworkMessage&)(0x57fd36)
0x13df418  Commands::getInfo(Creature*, std::string const&, std::string const&)(0x43f80c)
0x13df428  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13df444  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13df4b4  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13df524  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13df540  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13df578  Map::getSpectatorsInternal(std::list<Creature*, std::allocator<Creature*> >&, Position const&, bool, int, int, int, int, int, int)(0x528c2e)
0x13df764  MoveEvents::MoveEvents()(0x53c342)
0x13df808  IOLoginData::getGuidByName(unsigned int&, std::string&)(0x4c567e)
0x13df92c  IOLoginData::loadPlayer(Player*, std::string const&, bool)(0x4b5646)
0x13dfa18  WaitingList::clientLogin(Player const*)(0x5bf930)
0x13dfad0 | 0x6ef50c -> 0x6e8640
0x13dfad4 | 0x6ef514 -> 0x6e8600
0x13dfad8 | 0x477811 -> 0x89f04589
0x13dfad8  Game::getPlayerByAccount(unsigned int)(0x4777a8)
0x13dfadc | 0x85086d8 -> 0
0x13dfae0 | 0x3f037fc -> 0x71551d4
0x13dfae4 | 0x6ea584 -> 0
0x13dfae8 | 0x3f037f4 -> 0x2a0bf04
0x13dfaec | 0x2
0x13dfaf0 | 0x3f037fc -> 0x71551d4
0x13dfaf4 | 0x13dfe04 -> 0x13dfe44 \\\\\\ stack frame //////
0x13dfaf8 | 0x57864f -> 0x2d75c084 <-- ret
0x13dfaf8  ProtocolGame::login(std::string const&, unsigned int, std::string const&, unsigned short, unsigned char)(0x576ca2)
0x13dfafc | 0x6cb380 -> 0
0x13dfb00 | 0x2c473d8 -> 0x6e662c
0x13dfb04 | 0x3f037f4 -> 0x2a0bf04
0x13dfb08 | 0
0x13dfb0c | 0x13dfb34 -> 0x13dfcc8
0x13dfb10 | 0x8744358 -> 0x2642e48
0x13dfb14 | 0x2600
0x13dfb18 | 0x980
0x13dfb24  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13dfb40  QTreeNode::getLeaf(unsigned int, unsigned int)(0x52b2e0)
0x13dfb78  Map::getSpectatorsInternal(std::list<Creature*, std::allocator<Creature*> >&, Position const&, bool, int, int, int, int, int, int)(0x528c2e)
0x13dfc0c  ProtocolGame::login(std::string const&, unsigned int, std::string const&, unsigned short, unsigned char)(0x576ca2)
0x13dfc58  Map::getSpectators(Position const&)(0x52941e)
0x13dfc88  Item::hasProperty(ITEMPROPERTY) const(0x4de860)
0x13dfcb8  ProtocolGame::canSee(int, int, int) const(0x57c0a6)
0x13dfd38  Game::internalCreatureTurn(Creature*, Direction)(0x48d5ee)
0x13dfd68  Monster::updateLookDirection()(0x530dbc)
0x13dfd7c  Map::isSightClear(Position const&, Position const&, bool)(0x529874)
0x13dfde0 | 0x279
0x13dfde4 | 0x77bda1b2 -> 0xccccc3c9
0x13dfde8 | 0xcc59f2c
0x13dfdec | 0x4f4271af
0x13dfdf0 | 0x1c8c2c9 -> 0x10000000
0x13dfdf4 | 0x10cec340 -> 0x48225e
0x13dfdf8 | 0x3f037f4 -> 0x2a0bf04
0x13dfdfc | 0x2
0x13dfe00 | 0x3f037fc -> 0x71551d4
0x13dfe04 | 0x13dfe44 -> 0x13dfee4 \\\\\\ stack frame //////
0x13dfe08 | 0x62e8d8 -> 0x8bf45d8b <-- ret
0x13dfe0c | 0x22fa1a8 -> 0x6e54c8
0x13dfe10 | 0x3f037f4 -> 0x2a0bf04
0x13dfe14 | 0x2b7a5
0x13dfe18 | 0x3f037fc -> 0x71551d4
0x13dfe1c | 0x2
0x13dfe20 | 0
0x13dfe24 | 0xbbcefb -> 0x54c154bc
0x13dfe28 | 0x5d6981 -> 0x9090c3c9
0x13dfe2c | 0x2b7a5
0x13dfe30 | 0x3f037f4 -> 0x2a0bf04
0x13dfe34 | 0x22fa1a8 -> 0x6e54c8
0x13dfe38 | 0x1111460 -> 0x6e57e8
0x13dfe3c | 0x279
0x13dfe40 | 0
0x13dfe44 | 0x13dfee4 -> 0x13dff84 \\\\\\ stack frame //////
0x13dfe48 | 0x6587cb -> 0x8984458d <-- ret
0x13dfe4c | 0x2c9d824 -> 0x3f037e8
0x13dfe50 | 0
0x13dfe54 | 0x13dfee4 -> 0x13dff84
0x13dfe58 | 0x18
0x13dfe5c | 0x3
0x13dfe60 | 0x17d0b
0x13dfe64 | 0x2c9d820 -> 0x6e8888
0x13dfe68 | 0x22f0bc -> 0x22f53c
0x13dfea8  OutputMessagePool::startExecutionFrame()(0x5509a8)
0x13dfec0 | 0xb40192 -> 0
0x13dfec4 | 0x77bb0000 -> 0xba102015
0x13dfec8 | 0x5d6981 -> 0x9090c3c9
0x13dfecc | 0x2900b60 -> 0x119b6a30
0x13dfed0 | 0x77e61d43 -> 0x90000cc2
0x13dfed4 | 0x13dfee4 -> 0x13dff84
0x13dfed8 | 0x1111460 -> 0x6e57e8
0x13dfedc | 0x279
0x13dfee0 | 0
0x13dfee4 | 0x13dff84 -> 0x13dffb8 \\\\\\ stack frame //////
0x13dfee8 | 0x5b1ab1 -> 0x8990458b <-- ret
0x13dfee8  Dispatcher::dispatcherThread(void*)(0x5b1798)
0x13dfeec | 0x2c9d820 -> 0x6e8888
0x13dfef0 | 0xffffffff
0x13dfef4 | 0x1
0x13dfef8 | 0xb8a13bf0
0x13dfefc | 0x80a80456
0x13dff00 | 0
0x13dff04 | 0
0x13dff08 | 0xb8a13c1c
0x13dff3c  Dispatcher::dispatcherThread(void*)(0x5b1798)
0x13dff60 | 0x13dffa8 -> 0x13dffdc
0x13dff64 | 0x46f4fc -> 0x57e58955
0x13dff64  _SEHHandler(_EXCEPTION_RECORD*, void*, _CONTEXT*, void*)(0x46f4fc)
0x13dff68 | 0x808aedd0
0x13dff6c | 0x13dff50 -> 0xb40279
0x13dff70 | 0
0x13dff74 | 0x13dffa8 -> 0x13dffdc
0x13dff78 | 0x1111460 -> 0x6e57e8
0x13dff7c | 0x11114f8 -> 0x15f8
0x13dff80 | 0
0x13dff84 | 0x13dffb8 -> 0x13dffec \\\\\\ stack frame //////
0x13dff88 | 0x77bcb3ca -> 0xff4fe859 <-- ret
0x13dff8c | 0
0x13dff90 | 0
0x13dff94 | 0
0x13dff98 | 0x1111460 -> 0x6e57e8
0x13dff9c | 0x1
0x13dffa0 | 0x13dff90 -> 0
0x13dffa4 | 0x8085005e
0x13dffa8 | 0x13dffdc -> 0xffffffff
0x13dffac | 0x77bc6c74 -> 0x83ec8b55
0x13dffb0 | 0x77ba4138 -> 0xffffffff
0x13dffb4 | 0
0x13dffb8 | 0x13dffec -> 0 \\\\\\ stack frame //////
0x13dffbc | 0x77e64829 -> 0xb0c2e850 <-- ret
0x13dffc0 | 0x1111460 -> 0x6e57e8
0x13dffc4 | 0
0x13dffc8 | 0
0x13dffcc | 0x1111460 -> 0x6e57e8
0x13dffd0 | 0
0x13dffd4 | 0x13dffc4 -> 0
0x13dffd8 | 0x8085065d
0x13dffdc | 0xffffffff
0x13dffe0 | 0x77e61a60 -> 0x83ec8b55
0x13dffe4 | 0x77e64830 -> 0xffffffff
0x13dffe8 | 0
0x13dffec | 0 \\\\\\ stack frame //////
0x13dfff0 | 0 <-- ret
0x13dfff4 | 0x77bcb35a -> 0x38680c6a
0x13dfff8 | 0x1111460 -> 0x6e57e8
0x13dfffc | 0
*****************************************************
*****************************************************
Error report - Sat May 31 03:12:27 2008

Compiler info - gcc 3.4.5 (mingw special)
Compilation Date - May 27 2008 11:15:38

Memory load: 43
Total phys: 2096388 K available phys: 1182952 K
Start time: 31-5-2008  2:52:40
Kernel time: 0:0:15.625
User time: 0:4:41.765
Threads: 3

Exception: 0xc0000005 at eip = 0x46bae9(DBResult::addRow(char**, unsigned long*, unsigned int) - 0x46ba30)
eax = 0x6
ebx = 0x2838a20 -> 0x2cfe2a8
ecx = 0x23a0ff0 -> 0xa
edx = 0x2e3c910 -> 0x6
esi = 0x107850b0 -> 0x2a4d120
edi = 0x3
ebp = 0x13df9a4 -> 0x13dfab4
esp = 0x13df97c -> 0x2050398
efl = 0x10206

---Stack Trace---
From: 0x13df97c to: 0x13e0000
0x13df97c | 0x2050398 -> 0x35303832
0x13df980 | 0x168278f -> 0x35303832
0x13df984 | 0x7
0x13df988 | 0x23a0f98 -> 0x1
0x13df98c | 0x8b38ded -> 0x70756f72
0x13df990 | 0x7
0x13df994 | 0x13dfbdc -> 0x4
0x13df998 | 0x272e901 -> 0
0x13df99c | 0x120c43e5 -> 0x756f6363
0x13df9a0 | 0x8b38ded -> 0x70756f72
0x13df9a4 | 0x13dfab4 -> 0x13dfcf4 \\\\\\ stack frame //////
0x13df9a8 | 0x46e899 -> 0xff508d8b <-- ret
0x13df9a8  DatabaseMySQL::storeQuery(DBQuery&, DBResult&)(0x46e182)
0x13df9ac | 0x13dfbdc -> 0x4
0x13df9b0 | 0x1682768 -> 0x168277c
0x13df9b4 | 0x23a0ff0 -> 0xa
0x13df9b8 | 0x4
0x13df9bc | 0x6cb304 -> 0x72746100
0x13df9c0 | 0xffffffff
0x13df9c4 | 0x120c43e4 -> 0x6f636361
0x13df9c8 | 0x120c43d8 -> 0xa
0x13df9cc | 0x13df9ec -> 0x2d9f893
0x13dfa4c  DatabaseMySQL::storeQuery(DBQuery&, DBResult&)(0x46e182)
0x13dfa90 | 0x13dfc24 -> 0x6e6b20
0x13dfa94 | 0x13dfab4 -> 0x13dfcf4
0x13dfa98 | 0x46c18c -> 0x8904ec83
0x13dfa98  _Database::escapeString(std::string const&)(0x46c162)
0x13dfa9c | 0x13dfbcc -> 0x2302d6c
0x13dfaa0 | 0x1f17a3c -> 0x7964614c
0x13dfaa4 | 0xa
0x13dfaa8 | 0x272e9f0 -> 0x1f17a3c
0x13dfaac | 0x148e378 -> 0x6e55a8
0x13dfab0 | 0x10004f61 -> 0xc4835e5f
0x13dfab4 | 0x13dfcf4 -> 0x13dfe24 \\\\\\ stack frame //////
0x13dfab8 | 0x4c6464 -> 0x974c084 <-- ret
0x13dfab8  IOLoginData::getGuidByNameEx(unsigned int&, bool&, std::string&)(0x4c6184)
0x13dfabc | 0x148e378 -> 0x6e55a8
0x13dfac0 | 0x13dfc1c -> 0x6e6b0c
0x13dfac4 | 0x13dfbdc -> 0x4
0x13dfac8 | 0x18
0x13dfacc | 0x3
0x13dfad0 | 0x1ffff
0x13dfad4 | 0x13dfa1c -> 0
0x13dfad8 | 0x670509 -> 0x5590c3c9
0x13dfb8c  IOLoginData::getGuidByNameEx(unsigned int&, bool&, std::string&)(0x4c6184)
0x13dfcd0 | 0x6ef50c -> 0x6e8640
0x13dfcd4 | 0x6ef514 -> 0x6e8600
0x13dfcd8 | 0x476acd -> 0x575c084
0x13dfcd8  Game::getPlayerByID(unsigned int)(0x476a94)
0x13dfcdc | 0x2c92ee0 -> 0x6e662c
0x13dfce0 | 0x13dfd00 -> 0x13dfd90
0x13dfce4 | 0x13dfd54 -> 0x13dfe68
0x13dfce8 | 0x272e9f0 -> 0x1f17a3c
0x13dfcec | 0x6e9f80 -> 0x1aef230
0x13dfcf0 | 0x10004f61 -> 0xc4835e5f
0x13dfcf4 | 0x13dfe24 -> 0x13dfe44 \\\\\\ stack frame //////
0x13dfcf8 | 0x48a74a -> 0x850fc084 <-- ret
0x13dfcf8  Game::playerRequestAddVip(unsigned int, std::string const&)(0x48a4b6)
0x13dfcfc | 0x6cb380 -> 0
0x13dfd00 | 0x13dfd90 -> 0x1
0x13dfd04 | 0x13dfd97 -> 0x3dfe687c
0x13dfd08 | 0x13dfdfc -> 0x1f17a3c
0x13dfd0c | 0x13dfdec -> 0x4ad94681
0x13dfd10 | 0x7c829f3d -> 0x840fc084
0x13dfd14 | 0x3f0718 -> 0x20573b0
0x13dfd18 | 0x7c829f59 -> 0x90000cc2
0x13dfdbc  Game::playerRequestAddVip(unsigned int, std::string const&)(0x48a4b6)
0x13dfe00 | 0
0x13dfe04 | 0x84
0x13dfe08 | 0x1111460 -> 0x6e57e8
0x13dfe0c | 0x2bf3fd8 -> 0x6e662c
0x13dfe10 | 0x10004e19 -> 0xc0330cc4
0x13dfe14 | 0x13dff60 -> 0x13dffa8
0x13dfe18 | 0x272e9f0 -> 0x1f17a3c
0x13dfe1c | 0x6e9f80 -> 0x1aef230
0x13dfe20 | 0x10004f61 -> 0xc4835e5f
0x13dfe24 | 0x13dfe44 -> 0x13dfee4 \\\\\\ stack frame //////
0x13dfe28 | 0x62e17c -> 0x8bf45d8b <-- ret
0x13dfe2c | 0x6e9f80 -> 0x1aef230
0x13dfe30 | 0x10004f61 -> 0xc4835e5f
0x13dfe34 | 0x272e9f0 -> 0x1f17a3c
0x13dfe38 | 0x1111460 -> 0x6e57e8
0x13dfe3c | 0x84
0x13dfe40 | 0
0x13dfe44 | 0x13dfee4 -> 0x13dff84 \\\\\\ stack frame //////
0x13dfe48 | 0x6587cb -> 0x8984458d <-- ret
0x13dfe4c | 0x282e0c4 -> 0x272e9e0
0x13dfe50 | 0
0x13dfe54 | 0x13dfee4 -> 0x13dff84
0x13dfe58 | 0x18
0x13dfe5c | 0x3
0x13dfe60 | 0x17d0b
0x13dfe64 | 0x282e0c0 -> 0x6e8818
0x13dfe68 | 0x22f0bc -> 0x13df1f0
0x13dfea8  OutputMessagePool::startExecutionFrame()(0x5509a8)
0x13dfec0 | 0xb4038f -> 0
0x13dfec4 | 0x77bb0000 -> 0xba102015
0x13dfec8 | 0x5d6981 -> 0x9090c3c9
0x13dfecc | 0x8d302c8 -> 0x2
0x13dfed0 | 0x77e61d43 -> 0x90000cc2
0x13dfed4 | 0x13dfee4 -> 0x13dff84
0x13dfed8 | 0x1111460 -> 0x6e57e8
0x13dfedc | 0x84
0x13dfee0 | 0
0x13dfee4 | 0x13dff84 -> 0x13dffb8 \\\\\\ stack frame //////
0x13dfee8 | 0x5b1ab1 -> 0x8990458b <-- ret
0x13dfee8  Dispatcher::dispatcherThread(void*)(0x5b1798)
0x13dfeec | 0x282e0c0 -> 0x6e8818
0x13dfef0 | 0xffffffff
0x13dfef4 | 0x1
0x13dfef8 | 0xb8943bf0
0x13dfefc | 0x80a80456
0x13dff00 | 0
0x13dff04 | 0
0x13dff08 | 0xb8943c1c
0x13dff3c  Dispatcher::dispatcherThread(void*)(0x5b1798)
0x13dff60 | 0x13dffa8 -> 0x13dffdc
0x13dff64 | 0x46f4fc -> 0x57e58955
0x13dff64  _SEHHandler(_EXCEPTION_RECORD*, void*, _CONTEXT*, void*)(0x46f4fc)
0x13dff68 | 0x8919edb0
0x13dff6c | 0x13dff50 -> 0xb40084
0x13dff70 | 0
0x13dff74 | 0x13dffa8 -> 0x13dffdc
0x13dff78 | 0x1111460 -> 0x6e57e8
0x13dff7c | 0x11114f8 -> 0x17b4
0x13dff80 | 0
0x13dff84 | 0x13dffb8 -> 0x13dffec \\\\\\ stack frame //////
0x13dff88 | 0x77bcb3ca -> 0xff4fe859 <-- ret
0x13dff8c | 0
0x13dff90 | 0
0x13dff94 | 0
0x13dff98 | 0x1111460 -> 0x6e57e8
0x13dff9c | 0x1
0x13dffa0 | 0x13dff90 -> 0
0x13dffa4 | 0x8085005e
0x13dffa8 | 0x13dffdc -> 0xffffffff
0x13dffac | 0x77bc6c74 -> 0x83ec8b55
0x13dffb0 | 0x77ba4138 -> 0xffffffff
0x13dffb4 | 0
0x13dffb8 | 0x13dffec -> 0 \\\\\\ stack frame //////
0x13dffbc | 0x77e64829 -> 0xb0c2e850 <-- ret
0x13dffc0 | 0x1111460 -> 0x6e57e8
0x13dffc4 | 0
0x13dffc8 | 0
0x13dffcc | 0x1111460 -> 0x6e57e8
0x13dffd0 | 0
0x13dffd4 | 0x13dffc4 -> 0
0x13dffd8 | 0x8085065d
0x13dffdc | 0xffffffff
0x13dffe0 | 0x77e61a60 -> 0x83ec8b55
0x13dffe4 | 0x77e64830 -> 0xffffffff
0x13dffe8 | 0
0x13dffec | 0 \\\\\\ stack frame //////
0x13dfff0 | 0 <-- ret
0x13dfff4 | 0x77bcb35a -> 0x38680c6a
0x13dfff8 | 0x1111460 -> 0x6e57e8
0x13dfffc | 0
*****************************************************

2 time server down for some reason.
 
same to me at morning 0.2pl23
Code:
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
no idea why it crashes ...
u guys know the reason ?
 
Back
Top Bottom