Jump to content

|CRASH|HELP| WorldSession::HandleSetActiveMoverOpcode


Auntie Mangos

Recommended Posts

  • 39 years later...

well, i have this crashes, and i dont know exactly how i can fix it

1. For this i try add some checks before if(_player->m_mover->GetGUID() != guid) but dont work, (I suppose is for speedhack, move to fast)

Core was generated by `./bin/mangos-worldd -c etc/mangosd.conf'.
Program terminated with signal 11, Segmentation fault.
[New process 21623]
[New process 21631]
[New process 21630]
[New process 21629]
[New process 21628]
[New process 21627]
[New process 21626]
[New process 21625]
[New process 21624]
[New process 21619]
[New process 21618]
[New process 21617]
[New process 21615]
#0  0x00000000008115e1 in WorldSession::HandleSetActiveMoverOpcode (
   this=0x2aaacec00800, recv_data=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/game/MovementHandler.cpp:455
455        if(_player->m_mover->GetGUID() != guid)
#0  0x00000000008115e1 in WorldSession::HandleSetActiveMoverOpcode (
   this=0x2aaacec00800, recv_data=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/game/MovementHandler.cpp:455
No locals.
#1  0x00000000007aa96b in WorldSession::Update (this=0x2aaacec00800)
   at /root/Desktop/Mangos/Sources/src/game/WorldSession.cpp:186
   opHandle = (OpcodeHandler &) @0x8: <error reading variable>
   packet = (WorldPacket *) 0x2aab847120d0
   currTime = <value optimized out>
#2  0x00000000007a2356 in World::UpdateSessions (this=0x11ce99d0, diff=115)
   at /root/Desktop/Mangos/Sources/src/game/World.cpp:2085
   sess = <value optimized out>
#3  0x00000000007a25eb in World::Update (this=0x11ce99d0, diff=115)
   at /root/Desktop/Mangos/Sources/src/game/World.cpp:1638
No locals.
#4  0x00000000004c573f in WorldRunnable::run (this=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/mangosd/WorldRunnable.cpp:60
   diff = 115
   realCurrTime = 1203891620
   realPrevTime = <value optimized out>
   prevSleepTime = 0
#5  0x000000000085580d in ACE_Based::Thread::ThreadTask (param=0x2aab847120d0)
   at /root/Desktop/Mangos/Sources/src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x2aaacd7bbe10
#6  0x00000038aba064a7 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#7  0x00000038aaed3c2d in clone () from /lib64/libc.so.6
No symbol table info available.

2. I dont know why exactly is this crash, maybe creature summoned by Vehicle??

Core was generated by `./bin/mangos-worldd -c etc/mangosd.conf'.
Program terminated with signal 11, Segmentation fault.
[New process 4300]
[New process 4312]
[New process 4310]
[New process 4309]
[New process 4305]
[New process 4304]
[New process 4303]
[New process 4302]
[New process 4301]
[New process 4296]
[New process 4295]
[New process 4294]
[New process 4292]
#0  0x0000000000bb2400 in vtable for __cxxabiv1::__si_class_type_info ()
#0  0x0000000000bb2400 in vtable for __cxxabiv1::__si_class_type_info ()
No symbol table info available.
#1  0x0000000000626022 in Map::Remove<Creature> (this=0x2aab7ec61900, 
   obj=0x2aab7ec92520, remove=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/game/Map.cpp:1021
   cell = {data = {Part = {grid_x = 31, grid_y = 32, cell_x = 7, 
     cell_y = 0, nocreate = 0, reserved = 0}, All = 30751}}
   grid = (
   NGrid<8u,Player,TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > >,TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > >,MaNGOS::SingleThreaded<Player> > *) 0x2aab7ec79bd0
   __PRETTY_FUNCTION__ = "void Map::Remove(T*, bool) [with T = Creature]"
#2  0x0000000000609f4b in Map::RemoveAllObjectsInRemoveList (
   this=0x2aab7ec61900) at /root/Desktop/Mangos/Sources/src/game/Map.cpp:2372
   obj = (class WorldObject *) 0x2aab7ec92520
#3  0x00000000008067d2 in MapInstanced::RemoveAllObjectsInRemoveList (
   this=0x210d5bf0)
   at /root/Desktop/Mangos/Sources/src/game/MapInstanced.cpp:93
   i = {_M_cur = 0x2aab7c173940, _M_ht = 0x210edea0}
#4  0x000000000062b133 in MapManager::DoDelayedMovesAndRemoves (
   this=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/game/MapManager.cpp:277
   iter = {_M_cur = 0x210f2940, _M_ht = 0x10acf5f8}
#5  0x00000000007a2b5b in World::Update (this=0x2aaaac008e20, diff=88)
   at /root/Desktop/Mangos/Sources/src/game/World.cpp:1704
No locals.
#6  0x00000000004ff62f in WorldRunnable::run (this=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/mangosd/WorldRunnable.cpp:64
   diff = 88
   realCurrTime = 990641307
   realPrevTime = <value optimized out>
   prevSleepTime = 16
#7  0x0000000000846803 in ACE_Based::Thread::ThreadTask (param=0x2aab7ec92520)
   at /root/Desktop/Mangos/Sources/src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x2aaaacdb5730
#8  0x00000038aba064a7 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#9  0x00000038aaed3c2d in clone () from /lib64/libc.so.6
No symbol table info available.

any ideas?

Thanks!

Link to comment
Share on other sites

hello, this doesn't happen through speedhacks i think.. it happens when a player for example charms a creature the creature get's deleted but players m_mover variable will still point to the "Unit*" which doesn't exist anymore..

my ideas for a solution were:

1. use Unit-guid instead of pointer (this will make the code slow and you have to do much rewritings)

2. store guid (safe but slow)/pointer(fast but might point to invalid memory later) to the charmed creature

so at:

plr->SetMover(unit);

also add

unit->SetMovementOwner(plr);

and inside Unit::RemoveFromWorld()

{

add

if(m_movementowner)m_movementowner->SetMover(NULL);

...

also inside

Unit::SetMovementOwner(Player* plr)

{

add

if(m_movementowner)m_movementowner->SetMover(NULL);

cause Unit gets now moved through another player so the current mover now can't move this creature around..

---

problem is that i myself haven't looked at the whole mover-stuff already.. and i also don't understand the problem fully.. what i've wrote here are just my thoughts about this.. it's possible that they are wrong or hacky.. but maybe also can give a hint to this problem.. :)

edit:

crash happens cause

m_mover points to some random garbage

and then we try:

random_garbage->GetGUID()

(just if this wasn't that clear from my post)

random garbage happens cause the place where m_mover pointed at, got deleted somewhere else, but we haven't set m_mover to something valid after the deletion

Link to comment
Share on other sites

Nothing, i continue having this crash!

Core was generated by `./bin/mangos-worldd -c etc/mangosd.conf'.

Program terminated with signal 11, Segmentation fault.

[New process 21635]

[New process 21644]

[New process 21643]

[New process 21642]

[New process 21641]

[New process 21640]

[New process 21639]

[New process 21638]

[New process 21637]

[New process 21636]

[New process 21633]

[New process 21632]

[New process 21631]

[New process 21629]

#0 0x00000000007fd011 in WorldSession::HandleSetActiveMoverOpcode (

this=0x224ea470, recv_data=<value optimized out>)

at /root/Desktop/Mangos/Sources/src/game/MovementHandler.cpp:457

457 if(_player->m_mover->GetGUID() != guid)

#0 0x00000000007fd011 in WorldSession::HandleSetActiveMoverOpcode (

this=0x224ea470, recv_data=<value optimized out>)

at /root/Desktop/Mangos/Sources/src/game/MovementHandler.cpp:457

No locals.

#1 0x000000000079d21b in WorldSession::Update (this=0x224ea470)

at /root/Desktop/Mangos/Sources/src/game/WorldSession.cpp:186

opHandle = (OpcodeHandler &) @0x8: <error reading variable>

packet = (WorldPacket *) 0x2aab2d7e7530

currTime = <value optimized out>

#2 0x000000000079464a in World::UpdateSessions (this=0x2aaaac006ce0, diff=211)

at /root/Desktop/Mangos/Sources/src/game/World.cpp:2076

sess = <value optimized out>

#3 0x0000000000794e91 in World::Update (this=0x2aaaac006ce0, diff=211)

at /root/Desktop/Mangos/Sources/src/game/World.cpp:1629

No locals.

#4 0x00000000004c4edf in WorldRunnable::run (this=<value optimized out>)

at /root/Desktop/Mangos/Sources/src/mangosd/WorldRunnable.cpp:60

diff = 211

realCurrTime = 1534810459

realPrevTime = <value optimized out>

prevSleepTime = 0

#5 0x000000000084edfd in ACE_Based::Thread::ThreadTask (param=0x2aab2d7e7530)

at /root/Desktop/Mangos/Sources/src/shared/Threading.cpp:183

_task = (class ACE_Based::Runnable *) 0x2aaaacede0d0

#6 0x00002b96fc3d3617 in start_thread () from /lib64/libpthread.so.0

No symbol table info available.

#7 0x00002b96fc940c2d in clone () from /lib64/libc.so.6

No symbol table info available.

Some help please.!

Link to comment
Share on other sites

Confirmed same crash in 8918:

WorldSession::HandleSetActiveMoverOpcode (this=0x7fffa214d9f0, recv_data=...)
   at ../../../src/game/MovementHandler.cpp:778
[color="Red"]778        if(_player->m_mover->GetGUID() != guid)[/color]
#0  WorldSession::HandleSetActiveMoverOpcode (this=0x7fffa214d9f0, 
   recv_data=...) at ../../../src/game/MovementHandler.cpp:778
#1  0x0000000000752da2 in WorldSession::Update (this=0x7fffa214d9f0)
   at ../../../src/game/WorldSession.cpp:230
#2  0x000000000074bd2a in World::UpdateSessions (this=0x7ffff0024370, diff=56)
   at ../../../src/game/World.cpp:2108
#3  0x000000000074c5cb in World::Update (this=0x7ffff0024370, diff=56)
   at ../../../src/game/World.cpp:1651
#4  0x00000000004e3e1c in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#5  0x00000000007fc74c in ACE_Based::Thread::ThreadTask (param=0x31183eb0)
   at ../../../src/shared/Threading.cpp:183
#6  0x00007ffff62e5a04 in start_thread () from /lib/libpthread.so.0
#7  0x00007ffff58a47bd in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()
#0  WorldSession::HandleSetActiveMoverOpcode (this=0x7fffa214d9f0, 
   recv_data=...) at ../../../src/game/MovementHandler.cpp:778
       guid = 4000683
#1  0x0000000000752da2 in WorldSession::Update (this=0x7fffa214d9f0)
   at ../../../src/game/WorldSession.cpp:230
       packet = 0x7fffa75f2270
       currTime = <value optimized out>
#2  0x000000000074bd2a in World::UpdateSessions (this=0x7ffff0024370, diff=56)
   at ../../../src/game/World.cpp:2108
       itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, WorldSession*>, false>> = {_M_cur_node = 0x7ffff0024370, 
           _M_cur_bucket = 0x7ffff7b2ba16}, <No data fields>}
       sess = <value optimized out>
#3  0x000000000074c5cb in World::Update (this=0x7ffff0024370, diff=56)
   at ../../../src/game/World.cpp:1651
       autobroadcaston = 0
#4  0x00000000004e3e1c in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 56
       realCurrTime = 1590087014
       realPrevTime = <value optimized out>
       prevSleepTime = 12
#5  0x00000000007fc74c in ACE_Based::Thread::ThreadTask (param=0x31183eb0)
   at ../../../src/shared/Threading.cpp:183
       _task = 0x7ffff131bd00
#6  0x00007ffff62e5a04 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x00007ffff58a47bd in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
 15 Thread 0x7fffe31f8910 (LWP 32119)  operator> (this=0x7fffe31f7f90)
   at ../../ace/Time_Value.inl:239
 14 Thread 0x7fffe39f9910 (LWP 32118)  0x00007ffff58a4df8 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x7fffe41fa910 (LWP 32117)  0x00007ffff58a4df8 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x7fffe49fb910 (LWP 32116)  0x00007ffff62ed8f1 in nanosleep ()
  from /lib/libpthread.so.0
 11 Thread 0x7fffe51fc910 (LWP 32115)  0x00007ffff589d3c2 in select ()
  from /lib/libc.so.6
 10 Thread 0x7fffe59fd910 (LWP 32114)  0x00007ffff5868ed1 in nanosleep ()
  from /lib/libc.so.6
* 9 Thread 0x7fffe61fe910 (LWP 32113)  WorldSession::HandleSetActiveMoverOpcode
   (this=0x7fffa214d9f0, recv_data=...)
   at ../../../src/game/MovementHandler.cpp:778
 8 Thread 0x7fffe69ff910 (LWP 32112)  0x00007ffff62ea5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 7 Thread 0x7fffe7200910 (LWP 32111)  0x00007ffff62ea5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 5 Thread 0x7fffef7fe910 (LWP 32108)  0x00007ffff62ed8f1 in nanosleep ()
  from /lib/libpthread.so.0
 4 Thread 0x7fffeffff910 (LWP 32107)  0x00007ffff62ed8f1 in nanosleep ()
  from /lib/libpthread.so.0
 3 Thread 0x7ffff5371910 (LWP 32106)  0x00007ffff62ed8f1 in nanosleep ()
  from /lib/libpthread.so.0
 1 Thread 0x7ffff7fec710 (LWP 32102)  0x00007ffff62e6cfd in pthread_join ()
  from /lib/libpthread.so.0

Thread 15 (Thread 0x7fffe31f8910 (LWP 32119)):
#0  operator> (this=0x7fffe31f7f90) at ../../ace/Time_Value.inl:239
No locales.
#1  ACE_Countdown_Time::stop (this=0x7fffe31f7f90)
   at ../../ace/Countdown_Time.cpp:44
No locales.
#2  0x00007ffff7af9fa0 in ACE_Countdown_Time::update (this=0x7ffff130a420, 
   max_wait_time=0x7fffe31f8040) at ../../ace/Countdown_Time.inl:16
No locales.
#3  ACE_Dev_Poll_Reactor::handle_events (this=0x7ffff130a420, 
   max_wait_time=0x7fffe31f8040) at ../../ace/Dev_Poll_Reactor.cpp:1010
       countdown = {<ACE_Copy_Disabled> = {<No data fields>}, 
         max_wait_time_ = 0x7fffe31f8040, start_time_ = {static zero = {
             static zero = <same as static member of an already seen type>, 
             static max_time = {
               static zero = <same as static member of an already seen type>, 
               static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 0, tv_usec = 0}}, tv_ = {tv_sec = 0, tv_usec = 0}}, 
           static max_time = <same as static member of an already seen type>, 
           tv_ = {tv_sec = 1260015504, tv_usec = 746163}}, stopped_ = false}
       guard = {token_ = @0x7ffff130a448, owner_ = 1}
       result = -1
#4  0x00007ffff7b51d6d in ACE_Reactor::run_reactor_event_loop (
   this=0x7ffff1308fb0, tv=..., eh=0) at ../../ace/Reactor.cpp:271
       result = 1
#5  0x000000000075adeb in ReactorRunnable::svc (this=0x7ffff1309858)
   at ../../../src/game/WorldSocketMgr.cpp:167
       interval = {static zero = {
           static zero = <same as static member of an already seen type>, 
           static max_time = {
             static zero = <same as static member of an already seen type>, 
             static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 0, tv_usec = 0}}, tv_ = {tv_sec = 0, tv_usec = 0}}, 
         static max_time = <same as static member of an already seen type>, 
         tv_ = {tv_sec = 0, tv_usec = 0}}
#6  0x00007ffff7b77017 in ACE_Task_Base::svc_run (args=<value optimized out>)
   at ../../ace/Task.cpp:275
       t = 0x7ffff1309858
       svc_status = <value optimized out>
#7  0x00007ffff7b783a1 in ACE_Thread_Adapter::invoke (this=0x7ffff130aee0)
   at ../../ace/Thread_Adapter.cpp:98
       exit_hook_instance = <value optimized out>
       exit_hook_maybe = {instance_ = 0x0}
       exit_hook_ptr = <value optimized out>
#8  0x00007ffff62e5a04 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x00007ffff58a47bd in clone () from /lib/libc.so.6
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.

Link to comment
Share on other sites

  • 2 weeks later...
hello, this doesn't happen through speedhacks i think.. it happens when a player for example charms a creature the creature get's deleted but players m_mover variable will still point to the "Unit*" which doesn't exist anymore..

Confirmed, all crashes are related with charmed creatures, when server crash with:

Program received signal SIGSEGV, Segmentation fault.
[Cambiando a Thread 0x7fffec85d910 (LWP 32162)]
WorldSession::HandleMovementOpcodes (this=0x12cdd2c0,
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
307         movementInfo.guid = mover->GetGUID();
#0  WorldSession::HandleMovementOpcodes (this=0x12cdd2c0,
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
#1  0x0000000000752922 in WorldSession::Update (this=0x12cdd2c0)
   at ../../../src/game/WorldSession.cpp:230
#2  0x000000000074bada in World::UpdateSessions (this=0x7ffff0024270, diff=110)
   at ../../../src/game/World.cpp:2113
#3  0x000000000074c3a8 in World::Update (this=0x7ffff0024270, diff=110)
   at ../../../src/game/World.cpp:1656
#4  0x00000000004e34fc in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#5  0x00000000007e9afa in ACE_Based::Thread::ThreadTask (param=0x7fffa5aae660)
   at ../../../src/shared/Threading.cpp:183
#6  0x00007ffff62e0a04 in start_thread () from /lib/libpthread.so.0
#7  0x00007ffff589f7bd in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()
#0  WorldSession::HandleMovementOpcodes (this=0x12cdd2c0,
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
       opcode = 238
       mover = 0x7fffa5aae660
       plMover = 0x0
       data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0,
           _wpos = 0,
           _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 = 0x7fffae5869d0 "�\\032w\\\\�\\177",
                 _M_finish = 0x7fffae5869d0 "�\\032w\\\\�\\177",
                 _M_end_of_storage = 0x7fffae586a02 ""}}, <No data fields>}},
         m_opcode = 238}
       guid = <value optimized out>
       movementInfo = {guid = 275417, flags = 4096, unk1 = 0,
         time = 3540812358, x = 1890.76758, y = 1525.96326, z = 88.0770264,
         o = 3.89293504, t_guid = 0, t_x = 0, t_y = 0, t_z = 0, t_o = 0,
         t_time = 0, t_seat = 0 '\\000', s_pitch = 0, fallTime = 0, j_unk = 0,
         j_sinAngle = -0.730773211, j_cosAngle = -0.682620347, j_xyspeed = 0,
         u_unk1 = 0}

Console show in every crash:

ERROR:Unit::GetCharm: Charmed creature XXX not exist.

Link to comment
Share on other sites

More info:

All guid in crashdump in:

 movementInfo = {guid = [color="Red"]275417[/color], flags = 4096, unk1 = 0,
         time = 3540812358, x = 1890.76758, y = 1525.96326, z = 88.0770264,
         o = 3.89293504, t_guid = 0, t_x = 0, t_y = 0, t_z = 0, t_o = 0,
         t_time = 0, t_seat = 0 '\\000', s_pitch = 0, fallTime = 0, j_unk = 0,
         j_sinAngle = -0.730773211, j_cosAngle = -0.682620347, j_xyspeed = 0,
         u_unk1 = 0}

Are Hunters, levels 19 - 80.

Crash appear with 200+ player or with 2000+ in two diferent realm, no population related

Sometimes i have other crash related:

Program received signal SIGSEGV, Segmentation fault.
[Cambiando a Thread 0x7fffec85d910 (LWP 25961)]
0x00000000005c6385 in std::tr1::__detail::_Mod_range_hashing::operator() (
   this=<value optimized out>, c=0x7fffac72f150, x=-1724.2323, y=8523.3291,
   z=196.653229, ang=5.93889093)
   at /usr/include/c++/4.4/tr1_impl/hashtable_policy.h:403
403         { return __num % __den; }
#0  0x00000000005c6385 in std::tr1::__detail::_Mod_range_hashing::operator() (
   this=<value optimized out>, c=0x7fffac72f150, x=-1724.2323, y=8523.3291,
   z=196.653229, ang=5.93889093)
   at /usr/include/c++/4.4/tr1_impl/hashtable_policy.h:403
#1  std::tr1::__detail::_Hash_code_base<Creature*, std::Pair<Creature* const, CreatureMover>, std::_Select1st<std::Pair<Creature* const, CreatureMover> >, s$
   this=<value optimized out>, c=0x7fffac72f150, x=-1724.2323, y=8523.3291,
   z=196.653229, ang=5.93889093)
   at /usr/include/c++/4.4/tr1_impl/hashtable_policy.h:759
#2  std::tr1::__detail::_Map_base<Creature*, std::Pair<Creature* const, CreatureMover>, std::_Select1st<std::Pair<Creature* const, CreatureMover> >, true, s$
   z=196.653229, ang=5.93889093)
   at /usr/include/c++/4.4/tr1_impl/hashtable_policy.h:569
#3  Map::AddCreatureToMoveList (this=<value optimized out>, c=0x7fffac72f150,
   x=-1724.2323, y=8523.3291, z=196.653229, ang=5.93889093)
   at ../../../src/game/Map.cpp:1039
#4  0x00000000005ce63b in Map::CreatureRelocation (this=0x10000,
   creature=0x7fffac72f150, x=<value optimized out>, y=<value optimized out>,
   z=<value optimized out>, ang=<value optimized out>)
   at ../../../src/game/Map.cpp:1023
#5  0x00000000007a6b6c in WorldSession::HandleMovementOpcodes (this=0xf1e2d0,
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:355
#6  0x0000000000753bb2 in WorldSession::Update (this=0xf1e2d0)
   at ../../../src/game/WorldSession.cpp:230
#7  0x000000000074cd6a in World::UpdateSessions (this=0x7ffff0024240, diff=79)
   at ../../../src/game/World.cpp:2113
#8  0x000000000074d638 in World::Update (this=0x7ffff0024240, diff=79)
   at ../../../src/game/World.cpp:1656
#9  0x00000000004e37cc in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#10 0x00000000007eae0a in ACE_Based::Thread::ThreadTask (param=0x10060)
   at ../../../src/shared/Threading.cpp:183
#11 0x00007ffff62d7a04 in start_thread () from /lib/libpthread.so.0
#12 0x00007ffff58967bd in clone () from /lib/libc.so.6
#13 0x0000000000000000 in ?? ()

Link to comment
Share on other sites

Crash still present at 9086, all of them Hunter low level related (lvl 16 - 29):

Program received signal SIGSEGV, Segmentation fault.
[Cambiando a Thread 0x7ff5e3ffe910 (LWP 28626)]
WorldSession::HandleMovementOpcodes (this=0x7fe7cea0e7b0, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
307        movementInfo.guid = mover->GetGUID();
#0  WorldSession::HandleMovementOpcodes (this=0x7fe7cea0e7b0, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
#1  0x0000000000753a82 in WorldSession::Update (this=0x7fe7cea0e7b0)
   at ../../../src/game/WorldSession.cpp:230
#2  0x000000000074cc3a in World::UpdateSessions (this=0x7ff9f8024100, diff=242)
   at ../../../src/game/World.cpp:2113
#3  0x000000000074d508 in World::Update (this=0x7ff9f8024100, diff=242)
   at ../../../src/game/World.cpp:1656
#4  0x00000000004e37cc in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#5  0x00000000007eacba in ACE_Based::Thread::ThreadTask (param=0x7fe76e2deb90)
   at ../../../src/shared/Threading.cpp:183
#6  0x00007ffdfe2d7a04 in start_thread () from /lib/libpthread.so.0
#7  0x00007ffdfd8967bd in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()
#0  WorldSession::HandleMovementOpcodes (this=0x7fe7cea0e7b0, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
       opcode = 218
       mover = 0x7fe76e2deb90
       plMover = 0x0
       data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
           _wpos = 0, 
           _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 = 0x7fe778636960 "°§Æºç\\177", 
                 _M_finish = 0x7fe778636960 "°§Æºç\\177", 
                 _M_end_of_storage = 0x7fe778636986 "0ñ5"}}, <No data fields>}}, m_opcode = 218}
       guid = <value optimized out>
       movementInfo = {guid = 17384041540866803010, flags = 1, unk1 = 0, 
         time = 3854264905, x = -3973.02344, y = -1847.67029, z = 92.322998, 
         o = 4.37000513, t_guid = 0, t_x = 0, t_y = 0, t_z = 0, t_o = 0, 
         t_time = 0, t_seat = 0 '\\000', s_pitch = 0, fallTime = 842, 
         j_unk = 0, j_sinAngle = 0, j_cosAngle = 0, j_xyspeed = 0, u_unk1 = 0}
#1  0x0000000000753a82 in WorldSession::Update (this=0x7fe7cea0e7b0)
   at ../../../src/game/WorldSession.cpp:230
       packet = 0x7fe77fde21d0
       currTime = <value optimized out>
#2  0x000000000074cc3a in World::UpdateSessions (this=0x7ff9f8024100, diff=242)
   at ../../../src/game/World.cpp:2113
       itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, WorldSession*>, false>> = {_M_cur_node = 0x7ff9f8024100, 
           _M_cur_bucket = 0x7ffdffb2ba16}, <No data fields>}
       sess = <value optimized out>
#3  0x000000000074d508 in World::Update (this=0x7ff9f8024100, diff=242)
   at ../../../src/game/World.cpp:1656
       autobroadcaston = 0
#4  0x00000000004e37cc in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 242
       realCurrTime = 3854264900
       realPrevTime = <value optimized out>
       prevSleepTime = 0
#5  0x00000000007eacba in ACE_Based::Thread::ThreadTask (param=0x7fe76e2deb90)
   at ../../../src/shared/Threading.cpp:183
No locales.
#6  0x00007ffdfe2d7a04 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x00007ffdfd8967bd in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
 14 Thread 0x7fe9e3ff8910 (LWP 28632)  0x00007ffdfd896df8 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x7febe3ff9910 (LWP 28631)  0x00007ffdfd896df8 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x7fede3ffa910 (LWP 28630)  0x00007ffdfd896df8 in epoll_wait ()
  from /lib/libc.so.6
 11 Thread 0x7fefe3ffb910 (LWP 28629)  0x00007ffdfe2df8f1 in nanosleep ()
  from /lib/libpthread.so.0
 10 Thread 0x7ff1e3ffc910 (LWP 28628)  0x00007ffdfd88f3c2 in select ()
  from /lib/libc.so.6
 9 Thread 0x7ff3e3ffd910 (LWP 28627)  0x00007ffdfd85aed1 in nanosleep ()
  from /lib/libc.so.6
* 8 Thread 0x7ff5e3ffe910 (LWP 28626)  WorldSession::HandleMovementOpcodes (
   this=0x7fe7cea0e7b0, recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
 7 Thread 0x7ff7e3fff910 (LWP 28625)  0x00007ffdfe2dc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 5 Thread 0x7ff9f7fff910 (LWP 28623)  0x00007ffdfe2dc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 4 Thread 0x7ffdfd363910 (LWP 28622)  0x00007ffdfe2dc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 3 Thread 0x7ffbfd155910 (LWP 28621)  0x00007ffdfe2dc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 1 Thread 0x7ffdfffec710 (LWP 28617)  0x00007ffdfe2d8cfd in pthread_join ()
  from /lib/libpthread.so.0

I test disable all speed change spell in these lvl (Aspect of the Monkey, Aspect of the Cheetah) with same result =(

Will be welcome some ideas over origin of problem... i only have this crash =)

Link to comment
Share on other sites

=(

WorldSession::HandleMovementOpcodes (this=0x245b610, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
307        movementInfo.guid = mover ? mover->GetGUID() : 0;
#0  WorldSession::HandleMovementOpcodes (this=0x245b610, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
#1  0x00000000007d2abd in WorldSession::Update (this=0x245b610)
   at ../../../src/game/WorldSession.cpp:230
#2  0x00000000007c700a in World::UpdateSessions (this=0x7ff9f80099c0, diff=39)
   at ../../../src/game/World.cpp:2113
#3  0x00000000007c7b48 in World::Update (this=0x7ff9f80099c0, diff=39)
   at ../../../src/game/World.cpp:1656
#4  0x00000000004de67c in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#5  0x000000000087faea in ACE_Based::Thread::ThreadTask (param=0x7fe7cc082ce0)
   at ../../../src/shared/Threading.cpp:183
#6  0x00007ffdfe2c7a04 in start_thread () from /lib/libpthread.so.0
#7  0x00007ffdfd8867bd in clone () from /lib/libc.so.6
#8  0x0000000000000000 in ?? ()
#0  WorldSession::HandleMovementOpcodes (this=0x245b610, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
       opcode = 201
       mover = 0x7fe7cc082ce0
       plMover = 0x0
       data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
           _wpos = 0, 
           _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 = 0x7fe7db977140 "°\\"ªÝç\\177", 
                 _M_finish = 0x7fe7db977140 "°\\"ªÝç\\177", 
                 _M_end_of_storage = 0x7fe7db977162 "="}}, <No data fields>}}, m_opcode = 201}
       guid = <value optimized out>
       movementInfo = {guid = 221633, flags = 0, unk1 = 0, time = 4137659934, 
         x = 3542.36328, y = -5148.93408, z = 143.21524, o = 4.3697443, 
         t_guid = 0, t_x = 0, t_y = 0, t_z = 0, t_o = 0, t_time = 0, 
         t_seat = 0 '\\000', s_pitch = 0, fallTime = 0, j_unk = 0, 
         j_sinAngle = 0, j_cosAngle = 0, j_xyspeed = 0, u_unk1 = 0}
#1  0x00000000007d2abd in WorldSession::Update (this=0x245b610)
   at ../../../src/game/WorldSession.cpp:230
       packet = 0xf4e3d80
       currTime = <value optimized out>
#2  0x00000000007c700a in World::UpdateSessions (this=0x7ff9f80099c0, diff=39)
   at ../../../src/game/World.cpp:2113
       sess = <value optimized out>
#3  0x00000000007c7b48 in World::Update (this=0x7ff9f80099c0, diff=39)
   at ../../../src/game/World.cpp:1656
       autobroadcaston = 0
#4  0x00000000004de67c in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 39
       realCurrTime = 4137659933
       realPrevTime = <value optimized out>
       prevSleepTime = 39
#5  0x000000000087faea in ACE_Based::Thread::ThreadTask (param=0x7fe7cc082ce0)
   at ../../../src/shared/Threading.cpp:183
No locales.
#6  0x00007ffdfe2c7a04 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7  0x00007ffdfd8867bd in clone () from /lib/libc.so.6
No symbol table info available.
#8  0x0000000000000000 in ?? ()
No symbol table info available.
 14 Thread 0x7fe9e3ff8910 (LWP 18841)  0x00007ffdfd886df8 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x7febe3ff9910 (LWP 18840)  0x00007ffdfd886df8 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x7fede3ffa910 (LWP 18839)  0x00007ffdfd886df8 in epoll_wait ()
  from /lib/libc.so.6
 11 Thread 0x7fefe3ffb910 (LWP 18838)  0x00007ffdfe2cf8f1 in nanosleep ()
  from /lib/libpthread.so.0
 10 Thread 0x7ff1e3ffc910 (LWP 18837)  0x00007ffdfd87f3c2 in select ()
  from /lib/libc.so.6
 9 Thread 0x7ff3e3ffd910 (LWP 18836)  0x00007ffdfd84aed1 in nanosleep ()
  from /lib/libc.so.6
* 8 Thread 0x7ff5e3ffe910 (LWP 18835)  WorldSession::HandleMovementOpcodes (
   this=0x245b610, recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
 7 Thread 0x7ff7e3fff910 (LWP 18834)  0x00007ffdfe2cc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 5 Thread 0x7ff9f7fff910 (LWP 18831)  0x00007ffdfe2cc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 4 Thread 0x7ffdfd353910 (LWP 18830)  0x00007ffdfe2cc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 3 Thread 0x7ffbfd145910 (LWP 18829)  0x00007ffdfe2cc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 1 Thread 0x7ffdfffec710 (LWP 18825)  0x00007ffdfe2c8cfd in pthread_join ()
  from /lib/libpthread.so.0

Thread 14 (Thread 0x7fe9e3ff8910 (LWP 18841)):
#0  0x00007ffdfd886df8 in epoll_wait () from /lib/libc.so.6
No symbol table info available.
#1  0x00007ffdffaf67d2 in ACE_Dev_Poll_Reactor::work_pending_i (
   this=0x7ff7e8335420, max_wait_time=0x7fe9e3ff8050)
   at ../../ace/Dev_Poll_Reactor.cpp:960
       timer_buf = {static zero = {
           static zero = <same as static member of an already seen type>, 
           static max_time = {
             static zero = <same as static member of an already seen type>, 
             static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 0, tv_usec = 0}}, tv_ = {tv_sec = 0, tv_usec = 0}}, 
         static max_time = <same as static member of an already seen type>, 
         tv_ = {tv_sec = 0, tv_usec = 9964}}
       this_timeout = 0xfffffffffffffffc
       nfds = <value optimized out>
#2  0x00007ffdffaf9dec in ACE_Dev_Poll_Reactor::handle_events_i (
   this=0x7ff7e8335420, max_wait_time=0x7fe9e3ff8050, guard=...)
   at ../../ace/Dev_Poll_Reactor.cpp:1030
       result = <value optimized out>
#3  0x00007ffdffaf9fb6 in ACE_Dev_Poll_Reactor::handle_events (
   this=0x7ff7e8335420, max_wait_time=0x7fe9e3ff8050)
   at ../../ace/Dev_Poll_Reactor.cpp:1012
       countdown = {<ACE_Copy_Disabled> = {<No data fields>}, 
         max_wait_time_ = 0x7fe9e3ff8050, start_time_ = {static zero = {
             static zero = <same as static member of an already seen type>, 
             static max_time = {
               static zero = <same as static member of an already seen type>, 
               static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 0, tv_usec = 0}}, tv_ = {tv_sec = 0, tv_usec = 0}}, 
           static max_time = <same as static member of an already seen type>, 
           tv_ = {tv_sec = 1262563077, tv_usec = 660684}}, stopped_ = false}
       guard = {token_ = @0x7ff7e8335448, owner_ = 1}
       result = -1
#4  0x00007ffdffb51d6d in ACE_Reactor::run_reactor_event_loop (
   this=0x7ff7e9490c50, tv=..., eh=0) at ../../ace/Reactor.cpp:271
       result = 1
#5  0x00000000007d9ffb in ReactorRunnable::svc (this=0x7ff7e9447768)
   at ../../../src/game/WorldSocketMgr.cpp:167
       interval = {static zero = {
           static zero = <same as static member of an already seen type>, 
           static max_time = {
             static zero = <same as static member of an already seen type>, 
             static max_time = <same as static member of an already seen type>, tv_ = {tv_sec = 0, tv_usec = 0}}, tv_ = {tv_sec = 0, tv_usec = 0}}, 
         static max_time = <same as static member of an already seen type>, 
         tv_ = {tv_sec = 0, tv_usec = 9964}}
#6  0x00007ffdffb77017 in ACE_Task_Base::svc_run (args=<value optimized out>)
   at ../../ace/Task.cpp:275
       t = 0x7ff7e9447768
       svc_status = <value optimized out>
#7  0x00007ffdffb783a1 in ACE_Thread_Adapter::invoke (this=0x7ff7e944db10)
   at ../../ace/Thread_Adapter.cpp:98
       exit_hook_instance = <value optimized out>
       exit_hook_maybe = {instance_ = 0x0}
       exit_hook_ptr = <value optimized out>
#8  0x00007ffdfe2c7a04 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#9  0x00007ffdfd8867bd in clone () from /lib/libc.so.6
No symbol table info available.
#10 0x0000000000000000 in ?? ()
No symbol table info available.

Hunter again...

Link to comment
Share on other sites

Still in rev 9110, this crash is more time with me that my wife!!!!, ok ok and... if i change some solution by hard sex??? :P

haha, yes this crash is very enoyng, this, and the crash in instance add bin.. FK... i think mangos need fix it very often, and we can have mangos servers, very stable :P

Link to comment
Share on other sites

  • 3 weeks later...

Same crash with 9259, got no ideea what's causing it.

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 0x7f4848930950 (LWP 14905)]
0x00000000005dc414 in Map::AddCreatureToMoveList (this=<value optimized out>, c=0x1837fcf0, x=-4266.14893, y=-11171.3506, z=-22.9434948, ang=1.70938492)
   at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/tr1_impl/hashtable_policy.h:394
394         { return __num % __den; }
(gdb) bt
#0  0x00000000005dc414 in Map::AddCreatureToMoveList (this=<value optimized out>, c=0x1837fcf0, x=-4266.14893, y=-11171.3506, z=-22.9434948, ang=1.70938492)
   at /usr/lib64/gcc/x86_64-slackware-linux/4.3.3/../../../../include/c++/4.3.3/tr1_impl/hashtable_policy.h:394
#1  0x00000000005e8277 in Map::CreatureRelocation (this=0x10000, creature=0x1837fcf0, x=-4266.14893, y=-11171.3506, z=-22.9434948, ang=1.70938492)
   at ../../../src/game/Map.cpp:910
#2  0x00000000007caf24 in WorldSession::HandleMovementOpcodes (this=0x7f482e0c5910, recv_data=<value optimized out>) at ../../../src/game/MovementHandler.cpp:694
#3  0x00000000007706bb in WorldSession::Update (this=0x7f482e0c5910) at ../../../src/game/WorldSession.cpp:230
#4  0x0000000000769f7f in World::UpdateSessions (this=0xb95910, diff=95) at ../../../src/game/World.cpp:2080
#5  0x000000000076a162 in World::Update (this=0xb95910, diff=95) at ../../../src/game/World.cpp:1633
#6  0x00000000004d9080 in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60
#7  0x0000000000810b8c in ACE_Based::Thread::ThreadTask (param=0x10060) at ../../../src/shared/Threading.cpp:183
#8  0x00007f4852dc13a0 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f4852692bdd in clone () from /lib64/libc.so.6

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use