TrinityCore/TrinityCore — Issue #5376: [CRASH]  Object::_BuildMovementUpdate (this=0x7fd58d733000, data=0x5328db00, flags=<value optimized out>)
Author: dulloa
Created: 2012-02-22 20:34:44+00:00
State: open

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x53291950 (LWP 21769)]
Object::_BuildMovementUpdate (this=0x7fd58d733000, data=0x5328db00, flags=)
at /home/tcuser/tc_source/TrinityCore/src/server/shared/Packets/ByteBuffer.h:100
100 append(value);
(gdb) bt
#0 Object::_BuildMovementUpdate (this=0x7fd58d733000, data=0x5328db00, flags=)
at /home/tcuser/tc_source/TrinityCore/src/server/shared/Packets/ByteBuffer.h:100
#1 0x00000000008a0132 in Object::BuildCreateUpdateBlockForPlayer (this=0x7fd58d733000, data=0x5328db90, target=0x7fd58d733000)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Entities/Object/Object.cpp:255
#2 0x0000000000ab0365 in Map::SendInitSelf (this=, player=0x7fd58d733000)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Maps/Map.cpp:1906
#3 0x0000000000ab9f01 in Map::AddPlayerToMap (this=0x7fd55827c000, player=0x7fd58d733000) at /home/tcuser/tc_source/TrinityCore/src/server/game/Maps/Map.cpp:402
#4 0x0000000000aba0f1 in BattlegroundMap::AddPlayerToMap (this=0x7fd55827c000, player=0x7fd58d733000)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Maps/Map.cpp:2640
#5 0x0000000000cb4517 in WorldSession::HandleMoveWorldportAckOpcode (this=0x7fd594c23e00)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Handlers/MovementHandler.cpp:91
#6 0x0000000000b22840 in WorldSession::Update (this=0x7fd594c23e00, diff=, updater=@0x53290f90)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Server/WorldSession.cpp:313
#7 0x0000000000bb2d7c in World::UpdateSessions (this=0x7fd5d8335808, diff=63) at /home/tcuser/tc_source/TrinityCore/src/server/game/World/World.cpp:2565
#8 0x0000000000bbb4e1 in World::Update (this=0x7fd5d8335808, diff=63) at /home/tcuser/tc_source/TrinityCore/src/server/game/World/World.cpp:1938
#9 0x00000000007f2336 in WorldRunnable::run (this=)
at /home/tcuser/tc_source/TrinityCore/src/server/worldserver/WorldThread/WorldRunnable.cpp:59
#10 0x0000000000d2aafa in ACE_Based::Thread::ThreadTask (param=0x5328db00) at /home/tcuser/tc_source/TrinityCore/src/server/shared/Threading/Threading.cpp:183
#11 0x00007fd5e3e8ef43 in ACE_OS_Thread_Adapter::invoke (this=0x90002) at ../../ace/OS_Thread_Adapter.cpp:103
#12 0x00007fd5e27a1fc7 in start_thread () from /lib/libpthread.so.0
#13 0x00007fd5e251764d in clone () from /lib/libc.so.6
#14 0x0000000000000000 in ?? ()

(gdb) bt full
#0 Object::_BuildMovementUpdate (this=0x7fd58d733000, data=0x5328db00, flags=)
at /home/tcuser/tc_source/TrinityCore/src/server/shared/Packets/ByteBuffer.h:100
No locals.
#1 0x00000000008a0132 in Object::BuildCreateUpdateBlockForPlayer (this=0x7fd58d733000, data=0x5328db90, target=0x7fd58d733000)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Entities/Object/Object.cpp:255
updateMask = {mCount = 1395186576, mBlocks = 0, mUpdateMask = 0x7fd58d733000}
updatetype =
flags = 4
buf = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 78, _storage = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_start = 0x7fd558250600 "\003\a\201£\004\004ñ", _M_finish = 0x7fd55825064e "", _M_end_of_storage = 0x7fd5582507f4 ""}}, }}
#2 0x0000000000ab0365 in Map::SendInitSelf (this=, player=0x7fd58d733000)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Maps/Map.cpp:1906
data = {m_blockCount = 280, m_outOfRangeGUIDs = {_M_t = {
_M_impl = { >> = {<__gnu_cxx::new_allocator >> = {}, }, _M_key_compare = {> = {}, }, _M_header = {
_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x5328dba0, _M_right = 0x5328dba0}, _M_node_count = 0}}}, m_data = {static DEFAULT_SIZE = 4096,
_rpos = 0, _wpos = 20663, _storage = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_start = 0x7fd5570c1000 "\002\217îAÀ\023@\001\020", _M_finish = 0x7fd5570c60b7 "\v", _M_end_of_storage = 0x7fd5570c8e16 ""}}, }}}
packet = { = {static DEFAULT_SIZE = 4096, _rpos = 20, _wpos = 140555187238048,
_storage = { >> = {
_M_impl = {> = {<__gnu_cxx::new_allocator> = {}, },
_M_start = 0x7fd58e01b400 "pé \001", _M_finish = 0x99b91f "9ÃrÕ[]A\\Ã\017\037\204",
_M_end_of_storage = 0x248

}}, }}, m_opcode = 1000}
#3 0x0000000000ab9f01 in Map::AddPlayerToMap (this=0x7fd55827c000, player=0x7fd58d733000) at /home/tcuser/tc_source/TrinityCore/src/server/game/Maps/Map.cpp:402
cell = {data = {Part = {grid_x = 34, grid_y = 34, cell_x = 6, cell_y = 6, nocreate = 0, reserved = 0}, All = 1599650}}
__FUNCTION__ = "AddPlayerToMap"
#4 0x0000000000aba0f1 in BattlegroundMap::AddPlayerToMap (this=0x7fd55827c000, player=0x7fd58d733000)
at /home/tcuser/tc_source/TrinityCore/src/server/game/Maps/Map.cpp:2640
__FUNCTION__ = "AddPlayerToMap"
#5 0x0000000000cb4517 in WorldSession::HandleMoveWorldportAckOpcode (this=0x7fd594c23e00)
at /home/fraisehºn/tc_source/TrinityCore/src/server/game/Handlers/MovementHandler.cpp:91
mEntry = (const MapEntry *) 0x7fd5d0550858
mInstance = (const InstanceTemplate *) 0x7fd5d06378a2
oldMap = (class Map *) 0x7fd5c2006000
newMap = (class Map *) 0x7fd55827c000
corpse =
allowMount =
newzone =
newarea =
__FUNCTION__ = "HandleMoveWorldportAckOpcode"
#6 0x0000000000b22840 in WorldSession::Update (this=0x7fd594c23e00, diff=, updater=@0x53290f90)
---Type to continue, or q to quit---
at /home/tcuser/tc_source/TrinityCore/src/server/game/Server/WorldSession.cpp:313
packet = (WorldPacket *) 0x7fd594d27070
deletePacket = true
firstDelayedPacket = (WorldPacket *) 0x0
#7 0x0000000000bb2d7c in World::UpdateSessions (this=0x7fd5d8335808, diff=63) at /home/tcuser/tc_source/TrinityCore/src/server/game/World/World.cpp:2565
pSession = (WorldSession *) 0x7fd594c23e00
updater = { = {_vptr.PacketFilter = 0x1238d50, m_pSession = 0x7fd594c23e00}, }
sess =
#8 0x0000000000bbb4e1 in World::Update (this=0x7fd5d8335808, diff=63) at /home/tcuser/tc_source/TrinityCore/src/server/game/World/World.cpp:1938
No locals.
#9 0x00000000007f2336 in WorldRunnable::run (this=)
at /home/tcuser/tc_source/TrinityCore/src/server/worldserver/WorldThread/WorldRunnable.cpp:59
diff = 63
realCurrTime = 407308
realPrevTime = 407245
prevSleepTime = 48
#10 0x0000000000d2aafa in ACE_Based::Thread::ThreadTask (param=0x5328db00) at /home/tcuser/tc_source/TrinityCore/src/server/shared/Threading/Threading.cpp:183
No locals.
#11 0x00007fd5e3e8ef43 in ACE_OS_Thread_Adapter::invoke (this=0x90002) at ../../ace/OS_Thread_Adapter.cpp:103
hook = (class ACE_Thread_Hook *) 0x4a381
func = (ACE_THR_FUNC_INTERNAL) 0xd2aaf0
arg = (void *) 0x7fd5ad73e200
cancel_flags =
status = (ACE_THR_FUNC_RETURN) 0x0
#12 0x00007fd5e27a1fc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#13 0x00007fd5e251764d in clone () from /lib/libc.so.6
No symbol table info available.
#14 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)