*** glibc detected *** /opt/mangos/bin/mangos-worldd: free(): invalid pointer: 0x7485dd00 *** ======= Backtrace: ========= /lib/libc.so.6[0xc2f09d] /lib/libc.so.6(cfree+0x90)[0xc326f0] /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x6df801] /opt/mangos/bin/mangos-worldd(_ZNSt8_Rb_treeIyySt9_IdentityIyESt4lessIyESaIyEE5eraseESt17_Rb_tree_iteratorIyES7_+0x53)[0x813d733] /opt/mangos/bin/mangos-worldd(_ZNSt8_Rb_treeIyySt9_IdentityIyESt4lessIyESaIyEE5eraseERKy+0x88)[0x813d808] /opt/mangos/bin/mangos-worldd(_ZN6Player18UpdateVisibilityOfI8CreatureEEvPT_R10UpdateDataRN9__gnu_cxx8hash_mapIPS_S4_NS6_4hashIS8_EESt8equal_toIS8_ESaIS4_EEERSt3setIP11WorldObjectSt4lessISI_ESaISI_EE+0xa1)[0x8201521] /opt/mangos/bin/mangos-worldd(_Z13VisitorHelperIN6MaNGOS15VisibleNotifierE8CreatureEvRT_R16ContainerMapListIT0_E+0x68)[0x81403a8] /opt/mangos/bin/mangos-worldd(_Z13VisitorHelperIN6MaNGOS15VisibleNotifierE8Creature8TypeListI13DynamicObjectS3_I6Corpse8TypeNullEEEvRT_R16ContainerMapListIS3_IT0_T1_EE+0x21)[0x8140711] /opt/mangos/bin/mangos-worldd(_ZNK4Cell5VisitI6RGuardIN7ZThread17FairReadWriteLockENS2_8LockableEEN6MaNGOS15VisibleNotifierE16TypeMapContainerI8TypeListI10GameObjectS9_I8CreatureS9_I13DynamicObjectS9_I6Corpse8TypeNullEEEEEEEvRK8CellLockIT_ER20TypeContainerVisitorIT0_T1_ER3Map+0x3e1)[0x8149681] /opt/mangos/bin/mangos-worldd(_ZN3Map26UpdateObjectsVisibilityForEP6Player4Cell9CoordPairILj512EE+0x193)[0x8139a53] /opt/mangos/bin/mangos-worldd(_ZN3Map16PlayerRelocationEP6Playerffff+0x38a)[0x813a17a] /opt/mangos/bin/mangos-worldd(_ZN6Player13relocateInMapEffff+0x3d)[0x81af55d] /opt/mangos/bin/mangos-worldd(_ZN6Player11SetPositionEffffb+0x264)[0x81f52b4] /opt/mangos/bin/mangos-worldd(_ZN12WorldSession21HandleMovementOpcodesER11WorldPacket+0x828)[0x834fd18] /opt/mangos/bin/mangos-worldd(_ZN12WorldSession6UpdateEj+0x11c)[0x8298fcc] /opt/mangos/bin/mangos-worldd(_ZN5World14UpdateSessionsEl+0xd7)[0x828bf57] /opt/mangos/bin/mangos-worldd(_ZN5World6UpdateEl+0x1f3)[0x8292cf3] /opt/mangos/bin/mangos-worldd(_ZN13WorldRunnable3runEv+0xad)[0x80f6f8d] /opt/mangos/lib/libZThread.so.0(_ZN7ZThread10ThreadImpl8dispatchEPS0_S1_NS_4TaskE+0x2b0)[0x468950] /opt/mangos/lib/libZThread.so.0(_ZN7ZThread47_GLOBAL__N__ZN7ZThread10ThreadImpl10_threadMapE8Launcher3runEv+0x56)[0x46af66] /opt/mangos/lib/libZThread.so.0(_dispatch+0x4b)[0x46e95b] /lib/libpthread.so.0[0xd513db] /lib/libc.so.6(clone+0x5e)[0xc9626e] ======= Memory map: ======== 00110000-00111000 r-xp 00110000 00:00 0 [vdso] 00111000-002c9000 r-xp 00000000 fd:00 6848521 /opt/mangos/lib/libmangosscript.so.0.0.0 002c9000-002d6000 rwxp 001b7000 fd:00 6848521 /opt/mangos/lib/libmangosscript.so.0.0.0 002d6000-002db000 rwxp 002d6000 00:00 0 002db000-003fb000 r-xp 00000000 fd:00 55902459 /usr/lib/mysql/libmysqlclient_r.so.15.0.0 003fb000-0043d000 rwxp 00120000 fd:00 55902459 /usr/lib/mysql/libmysqlclient_r.so.15.0.0 0043d000-0043e000 rwxp 0043d000 00:00 0 0043e000-00479000 r-xp 00000000 fd:00 6848520 /opt/mangos/lib/libZThread.so.0.2.3 00479000-0047a000 rwxp 0003b000 fd:00 6848520 /opt/mangos/lib/libZThread.so.0.2.3 0047a000-00485000 r-xp 00000000 fd:00 78970899 /lib/libgcc_s-4.1.1-20070108.so.1 00485000-00486000 rwxp 0000a000 fd:00 78970899 /lib/libgcc_s-4.1.1-20070108.so.1 00486000-0049e000 r-xp 00000000 fd:00 55263713 /usr/lib/libgssapi_krb5.so.2.2 0049e000-0049f000 rwxp 00017000 fd:00 55263713 /usr/lib/libgssapi_krb5.so.2.2 0049f000-004a8000 r-xp 00000000 fd:00 78970931 /lib/libnss_files-2.5.so 004a8000-004a9000 r-xp 00008000 fd:00 78970931 /lib/libnss_files-2.5.so 004a9000-004aa000 rwxp 00009000 fd:00 78970931 /lib/libnss_files-2.5.so 004b3000-004f4000 r-xp 00000000 fd:00 78971048 /lib/libssl.so.0.9.8a 004f4000-004f8000 rwxp 00040000 fd:00 78971048 /lib/libssl.so.0.9.8a 004f8000-00617000 r-xp 00000000 fd:00 78970926 /lib/libcrypto.so.0.9.8a 00617000-0062a000 rwxp 0011e000 fd:00 78970926 /lib/libcrypto.so.0.9.8a 0062a000-0062d000 rwxp 0062a000 00:00 0 0062d000-0070c000 r-xp 00000000 fd:00 55250995 /usr/lib/libstdc++.so.6.0.8 0070c000-00710000 r-xp 000de000 fd:00 55250995 /usr/lib/libstdc++.so.6.0.8 00710000-00711000 rwxp 000e2000 fd:00 55250995 /usr/lib/libstdc++.so.6.0.8 00711000-00717000 rwxp 00711000 00:00 0 00717000-0078a000 r-xp 00000000 fd:00 55259273 /usr/lib/libkrb5.so.3.2 0078a000-0078c000 rwxp 00073000 fd:00 55259273 /usr/lib/libkrb5.so.3.2 0078c000-007b0000 r-xp 00000000 fd:00 55258286 /usr/lib/libk5crypto.so.3.0 007b0000-007b1000 rwxp 00024000 fd:00 55258286 /usr/lib/libk5crypto.so.3.0 00bac000-00bc5000 r-xp 00000000 fd:00 78970883 /lib/ld-2.5.so 00bc5000-00bc6000 r-xp 00018000 fd:00 78970883 /lib/ld-2.5.so 00bc6000-00bc7000 rwxp 00019000 fd:00 78970883 /lib/ld-2.5.so 00bc9000-00d00000 r-xp 00000000 fd:00 78970889 /lib/libc-2.5.so 00d00000-00d02000 r-xp 00137000 fd:00 78970889 /lib/libc-2.5.so 00d02000-00d03000 rwxp 00139000 fd:00 78970889 /lib/libc-2.5.so 00d03000-00d06000 rwxp 00d03000 00:00 0 00d08000-00d0a000 r-xp 00000000 fd:00 78970891 /lib/libdl-2.5.so 00d0a000-00d0b000 r-xp 00001000 fd:00 78970891 /lib/libdl-2.5.so 00d0b000-00d0c000 rwxp 00002000 fd:00 78970891 /lib/libdl-2.5.so 00d0e000-00d33000 r-xp 00000000 fd:00 78970893 /lib/libm-2.5.so 00d33000-00d34000 r-xp 00024000 fd:00 78970893 /lib/libm-2.5.so 00d34000-00d35000 rwxp 00025000 fd:00 78970893 /lib/libm-2.5.so 00d37000-00d49000 r-xp 00000000 fd:00 55257105 /usr/lib/libz.so.1.2.3 00d49000-00d4a000 rwxp 00011000 fd:00 55257105 /usr/lib/libz.so.1.2.3 00d4c000-00d5f000 r-xp 00000000 fd:00 78970902 /lib/libpthread-2.5.so 00d5f000-00d60000 r-xp 00012000 fd:00 78970902 /lib/libpthread-2.5.so 00d60000-00d61000 rwxp 00013000 fd:00 78970902 /lib/libpthread-2.5.so 00d61000-00d63000 rwxp 00d61000 00:00 0 00d72000-00d85000 r-xp 00000000 fd:00 78970916 /lib/libnsl-2.5.so 00d85000-00d86000 r-xp 00012000 fd:00 78970916 /lib/libnsl-2.5.so 00d86000-00d87000 rwxp 00013000 fd:00 78970916 /lib/libnsl-2.5.so 00d87000-00d89000 rwxp 00d87000 00:00 0 00d8b000-00d9a000 r-xp 00000000 fd:00 78970918 /lib/libresolv-2.5.so 00d9a000-00d9b000 r-xp 0000e000 fd:00 78970918 /lib/libresolv-2.5.so 00d9b000-00d9c000 rwxp 0000f000 fd:00 78970918 /lib/libresolv-2.5.so 00d9c000-00d9e000 rwxp 00d9c000 00:00 0 00de1000-00de3000 r-xp 00000000 fd:00 78970924 /lib/libcom_err.so.2.1 00de3000-00de4000 rwxp 00001000 fd:00 78970924 /lib/libcom_err.so.2.1 00df8000-00dfb000 r-xp 00000000 fd:00 55258217 /usr/lib/libkrb5support.so.0.0 00dfb000-00dfc000 rwxp 00002000 fd:00 55258217 /usr/lib/libkrb5support.so.0.0 077ef000-077f4000 r-xp 00000000 fd:00 78970919 /lib/libcrypt-2.5.so 077f4000-077f5000 r-xp 00004000 fd:00 78970919 /lib/libcrypt-2.5.so 077f5000-077f6000 rwxp 00005000 fd:00 78970919 /lib/libcrypt-2.5.so 077f6000-0781d000 rwxp 077f6000 00:00 0 08048000-0848c000 r-xp 00000000 fd:00 15728646 /opt/mangos/bin/mangos-worldd 0848c000-0848f000 rw-p 00444000 fd:00 15728646 /opt/mangos/bin/mangos-worldd 0848f000-085a2000 rw-p 0848f000 00:00 0 09066000-15e1c000 rw-p 09066000 00:00 0 71698000-718c4000 rw-p 71698000 00:00 0 718c4000-71900000 ---p 718c4000 00:00 0 71a00000-71a2e000 rw-p 71a00000 00:00 0 71a2e000-71b00000 ---p 71a2e000 00:00 0 71c00000-71c87000 rw-p 71c00000 00:00 0 71c87000-71d00000 ---p 71c87000 00:00 0 71e00000-71eff000 rw-p 71e00000 00:00 0 71eff000-71f00000 ---p 71eff000 00:00 0 72000000-72200000 rw-p 72000000 00:00 0 72200000-7 Program received signal SIGABRT, Aborted. [Switching to Thread -1565803632 (LWP 5731)] 0x00110402 in __kernel_vsyscall () (gdb) bt #0 0x00110402 in __kernel_vsyscall () #1 0x00bf1d40 in raise () from /lib/libc.so.6 #2 0x00bf3591 in abort () from /lib/libc.so.6 #3 0x00c2733b in __libc_message () from /lib/libc.so.6 #4 0x00c2f09d in _int_free () from /lib/libc.so.6 #5 0x00c326f0 in free () from /lib/libc.so.6 #6 0x006df801 in operator delete () from /usr/lib/libstdc++.so.6 #7 0x0813d733 in std::_Rb_tree, std::less, std::allocator >::erase (this=0x7485dd00, __first={_M_node = 0x7485dd00}, __last={_M_node = 0x7a48bcb0}) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/ext/new_allocator.h:94 #8 0x0813d808 in std::_Rb_tree, std::less, std::allocator >::erase (this=0xdd28cac, __x=@0x107e7f20) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_tree.h:1215 #9 0x08201521 in Player::UpdateVisibilityOf (this=0xdd27f58, target=0x107e54f0, data=@0xa2abadb0, data_updates=@0xa2abade0, visibleNow=@0xa2abae0c) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_set.h:387 #10 0x081403a8 in VisitorHelper (v=@0xa2abadac, c=@0x106f6b4c) at GridNotifiersImpl.h:36 #11 0x08140711 in VisitorHelper > > (v=@0xa2abadac, c=@0x106f6b4c) at ./../framework/GameSystem/TypeContainerVisitor.h:70 #12 0x08149681 in Cell::Visit, MaNGOS::VisibleNotifier, TypeMapContainer > > > > > (this=0xa2abaf28, l=@0xa2abae24, visitor=@0xa2abae30, m=@0xb55c9a78) at ./../framework/GameSystem/TypeContainerVisitor.h:105 #13 0x08139a53 in Map::UpdateObjectsVisibilityFor (this=0xb55c9a78, player=0xdd27f58, cell=@0xa2abaf28, cellpair=@0xa2abaf0c) at Map.cpp:1399 #14 0x0813a17a in Map::PlayerRelocation (this=0xb55c9a78, player=0xdd27f58, x=-4026.01733, y=1118.7124, z=55.4487534, orientation=6.1152029) at Map.cpp:935 #15 0x081af55d in Player::relocateInMap (this=0xdd27f58, x=-4026.01733, y=1118.7124, z=55.4487534, ang=6.1152029) at Player.cpp:7341 #16 0x081f52b4 in Player::SetPosition (this=0xdd27f58, x=-4026.01733, y=1118.7124, z=55.4487534, orientation=6.1152029, teleport=false) at Player.cpp:4910 #17 0x0834fd18 in WorldSession::HandleMovementOpcodes (this=0xa4ab1e30, recv_data=@0x73c3ddc0) at MovementHandler.cpp:302 #18 0x08298fcc in WorldSession::Update (this=0xa4ab1e30) at WorldSession.cpp:577 #19 0x0828bf57 in World::UpdateSessions (this=0xb6a067b0, diff=173) at World.cpp:1945 #20 0x08292cf3 in World::Update (this=0xb6a067b0, diff=173) at World.cpp:984 #21 0x080f6f8d in WorldRunnable::run (this=0xae243c98) at WorldRunnable.cpp:61 #22 0x00468950 in ZThread::ThreadImpl::dispatch (parent=0x90758e8, impl=0xb0581808, task=@0xa2abb384) at ThreadImpl.cxx:407 #23 0x0046af66 in ZThread::(anonymous namespace)::Launcher::run (this=0xbfc904ec) at ThreadImpl.cxx:49 #24 0x0046e95b in _dispatch (arg=0xbfc904ec) at posix/ThreadOps.cxx:137 #25 0x00d513db in start_thread () from /lib/libpthread.so.0 #26 0x00c9626e in clone () from /lib/libc.so.6 (gdb) bt full No symbol table info available. #1 0x00bf1d40 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x00bf3591 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x00c2733b in __libc_message () from /lib/libc.so.6 No symbol table info available. #4 0x00c2f09d in _int_free () from /lib/libc.so.6 No symbol table info available. #5 0x00c326f0 in free () from /lib/libc.so.6 No symbol table info available. #6 0x006df801 in operator delete () from /usr/lib/libstdc++.so.6 No symbol table info available. #7 0x0813d733 in std::_Rb_tree, std::less, std::allocator >::erase (this=0x7485dd00, __first={_M_node = 0x7485dd00}, __last={_M_node = 0x7a48bcb0}) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/ext/new_allocator.h:94 No locals. #8 0x0813d808 in std::_Rb_tree, std::less, std::allocator >::erase (this=0xdd28cac, __x=@0x107e7f20) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_tree.h:1215 __p = {first = {_M_node = 0x7485dd00}, second = {_M_node = 0x7a48bcb0}} #9 0x08201521 in Player::UpdateVisibilityOf (this=0xdd27f58, target=0x107e54f0, data=@0xa2abadb0, data_updates=@0xa2abade0, visibleNow=@0xa2abae0c) at /usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1/bits/stl_set.h:387 No locals. #10 0x081403a8 in VisitorHelper (v=@0xa2abadac, c=@0x106f6b4c) at GridNotifiersImpl.h:36 No locals. No locals. #11 0x08140711 in VisitorHelper > > (v=@0xa2abadac, c=@0x106f6b4c) at ./../framework/GameSystem/TypeContainerVisitor.h:70 No locals. #12 0x08149681 in Cell::Visit, MaNGOS::VisibleNotifier, TypeMapContainer > > > > > (this=0xa2abaf28, l=@0xa2abae24, visitor=@0xa2abae30, m=@0xb55c9a78) at ./../framework/GameSystem/TypeContainerVisitor.h:105 r_zone = {data = {Part = {grid_x = 24, grid_y = 34, cell_x = 2, cell_y = 0, nocreate = 1, reserved = 0}, All = 1058968}} cell_iter = {x_coord = 13639668, y_coord = 1906311184} __PRETTY_FUNCTION__ = "void Cell::Visit(const CellLock&, TypeContainerVisitor&, Map&) const [with LOCK_TYPE = RGuard, T = MaNGOS::VisibleNotifier, CONT"... #13 0x08139a53 in Map::UpdateObjectsVisibilityFor (this=0xb55c9a78, player=0xdd27f58, cell=@0xa2abaf28, cellpair=@0xa2abaf0c) at Map.cpp:1399 notifier = {i_player = @0xdd27f58, i_data = {m_blockCount = 0, m_outOfRangeGUIDs = {_M_t = { _M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_key_compare = {<> = {}, }, _M_header = {_M_color = std::_S_red, _M_parent = 0x71a040f8, _M_left = 0x71a08ff8, _M_right = 0x71a0cd98}, _M_node_count = 3}}}, m_data = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 0, _storage = { >> = { _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_start = 0x71a090b8 "P\003�qP\003�q", _M_finish = 0x71a090b8 "P\003�qP\003�q", _M_end_of_storage = 0x71a0a0b8 ""}}, }}} , i_data_updates = {_M_ht = { ---Type to continue, or q to quit--- _M_node_allocator = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node > >> = {}, }, _M_hash = {}, _M_equals = {<> = {}, }, _M_get_key = {<> = {}, }, _M_buckets = { >*,std::allocator<__gnu_cxx::_Hashtable_node >*> >> = { _M_impl = { >*>> = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node >*>> = {}, }, _M_start = 0x71a0a158, _M_finish = 0x71a0a45c, _M_end_of_storage = 0x71a0a45c}}, }, _M_num_elements = 0}}, i_clientGUIDs = {_M_t = { _M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_key_compare = {<> = {}, }, _M_header = {_M_color = std::_S_red, _M_parent = 0x71a054e8, _M_left = 0x71a040d8, _M_right = 0x71a0cfc0}, _M_node_count = 18}}}, i_visibleNow = {_M_t = { _M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_key_compare = {<> = {}, }, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xa2abae10, _M_right = 0xa2abae10}, _M_node_count = 0}}}} world_notifier = {i_visitor = @0xa2abadac} grid_notifier = {i_visitor = @0xa2abadac} cell_lock = {i_cell = @0xa2abaf28, i_cellPair = @0xa2abaf0c} #14 0x0813a17a in Map::PlayerRelocation (this=0xb55c9a78, player=0xdd27f58, x=-4026.01733, y=1118.7124, z=55.4487534, orientation=6.1152029) at Map.cpp:935 oldGrid = (NGridType *) 0x110 old_cell = {data = {Part = {grid_x = 24, grid_y = 34, cell_x = 3, cell_y = 0, nocreate = 0, reserved = 0}, All = 14488}} new_cell = {data = {Part = {grid_x = 24, grid_y = 34, cell_x = 3, cell_y = 0, nocreate = 0, reserved = 0}, All = 14488}} newGrid = Variable "newGrid" is not available.