All pastes #974232 Raw Edit

Etwas

public text v1 · immutable
·published 2008-04-06 17:45 UTC
rendered paste body
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1115703632 (LWP 11112)]
WorldSocket::SendPacket (this=0x0, packet=0x42803990)
   at ./../../dep/include/zthread/Guard.h:183
183         l.getLock().acquire();
#0  WorldSocket::SendPacket (this=0x0, packet=0x42803990)
   at ./../../dep/include/zthread/Guard.h:183
       pck = (WorldPacket *) 0x2aab0217d000
       __PRETTY_FUNCTION__ = "void WorldSocket::SendPacket(WorldPacket*)"
#1  0x00000000006d190a in MaNGOS::VisibleNotifier::Notify (this=0x42803a20)
   at GridNotifiers.cpp:108
       packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0,
   _wpos = 48,
   _storage = {<std::_Vector_base<unsigned char,std::allocator<unsigned char> >> = {
       _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>},
         _M_start = 0x2aaae5a216a0 "\001", _M_finish = 0x2aaae5a216d0 "@",
         _M_end_of_storage = 0x2aaae5a216d0 "@"}}, <No data fields>}},
 m_opcode = 169}
#2  0x000000000052aa2a in Map::UpdateObjectsVisibilityFor (this=0x8ecfd00,
   player=0x2aaac2844790, cell=@0x42803c50, cellpair=@0x42803c00)
   at Map.cpp:1348
       notifier = {i_player = @0x2aaac2844790, i_data = {m_blockCount = 1,
   m_outOfRangeGUIDs = {_M_t = {
       _M_impl = {<std::allocator<std::_Rb_tree_node<long unsigned int> >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<long unsigned int> >> = {<No data fields>}, <No data fields>},
         _M_key_compare = {<> = {<No data fields>}, <No data fields>},
         _M_header = {_M_color = std::_S_red, _M_parent = 0x0,
           _M_left = 0x42803a38, _M_right = 0x42803a38},
         _M_node_count = 0}}}, m_data = {static DEFAULT_SIZE = 4096,
     _rpos = 0, _wpos = 210,
     _storage = {<std::_Vector_base<unsigned char,std::allocator<unsigned char> >> = {
         _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>},
           _M_start = 0x2aab02196e80 "\002ÿge",
           _M_finish = 0x2aab02196f52 "\024",
           _M_end_of_storage = 0x2aab02197e80 "0 0 0 0 Q}"}}, <No data fields>}}}, i_data_updates = {_M_ht = {
     _M_node_allocator = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::pair<Player* const, UpdateData> > >> = {<No data fields>}, <No data fields>}, _M_hash = {<No data fields>},
     _M_equals = {<> = {<No data fields>}, <No data fields>},
     _M_get_key = {<> = {<No data fields>}, <No data fields>},
     _M_buckets = {<std::_Vector_base<__gnu_cxx::_Hashtable_node<std::pair<Player* const, UpdateData> >*,std::allocator<__gnu_cxx::_Hashtable_node<std::pair<Player* const, UpdateData> >*> >> = {
         _M_impl = {<std::allocator<__gnu_cxx::_Hashtable_node<std::pair<Player* const, UpdateData> >*>> = {<__gnu_cxx::new_allocator<__gnu_cxx::_Hashtable_node<std::pair<Player* const, UpdateData> >*>> = {<No data fields>}, <No data fields>}, _M_start = 0x2aab021db5c0, _M_finish = 0x2aab021dbbc8,
           _M_end_of_storage = 0x2aab021dbbc8}}, <No data fields>},
     _M_num_elements = 6}}, i_clientGUIDs = {_M_t = {
     _M_impl = {<std::allocator<std::_Rb_tree_node<long unsigned int> >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<long unsigned int> >> = {<No data fields>}, <No data fields>},
       _M_key_compare = {<> = {<No data fields>}, <No data fields>},
       _M_header = {_M_color = std::_S_red, _M_parent = 0x0,
         _M_left = 0x42803ab8, _M_right = 0x42803ab8}, _M_node_count = 0}}},
 i_visibleNow = {_M_t = {
     _M_impl = {<std::allocator<std::_Rb_tree_node<WorldObject*> >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<WorldObject*> >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<> = {<No data fields>}, <No data fields>},
       _M_header = {_M_color = std::_S_red, _M_parent = 0x2aaade3558a0,
         _M_left = 0x2aaade3558a0, _M_right = 0x2aaade3558a0},
       _M_node_count = 1}}}}
       world_notifier = {i_visitor = @0x42803a20}
       grid_notifier = {i_visitor = @0x42803a20}
       cell_lock = {i_cell = @0x42803c50, i_cellPair = @0x42803c00}
#3  0x000000000052aedd in Map::PlayerRelocation (this=0x8ecfd00,
   player=0x2aaac2844790, x=<value optimized out>, y=<value optimized out>,
   z=<value optimized out>, orientation=<value optimized out>) at Map.cpp:878
       oldGrid = (NGridType *) 0xf9
       old_cell = {data = {Part = {grid_x = 31, grid_y = 27, cell_x = 1,
     cell_y = 0, nocreate = 0, reserved = 0}, All = 5855}}
       new_cell = {data = {Part = {grid_x = 31, grid_y = 27, cell_x = 1,
     cell_y = 0, nocreate = 0, reserved = 0}, All = 5855}}
       newGrid = <value optimized out>
       __PRETTY_FUNCTION__ = "void Map::PlayerRelocation(Player*, float, float, float, float)"
#4  0x00000000005d9d08 in Player::SetPosition (this=0x2aaac2844790,
   x=-448.588776, y=-2604.85645, z=97.018013, orientation=3.71470833,
   teleport=false) at Player.cpp:4986
       m = (class Map *) 0x8ecfd00
       old_x = <value optimized out>
       old_y = <value optimized out>
       old_r = <value optimized out>
#5  0x000000000073ab96 in WorldSession::HandleMovementOpcodes (
   this=0x2aab0090c200, recv_data=<value optimized out>)
   at MovementHandler.cpp:305
       data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0,
   _wpos = 32,
   _storage = {<std::_Vector_base<unsigned char,std::allocator<unsigned char> >> = {
       _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>},
         _M_start = 0x2aaac170db30 "\003/\022\001",
         _M_finish = 0x2aaac170db50 "Ê8",
         _M_end_of_storage = 0x2aaac170db50 "Ê8"}}, <No data fields>}},
 m_opcode = 190}
#6  0x0000000000678643 in WorldSession::Update (this=0x2aab0090c200)
   at WorldSession.cpp:581
       packet = (WorldPacket *) 0x2aaac03f6b80
       currTime = <value optimized out>
#7  0x000000000066c334 in World::UpdateSessions (this=<value optimized out>,
   diff=522) at World.cpp:1959
       next = {_M_cur = 0x2aab0035a8b0, _M_ht = 0xbfafc0}
#8  0x00000000006729af in World::Update (this=0xbfaf10, diff=522)
   at World.cpp:998
       i = 3
       AuctionMap = (AuctionHouseObject *) 0x42803fa0
#9  0x00000000004d01fb in WorldRunnable::run (this=<value optimized out>)
   at WorldRunnable.cpp:61
       diff = 522
       realCurrTime = 617709968
       realPrevTime = <value optimized out>
       prevSleepTime = 0
#10 0x00002b1e7b60ae18 in ZThread::ThreadImpl::dispatch (parent=0xbd72a0,
   impl=0x923a500, task=@0x42804100) at ThreadImpl.cxx:407
       g = {<ZThread::LockHolder<ZThread::Monitor>> = {_lock = @0x923a510,
   _enabled = true}, <ZThread::NonCopyable> = {<No data fields>}, <No data fields>}
#11 0x00002b1e7b60d306 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fff3047b670) at ThreadImpl.cxx:49
No locals.
#12 0x00002b1e7b610c4e in _dispatch (arg=0x178) at posix/ThreadOps.cxx:137
       __PRETTY_FUNCTION__ = "void* ZThread::_dispatch(void*)"
#13 0x00002b1e7b824317 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x00002b1e7c2a7d5d in clone () from /lib/libc.so.6
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.

Thread 8 (Thread 1124096336 (LWP 11114)):
#0  0x00002b1e7b82b271 in recv () from /lib/libpthread.so.0
#1  0x0000000000515dd3 in IRCClient::SockRecv (this=0x908a890)
   at mangchat/IRCSock.cpp:124
#2  0x00000000005075ee in IRCClient::run (this=0x9357dc0)
   at mangchat/IRCClient.cpp:83
#3  0x00002b1e7b60ae18 in ZThread::ThreadImpl::dispatch (parent=0xbd72a0,
   impl=0x93584d0, task=@0x43005100) at ThreadImpl.cxx:407
#4  0x00002b1e7b60d306 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fff3047b670) at ThreadImpl.cxx:49
#5  0x00002b1e7b610c4e in _dispatch (arg=0x1c) at posix/ThreadOps.cxx:137
#6  0x00002b1e7b824317 in start_thread () from /lib/libpthread.so.0
#7  0x00002b1e7c2a7d5d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 7 (Thread 1107310928 (LWP 11113)):
#0  0x00002b1e7c26e2e1 in nanosleep () from /lib/libc.so.6
#1  0x00002b1e7c2a1844 in usleep () from /lib/libc.so.6
#2  0x00000000004c7eeb in CliRunnable::run (this=<value optimized out>)
   at CliRunnable.cpp:962
#3  0x00002b1e7b60ae18 in ZThread::ThreadImpl::dispatch (parent=0xbd72a0,
   impl=0x902a8e0, task=@0x42003100) at ThreadImpl.cxx:407
#4  0x00002b1e7b60d306 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fff3047b670) at ThreadImpl.cxx:49
#5  0x00002b1e7b610c4e in _dispatch (arg=0x42002eb0) at posix/ThreadOps.cxx:137
#6  0x00002b1e7b824317 in start_thread () from /lib/libpthread.so.0
#7  0x00002b1e7c2a7d5d in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 1115703632 (LWP 11112)):
#0  WorldSocket::SendPacket (this=0x0, packet=0x42803990)
   at ./../../dep/include/zthread/Guard.h:183
#1  0x00000000006d190a in MaNGOS::VisibleNotifier::Notify (this=0x42803a20)
   at GridNotifiers.cpp:108
#2  0x000000000052aa2a in Map::UpdateObjectsVisibilityFor (this=0x8ecfd00,
   player=0x2aaac2844790, cell=@0x42803c50, cellpair=@0x42803c00)
   at Map.cpp:1348
#3  0x000000000052aedd in Map::PlayerRelocation (this=0x8ecfd00,
   player=0x2aaac2844790, x=<value optimized out>, y=<value optimized out>,
   z=<value optimized out>, orientation=<value optimized out>) at Map.cpp:878
#4  0x00000000005d9d08 in Player::SetPosition (this=0x2aaac2844790,
   x=-448.588776, y=-2604.85645, z=97.018013, orientation=3.71470833,
   teleport=false) at Player.cpp:4986
#5  0x000000000073ab96 in WorldSession::HandleMovementOpcodes (
   this=0x2aab0090c200, recv_data=<value optimized out>)
   at MovementHandler.cpp:305
#6  0x0000000000678643 in WorldSession::Update (this=0x2aab0090c200)
   at WorldSession.cpp:581
#7  0x000000000066c334 in World::UpdateSessions (this=<value optimized out>,
   diff=522) at World.cpp:1959
#8  0x00000000006729af in World::Update (this=0xbfaf10, diff=522)
   at World.cpp:998
#9  0x00000000004d01fb in WorldRunnable::run (this=<value optimized out>)
   at WorldRunnable.cpp:61
#10 0x00002b1e7b60ae18 in ZThread::ThreadImpl::dispatch (parent=0xbd72a0,
   impl=0x923a500, task=@0x42804100) at ThreadImpl.cxx:407
#11 0x00002b1e7b60d306 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fff3047b670) at ThreadImpl.cxx:49
#12 0x00002b1e7b610c4e in _dispatch (arg=0x178) at posix/ThreadOps.cxx:137
#13 0x00002b1e7b824317 in start_thread () from /lib/libpthread.so.0
#14 0x00002b1e7c2a7d5d in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 4 (Thread 1098918224 (LWP 11067)):
#0  0x00002b1e7b828997 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
  from /lib/libpthread.so.0
#1  0x00002b1e7b5f6d23 in ZThread::Monitor::wait (this=0xbf4540,
   ms=<value optimized out>) at posix/Monitor.cxx:118
#2  0x00002b1e7b60c321 in ZThread::ThreadImpl::sleep (ms=10)
   at ThreadImpl.cxx:295
#3  0x0000000000764d7b in SqlDelayThread::run (this=0xbeda90)
   at SqlDelayThread.cpp:38
#4  0x00002b1e7b60ae18 in ZThread::ThreadImpl::dispatch (parent=0xbd72a0,
   impl=0xbf4500, task=@0x41802100) at ThreadImpl.cxx:407
#5  0x00002b1e7b60d306 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fff3047b510) at ThreadImpl.cxx:49
#6  0x00002b1e7b610c4e in _dispatch (arg=0xbf4574) at posix/ThreadOps.cxx:137
#7  0x00002b1e7b824317 in start_thread () from /lib/libpthread.so.0
#8  0x00002b1e7c2a7d5d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 1090525520 (LWP 11066)):
#0  0x00002b1e7b828997 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
  from /lib/libpthread.so.0
#1  0x00002b1e7b5f6d23 in ZThread::Monitor::wait (this=0xbed430,
   ms=<value optimized out>) at posix/Monitor.cxx:118
#2  0x00002b1e7b60c321 in ZThread::ThreadImpl::sleep (ms=10)
   at ThreadImpl.cxx:295
#3  0x0000000000764d7b in SqlDelayThread::run (this=0xbd79e0)
   at SqlDelayThread.cpp:38
#4  0x00002b1e7b60ae18 in ZThread::ThreadImpl::dispatch (parent=0xbd72a0,
   impl=0xbed3f0, task=@0x41001100) at ThreadImpl.cxx:407
#5  0x00002b1e7b60d306 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fff3047b510) at ThreadImpl.cxx:49
#6  0x00002b1e7b610c4e in _dispatch (arg=0xbed464) at posix/ThreadOps.cxx:137
#7  0x00002b1e7b824317 in start_thread () from /lib/libpthread.so.0
#8  0x00002b1e7c2a7d5d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 1082132816 (LWP 11065)):
#0  0x00002b1e7b828997 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
  from /lib/libpthread.so.0
#1  0x00002b1e7b5f6d23 in ZThread::Monitor::wait (this=0xbd6f10,
   ms=<value optimized out>) at posix/Monitor.cxx:118
#2  0x00002b1e7b60c321 in ZThread::ThreadImpl::sleep (ms=10)
   at ThreadImpl.cxx:295
#3  0x0000000000764d7b in SqlDelayThread::run (this=0xbc96b0)
   at SqlDelayThread.cpp:38
#4  0x00002b1e7b60ae18 in ZThread::ThreadImpl::dispatch (parent=0xbd72a0,
   impl=0xbd6ed0, task=@0x40800100) at ThreadImpl.cxx:407
#5  0x00002b1e7b60d306 in ZThread::(anonymous namespace)::Launcher::run (
   this=0x7fff3047b510) at ThreadImpl.cxx:49
#6  0x00002b1e7b610c4e in _dispatch (arg=0xbd6f44) at posix/ThreadOps.cxx:137
#7  0x00002b1e7b824317 in start_thread () from /lib/libpthread.so.0
#8  0x00002b1e7c2a7d5d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 47409945133760 (LWP 11062)):
#0  0x00002b1e7baa5027 in std::_Rb_tree_increment ()
  from /usr/lib/libstdc++.so.6
#1  0x00000000006860d8 in WorldSocketMgr::Update (this=<value optimized out>,
   diff=1) at /usr/include/c++/4.1.3/bits/stl_tree.h:265
#2  0x00000000004cc91e in Master::Run (this=0xbcbf90) at Master.cpp:226
#3  0x00000000004cba70 in main (argc=3, argv=0x7fff3047be88) at Main.cpp:144
183         l.getLock().acquire();