Jump to content

Linux crash dumps


Auntie Mangos

Recommended Posts

  • Replies 986
  • Created
  • Last Reply

Top Posters In This Topic

yes, crashdump:

Core was generated by `./bin/mangos-worldd -c etc/mangosd.conf'.
Program terminated with signal 6, Aborted.
[New process 23056]
[New process 23064]
[New process 23063]
[New process 23062]
[New process 23061]
[New process 23060]
[New process 23059]
[New process 23058]
[New process 23057]
[New process 23000]
[New process 22999]
[New process 22998]
[New process 22996]
#0  0x00000038ca630265 in raise () from /lib64/libc.so.6
#0  0x00000038ca630265 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00000038ca631d10 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00000038ca6296e6 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#3  0x00000000006e424b in Aura::UnregisterSingleCastAura (this=0x2aaaf84579e0)
   at /root/Desktop/Mangos/Sources/src/game/SpellAuras.cpp:7633
   caster = <value optimized out>
   __PRETTY_FUNCTION__ = "void Aura::UnregisterSingleCastAura()"
#4  0x000000000075c887 in Unit::RemoveAura (this=0x1cb4b190, i=@0x5a10, 
   mode=AURA_REMOVE_BY_DEFAULT)
   at /root/Desktop/Mangos/Sources/src/game/Unit.cpp:4239
   Aur = (class Aura *) 0x2aaaf84579e0
   AurSpellInfo = (const SpellEntry *) 0x2aaab4e12710
   statue = <value optimized out>
#5  0x000000000075d9a1 in Unit::RemoveAura (this=0x1cb4b190, 
   aura=0x2aaaf84579e0, mode=AURA_REMOVE_BY_DEFAULT)
   at /root/Desktop/Mangos/Sources/src/game/Unit.cpp:4227
   i = {_M_node = 0x2aab02765600}
#6  0x000000000075daaf in Unit::RemoveNotOwnSingleTargetAuras (
   this=0x1cb03240, newPhase=0)
   at /root/Desktop/Mangos/Sources/src/game/Unit.cpp:4210
   aura = (class Aura *) 0x2aaaf84579e0
   scAuras = (
   std::list<Aura*,std::allocator<Aura*> > &) @0x1cb034d8: {<std::_List_base<Aura*,std::allocator<Aura*> >> = {
   _M_impl = {<std::allocator<std::_List_node<Aura*> >> = {<__gnu_cxx::new_allocator<std::_List_node<Aura*> >> = {<No data fields>}, <No data fields>}, 
     _M_node = {_M_next = 0x1cb034d8, 
       _M_prev = 0x1cb034d8}}}, <No data fields>}
#7  0x000000000076d80b in Unit::RemoveFromWorld (this=0x59d4)
   at /root/Desktop/Mangos/Sources/src/game/Unit.cpp:11423
No locals.
#8  0x00000000005135af in Creature::RemoveFromWorld (this=0x1cb03240)
   at /root/Desktop/Mangos/Sources/src/game/Creature.cpp:157
No locals.
#9  0x000000000077353e in Unit::CleanupsBeforeDelete (this=0x1cb03240)
   at /root/Desktop/Mangos/Sources/src/game/Unit.cpp:11446
No locals.
#10 0x0000000000617305 in ObjectGridUnloader::Visit<Creature> (
   this=<value optimized out>, m=@0x1c5baab0)
   at /root/Desktop/Mangos/Sources/src/game/ObjectGridLoader.cpp:263
No locals.
#11 0x000000000061662a in ObjectGridUnloader::Unload (this=0x431e8e10, 
   grid=@0x1c5baa80)
   at /root/Desktop/Mangos/Sources/src/game/../framework/GameSystem/TypeContainerVisitor.h:64
No locals.
#12 0x00000000005d8d4b in Map::UnloadGrid (this=0x2aaaaf427500, x=@0x431e8f6c, 
   y=@0x431e8f68, pForce=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/game/../framework/GameSystem/GridLoader.h:72
   unloader = {i_grid = @0x1c5b76a0}
   grid = <value optimized out>
   gx = <value optimized out>
   gy = <value optimized out>
   __PRETTY_FUNCTION__ = "bool Map::UnloadGrid(const uint32&, const uint32&, bool)"
#13 0x00000000007eecf6 in RemovalState::Update (this=<value optimized out>, 
   m=@0x2aaaaf427500, grid=@0x1c5b76a0, info=<value optimized out>, 
   x=@0x431e8f6c, y=@0x431e8f68, t_diff=@0x431e8fbc)
   at /root/Desktop/Mangos/Sources/src/game/GridStates.cpp:65
No locals.
#14 0x00000000005ee655 in Map::Update (this=0x2aaaaf427500, t_diff=@0x431e8fbc)
   at /root/Desktop/Mangos/Sources/src/game/Map.cpp:714
   grid = (NGridType *) 0x6
   updater = {i_timeDiff = 100}
   grid_object_update = {i_visitor = @0x431e8f60}
   world_object_update = {i_visitor = @0x431e8f60}
   __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#15 0x00000000005fa861 in MapManager::Update (this=0x2aaaaf3d12c0, 
   diff=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/game/MapManager.cpp:265
No locals.
#16 0x000000000079a5b6 in World::Update (this=0x2aaaac012270, diff=45)
   at /root/Desktop/Mangos/Sources/src/game/World.cpp:1686
No locals.
#17 0x00000000004c562f in WorldRunnable::run (this=<value optimized out>)
   at /root/Desktop/Mangos/Sources/src/mangosd/WorldRunnable.cpp:60
   diff = 45
   realCurrTime = 2974783171
   realPrevTime = <value optimized out>
   prevSleepTime = 44
#18 0x0000000000855b0d in ACE_Based::Thread::ThreadTask (param=0x59d4)
   at /root/Desktop/Mangos/Sources/src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x2aaabda23630
#19 0x00000038cb2064a7 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#20 0x00000038ca6d3c2d in clone () from /lib64/libc.so.6
No symbol table info available.

Link to comment
Share on other sites

MaNGOS/0.15.0 (* * Revision 9044 - *) for Linux_x64 (little-endian)

Using script library: ScriptDev2 (for MaNGOS 8900+) Revision [1523] 2009-12-20 22:16:17 (Unix)

Using World DB: UDB 0.11.6 (386) for MaNGOS 8994 with SD2 SQL for rev. 1516

Using creature EventAI: ACID 3.0.1 - Full Release for Mangos

http://files.alein.org/other/mangos/crashlogs/CRASH_ON_Mon_Dec_21_20-28-05_EET_2009.txt

I have the same problem with Revision 9034. and server restart almost every 2-3 min.

Link to comment
Share on other sites

core 9034

How GetMap() can be NULL ? During Teleport ?

../../../src/game/Object.h:501: Error: Assertion in GetMap failed: m_currMap
Stack Trace:
/home/git/core/bin/mangos-worldd(_ZN5Group22UpdatePlayerOutOfRangeEP6Player+0xaf) [0x57e6cf]
/home/git/core/bin/mangos-worldd(_ZN6Player34SendUpdateToOutOfRangeGroupMembersEv+0x22) [0x652ce2]
/home/git/core/bin/mangos-worldd(_ZN6Player6UpdateEj+0x574) [0x69b824]
/home/git/core/bin/mangos-worldd(_ZN3Map6UpdateERKj+0x5c) [0x5e11ec]
/home/git/core/bin/mangos-worldd(_ZN10MapManager6UpdateEj+0x87) [0x5f0107]
/home/git/core/bin/mangos-worldd(_ZN5World6UpdateEj+0x616) [0x75d936]
/home/git/core/bin/mangos-worldd(_ZN13WorldRunnable3runEv+0xd1) [0x4eb1b1]
/home/git/core/bin/mangos-worldd(_ZN9ACE_Based6Thread10ThreadTaskEPv+0x1c) [0x80119c]
/lib/libpthread.so.0 [0x7ff6bedc4fc7]
/lib/libc.so.6(clone+0x6d) [0x7ff6be3945ad]
[Thread 0x413d1950 (LWP 8733) exited]
[New Thread 0x413d1950 (LWP 8734)]
[New Thread 0x42394950 (LWP 8735)]
[New Thread 0x42b95950 (LWP 8736)]
[New Thread 0x43396950 (LWP 8793)]
[New Thread 0x40a48950 (LWP 8794)]
[New Thread 0x43b97950 (LWP 8795)]
[New Thread 0x44398950 (LWP 8796)]
[New Thread 0x44b99950 (LWP 8797)]
[New Thread 0x4539a950 (LWP 8798)]
[New Thread 0x45b9b950 (LWP 8799)]
[New Thread 0x4639c950 (LWP 8800)]
[New Thread 0x46b9d950 (LWP 8801)]

Program received signal SIGABRT, Aborted.
[switching to Thread 0x40a48950 (LWP 8794)]
0x00007ff6be2f6ed5 in raise () from /lib/libc.so.6
#0  0x00007ff6be2f6ed5 in raise () from /lib/libc.so.6
#1  0x00007ff6be2f83f3 in abort () from /lib/libc.so.6
#2  0x00007ff6be2efdc9 in __assert_fail () from /lib/libc.so.6
#3  0x00000000004f538b in WorldObject::GetMap (this=<value optimized out>)
   at ../../../src/game/Object.h:501
#4  0x0000000000652d60 in Player::GetViewPoint (this=0x7ff6573aeca0)
   at ../../../src/game/Player.cpp:18586
#5  0x000000000057e6cf in Group::UpdatePlayerOutOfRange (
   this=<value optimized out>, pPlayer=0x7ff649f0f970)
   at ../../../src/game/Group.cpp:1041
#6  0x0000000000652ce2 in Player::SendUpdateToOutOfRangeGroupMembers (
   this=0x7ff649f0f970) at ../../../src/game/Player.cpp:18950
#7  0x000000000069b824 in Player::Update (this=0x7ff649f0f970, p_time=114)
   at ../../../src/game/Player.cpp:1382
#8  0x00000000005e11ec in Map::Update (this=0x52120b0, t_diff=@0x40a47bec)
   at ../../../src/game/Map.cpp:595
#9  0x00000000005f0107 in MapManager::Update (this=0xb86c590, 
   diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265
#10 0x000000000075d936 in World::Update (this=0x7ff6b80236a0, diff=114)
   at ../../../src/game/World.cpp:1690
#11 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#12 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x2209)
   at ../../../src/shared/Threading.cpp:183
#13 0x00007ff6bedc4fc7 in start_thread () from /lib/libpthread.so.0
#14 0x00007ff6be3945ad in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()
#0  0x00007ff6be2f6ed5 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00007ff6be2f83f3 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00007ff6be2efdc9 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3  0x00000000004f538b in WorldObject::GetMap (this=<value optimized out>)
   at ../../../src/game/Object.h:501
   st = {static SYMBUFSIZ = 4096, 
 buf_ = "/home/git/core/bin/mangos-worldd(_ZN5Group22UpdatePlayerOutOfRangeEP6Player+0xaf) [0x57e6cf]\\n/home/git/core/bin/mangos-worldd(_ZN6Player34SendUpdateToOutOfRangeGroupMembersEv+0x22) [0x652ce2]\\n/home/gi"..., buflen_ = 720, 
 static UNSUPPORTED = 0x7ff6c02e84a0 "<stack traces unsupported platform>", 
 static UNABLE_TO_GET_TRACE = 0x7ff6c02e84d0 "<unable to get trace>"}
   __FUNCTION__ = "GetMap"
   __PRETTY_FUNCTION__ = "Map* WorldObject::GetMap() const"
#4  0x0000000000652d60 in Player::GetViewPoint (this=0x7ff6573aeca0)
   at ../../../src/game/Player.cpp:18586
   viewPoint = (const class WorldObject *) 0x7ff6573aeca0
   far_sight = 17388398644142538753
#5  0x000000000057e6cf in Group::UpdatePlayerOutOfRange (
   this=<value optimized out>, pPlayer=0x7ff649f0f970)
   at ../../../src/game/Group.cpp:1041
   itr = (class GroupReference *) 0x7ff6573b1520
   player = (class Player *) 0x7ff6573aeca0
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
   _wpos = 10, 
   _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 = 0x7ff63a2fb840 "\\aÅÛ\\003\\200", 
         _M_finish = 0x7ff63a2fb84a "%\\001ö\\177", 
         _M_end_of_storage = 0x7ff63a2fb84e ""}}, <No data fields>}}, 
 m_opcode = 126}
#6  0x0000000000652ce2 in Player::SendUpdateToOutOfRangeGroupMembers (
   this=0x7ff649f0f970) at ../../../src/game/Player.cpp:18950
   group = (Group *) 0x2209
#7  0x000000000069b824 in Player::Update (this=0x7ff649f0f970, p_time=114)
   at ../../../src/game/Player.cpp:1382
   now = 1261564121
   pet = <value optimized out>
#8  0x00000000005e11ec in Map::Update (this=0x52120b0, t_diff=@0x40a47bec)
   at ../../../src/game/Map.cpp:595
   plr = (class Player *) 0x2209
   updater = {i_timeDiff = 1084521452}
   grid_object_update = {i_visitor = @0x72}
   world_object_update = {i_visitor = @0x40a47b90}
   __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#9  0x00000000005f0107 in MapManager::Update (this=0xb86c590, 
   diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265
No locals.
#10 0x000000000075d936 in World::Update (this=0x7ff6b80236a0, diff=114)
   at ../../../src/game/World.cpp:1690
   autobroadcaston = 0
#11 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 114
   realCurrTime = 3138703624
   realPrevTime = <value optimized out>
   prevSleepTime = 0
#12 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x2209)
   at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x7ff6b8e40e10
#13 0x00007ff6bedc4fc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x00007ff6be3945ad in clone () from /lib/libc.so.6
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.
 14 Thread 0x46b9d950 (LWP 8801)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x4639c950 (LWP 8800)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x45b9b950 (LWP 8799)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 11 Thread 0x4539a950 (LWP 8798)  0x00007ff6bedcb7db in read ()
  from /lib/libpthread.so.0
 10 Thread 0x44b99950 (LWP 8797)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 9 Thread 0x44398950 (LWP 8796)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 8 Thread 0x43b97950 (LWP 8795)  0x00007ff6be362ff1 in nanosleep ()
  from /lib/libc.so.6
* 7 Thread 0x40a48950 (LWP 8794)  0x00007ff6be2f6ed5 in raise ()
  from /lib/libc.so.6
 6 Thread 0x43396950 (LWP 8793)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 5 Thread 0x42b95950 (LWP 8736)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 4 Thread 0x42394950 (LWP 8735)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 3 Thread 0x413d1950 (LWP 8734)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 1 Thread 0x7ff6c07466f0 (LWP 8713)  0x00007ff6bedc5715 in pthread_join ()
  from /lib/libpthread.so.0

Link to comment
Share on other sites

Core 9020

ScriptDev2 1520

DualSpect Kaxias


[New Thread 5414]
Core was generated by `./mangos-worldd'.
Program terminated with signal 6, Aborted.
#0  0x00007f5c43a174b5 in raise () from /lib/libc.so.6
#0  0x00007f5c43a174b5 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00007f5c43a1af50 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00007f5c442b6cc5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#3  0x00007f5c442b50f6 in ?? () from /usr/lib/libstdc++.so.6
No symbol table info available.
#4  0x00007f5c442b5123 in std::terminate() () from /usr/lib/libstdc++.so.6
No symbol table info available.
#5  0x00007f5c442b521e in __cxa_throw () from /usr/lib/libstdc++.so.6
No symbol table info available.
#6  0x00000000004de580 in MaNGOS::ObjectLifeTime<Log>::OnDeadReference () at ../../../src/mangosd/../framework/Policies/ObjectLifeTime.h:47
No locals.
#7  0x00000000004de644 in MaNGOS::Singleton<Log, MaNGOS::SingleThreaded<Log>, MaNGOS::OperatorNew<Log>, MaNGOS::ObjectLifeTime<Log> >::Instance ()
   at ../../../src/mangosd/../framework/Policies/SingletonImp.h:46
No locals.
#8  0x00000000004de734 in FreezeDetectorRunnable::run (this=0x7f5c3c474300) at ../../../src/mangosd/Master.cpp:114
No locals.
#9  0x00000000007da2fc in ACE_Based::Thread::ThreadTask (param=0x1526) at ../../../src/shared/Threading.cpp:183
       _task = 0x7f5c3c474300
#10 0x00007f5c44504a04 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#11 0x00007f5c43ac37bd in clone () from /lib/libc.so.6
No symbol table info available.
#12 0x0000000000000000 in ?? ()
No symbol table info available.

Link to comment
Share on other sites

9034

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 0x4300a950 (LWP 10869)]
0x00000000005d3452 in Map::loaded (this=0x7fd162990550, p=@0x43009760)
   at ../../../src/game/Map.h:499
499            bool isGridObjectDataLoaded(uint32 x, uint32 y) const { return getNGrid(x,y)->isGridObjectDataLoaded(); }
#0  0x00000000005d3452 in Map::loaded (this=0x7fd162990550, p=@0x43009760)
   at ../../../src/game/Map.h:499
#1  0x00000000005ddd6b in Map::MessageBroadcast (this=0x7fd162990550, 
   obj=0x236e0240, msg=0x43009810) at ../../../src/game/Map.cpp:526
#2  0x000000000073adca in Unit::SendThreatRemove (this=0x236e0240, 
   pHostileReference=<value optimized out>)
   at ../../../src/game/Unit.cpp:13726
#3  0x0000000000723925 in ThreatManager::ProcessThreatEvent (this=0x236e1be8, 
   threatRefStatusChangeEvent=<value optimized out>)
   at ../../../src/game/ThreatManager.cpp:534
#4  0x0000000000723c0a in HostileReference::removeReference (
   this=0x7fd190a7d430) at ../../../src/game/ThreatManager.cpp:195
#5  0x0000000000585db8 in HostileRefManager::DeleteReferences (
   this=<value optimized out>) at ../../../src/game/HostileRefManager.cpp:104
#6  0x0000000000586363 in ~HostileRefManager (this=0x7fd162990550)
   at ../../../src/game/HostileRefManager.cpp:27
#7  0x0000000000737ad4 in ~Unit (this=0x7fd1687d5040)
   at ../../../src/game/Unit.cpp:192
#8  0x0000000000689c34 in ~Player (this=0x7fd1687d5040)
   at ../../../src/game/Player.cpp:533
#9  0x00000000005e5293 in Map::Remove (this=0x7fd1e364a520, 
   player=0x7fd1687d5040, remove=true) at ../../../src/game/Map.cpp:781
#10 0x0000000000763444 in WorldSession::LogoutPlayer (this=0x7fd1b9d0d9f0, 
   Save=<value optimized out>) at ../../../src/game/WorldSession.cpp:439
#11 0x0000000000764913 in WorldSession::Update (this=0x7fd1b9d0d9f0)
   at ../../../src/game/WorldSession.cpp:275
#12 0x000000000075cbef in World::UpdateSessions (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:2164
#13 0x000000000075d763 in World::Update (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:1648
#14 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#15 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x7fd162990550)
   at ../../../src/shared/Threading.cpp:183
#16 0x00007fd1fc507fc7 in start_thread () from /lib/libpthread.so.0
#17 0x00007fd1fbad75ad in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()
#0  0x00000000005d3452 in Map::loaded (this=0x7fd162990550, p=@0x43009760)
   at ../../../src/game/Map.h:499
No locals.
#1  0x00000000005ddd6b in Map::MessageBroadcast (this=0x7fd162990550, 
   obj=0x236e0240, msg=0x43009810) at ../../../src/game/Map.cpp:526
   p = {x_coord = 511, y_coord = 511}
   cell = {data = {Part = {grid_x = 31, grid_y = 31, cell_x = 15, 
     cell_y = 15, nocreate = 1, reserved = 31}, All = 1060960223}}
   post_man = {i_phaseMask = 0, i_message = 0x0}
   message = {i_visitor = @0x7fd1687d6a48}
   cell_lock = {i_cell = @0x1002, i_cellPair = @0x0}
#2  0x000000000073adca in Unit::SendThreatRemove (this=0x236e0240, 
   pHostileReference=<value optimized out>)
   at ../../../src/game/Unit.cpp:13726
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
   _wpos = 11, 
   _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 = 0x7fd185a68400 "ù\\001Ŷv@ñ\\amg\\004", 
         _M_finish = 0x7fd185a68410 "ð\\033߯Ñ\\177", 
         _M_end_of_storage = 0x7fd185a68410 "ð\\033߯Ñ\\177"}}, <No data fields>}}, m_opcode = 1156}
#3  0x0000000000723925 in ThreatManager::ProcessThreatEvent (this=0x236e1be8, 
   threatRefStatusChangeEvent=<value optimized out>)
   at ../../../src/game/ThreatManager.cpp:534
   hostileReference = (HostileReference *) 0x7fd190a7d430
#4  0x0000000000723c0a in HostileReference::removeReference (
   this=0x7fd190a7d430) at ../../../src/game/ThreatManager.cpp:195
   event = {<UnitBaseEvent> = {iType = 4}, 
 iHostileReference = 0x7fd190a7d430, {iFValue = -2.06389268e-13, 
   iIValue = -1436000344, iBValue = 168}, iThreatManager = 0x236e1be8}
#5  0x0000000000585db8 in HostileRefManager::DeleteReferences (
   this=<value optimized out>) at ../../../src/game/HostileRefManager.cpp:104
   nextRef = (class HostileReference *) 0xb436e0
   ref = (class HostileReference *) 0x7fd190a7d430
#6  0x0000000000586363 in ~HostileRefManager (this=0x7fd162990550)
   at ../../../src/game/HostileRefManager.cpp:27
No locals.
#7  0x0000000000737ad4 in ~Unit (this=0x7fd1687d5040)
   at ../../../src/game/Unit.cpp:192
No locals.
#8  0x0000000000689c34 in ~Player (this=0x7fd1687d5040)
   at ../../../src/game/Player.cpp:533
No locals.
#9  0x00000000005e5293 in Map::Remove (this=0x7fd1e364a520, 
   player=0x7fd1687d5040, remove=true) at ../../../src/game/Map.cpp:781
   p = {x_coord = 296, y_coord = 399}
   cell = {data = {Part = {grid_x = 18, grid_y = 24, cell_x = 8, 
     cell_y = 15, nocreate = 0, reserved = 0}, All = 3966482}}
   grid = <value optimized out>
   __PRETTY_FUNCTION__ = "virtual void Map::Remove(Player*, bool)"
#10 0x0000000000763444 in WorldSession::LogoutPlayer (this=0x7fd1b9d0d9f0, 
   Save=<value optimized out>) at ../../../src/game/WorldSession.cpp:439
   guild = <value optimized out>
   _map = (class Map *) 0x7fd162990550
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 7488, 
   _wpos = 140539846973192, 
   _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 = 0x20000 <Address 0x20000 out of bounds>, 
         _M_finish = 0x7fd1c0000020 "", 
         _M_end_of_storage = 0x7fd17e8ddf58 ""}}, <No data fields>}}, 
 m_opcode = 1}
#11 0x0000000000764913 in WorldSession::Update (this=0x7fd1b9d0d9f0)
   at ../../../src/game/WorldSession.cpp:275
   packet = (WorldPacket *) 0x7fd1f400eaa0
   currTime = 1984
#12 0x000000000075cbef in World::UpdateSessions (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:2164
   itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<const unsigned int, WorldSession*>, false>> = {_M_cur_node = 0x0, 
   _M_cur_bucket = 0x4300a040}, <No data fields>}
   sess = <value optimized out>
#13 0x000000000075d763 in World::Update (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:1648
   autobroadcaston = 0
#14 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 214
   realCurrTime = 3156584998
   realPrevTime = <value optimized out>
   prevSleepTime = 0
#15 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x7fd162990550)
   at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x7fd1e122af00
#16 0x00007fd1fc507fc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#17 0x00007fd1fbad75ad in clone () from /lib/libc.so.6
No symbol table info available.
#18 0x0000000000000000 in ?? ()
No symbol table info available.
 14 Thread 0x46811950 (LWP 10876)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x46010950 (LWP 10875)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x4580f950 (LWP 10874)  0x00007fd1fc50edb1 in send ()
  from /lib/libpthread.so.0
 11 Thread 0x4500e950 (LWP 10873)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 10 Thread 0x4480d950 (LWP 10872)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 9 Thread 0x4400c950 (LWP 10871)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 8 Thread 0x4380b950 (LWP 10870)  0x00007fd1fbaa5ff1 in nanosleep ()
  from /lib/libc.so.6
* 7 Thread 0x4300a950 (LWP 10869)  0x00000000005d3452 in Map::loaded (
   this=0x7fd162990550, p=@0x43009760) at ../../../src/game/Map.h:499
 6 Thread 0x42809950 (LWP 10834)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 5 Thread 0x42008950 (LWP 10812)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 4 Thread 0x40b5d950 (LWP 10811)  0x00007fd1fc50e7db in read ()
  from /lib/libpthread.so.0
 3 Thread 0x41807950 (LWP 10810)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 1 Thread 0x7fd1fde896f0 (LWP 10806)  0x00007fd1fc508715 in pthread_join ()
  from /lib/libpthread.so.0

Link to comment
Share on other sites

9034

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 0x4300a950 (LWP 10869)]
0x00000000005d3452 in Map::loaded (this=0x7fd162990550, p=@0x43009760)
   at ../../../src/game/Map.h:499
499            bool isGridObjectDataLoaded(uint32 x, uint32 y) const { return getNGrid(x,y)->isGridObjectDataLoaded(); }
#0  0x00000000005d3452 in Map::loaded (this=0x7fd162990550, p=@0x43009760)
   at ../../../src/game/Map.h:499
#1  0x00000000005ddd6b in Map::MessageBroadcast (this=0x7fd162990550, 
   obj=0x236e0240, msg=0x43009810) at ../../../src/game/Map.cpp:526
#2  0x000000000073adca in Unit::SendThreatRemove (this=0x236e0240, 
   pHostileReference=<value optimized out>)
   at ../../../src/game/Unit.cpp:13726
#3  0x0000000000723925 in ThreatManager::ProcessThreatEvent (this=0x236e1be8, 
   threatRefStatusChangeEvent=<value optimized out>)
   at ../../../src/game/ThreatManager.cpp:534
#4  0x0000000000723c0a in HostileReference::removeReference (
   this=0x7fd190a7d430) at ../../../src/game/ThreatManager.cpp:195
#5  0x0000000000585db8 in HostileRefManager::DeleteReferences (
   this=<value optimized out>) at ../../../src/game/HostileRefManager.cpp:104
#6  0x0000000000586363 in ~HostileRefManager (this=0x7fd162990550)
   at ../../../src/game/HostileRefManager.cpp:27
#7  0x0000000000737ad4 in ~Unit (this=0x7fd1687d5040)
   at ../../../src/game/Unit.cpp:192
#8  0x0000000000689c34 in ~Player (this=0x7fd1687d5040)
   at ../../../src/game/Player.cpp:533
#9  0x00000000005e5293 in Map::Remove (this=0x7fd1e364a520, 
   player=0x7fd1687d5040, remove=true) at ../../../src/game/Map.cpp:781
#10 0x0000000000763444 in WorldSession::LogoutPlayer (this=0x7fd1b9d0d9f0, 
   Save=<value optimized out>) at ../../../src/game/WorldSession.cpp:439
#11 0x0000000000764913 in WorldSession::Update (this=0x7fd1b9d0d9f0)
   at ../../../src/game/WorldSession.cpp:275
#12 0x000000000075cbef in World::UpdateSessions (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:2164
#13 0x000000000075d763 in World::Update (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:1648
#14 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#15 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x7fd162990550)
   at ../../../src/shared/Threading.cpp:183
#16 0x00007fd1fc507fc7 in start_thread () from /lib/libpthread.so.0
#17 0x00007fd1fbad75ad in clone () from /lib/libc.so.6
#18 0x0000000000000000 in ?? ()
#0  0x00000000005d3452 in Map::loaded (this=0x7fd162990550, p=@0x43009760)
   at ../../../src/game/Map.h:499
No locals.
#1  0x00000000005ddd6b in Map::MessageBroadcast (this=0x7fd162990550, 
   obj=0x236e0240, msg=0x43009810) at ../../../src/game/Map.cpp:526
   p = {x_coord = 511, y_coord = 511}
   cell = {data = {Part = {grid_x = 31, grid_y = 31, cell_x = 15, 
     cell_y = 15, nocreate = 1, reserved = 31}, All = 1060960223}}
   post_man = {i_phaseMask = 0, i_message = 0x0}
   message = {i_visitor = @0x7fd1687d6a48}
   cell_lock = {i_cell = @0x1002, i_cellPair = @0x0}
#2  0x000000000073adca in Unit::SendThreatRemove (this=0x236e0240, 
   pHostileReference=<value optimized out>)
   at ../../../src/game/Unit.cpp:13726
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
   _wpos = 11, 
   _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 = 0x7fd185a68400 "ù\\001Ŷv@ñ\\amg\\004", 
         _M_finish = 0x7fd185a68410 "ð\\033߯Ñ\\177", 
         _M_end_of_storage = 0x7fd185a68410 "ð\\033߯Ñ\\177"}}, <No data fields>}}, m_opcode = 1156}
#3  0x0000000000723925 in ThreatManager::ProcessThreatEvent (this=0x236e1be8, 
   threatRefStatusChangeEvent=<value optimized out>)
   at ../../../src/game/ThreatManager.cpp:534
   hostileReference = (HostileReference *) 0x7fd190a7d430
#4  0x0000000000723c0a in HostileReference::removeReference (
   this=0x7fd190a7d430) at ../../../src/game/ThreatManager.cpp:195
   event = {<UnitBaseEvent> = {iType = 4}, 
 iHostileReference = 0x7fd190a7d430, {iFValue = -2.06389268e-13, 
   iIValue = -1436000344, iBValue = 168}, iThreatManager = 0x236e1be8}
#5  0x0000000000585db8 in HostileRefManager::DeleteReferences (
   this=<value optimized out>) at ../../../src/game/HostileRefManager.cpp:104
   nextRef = (class HostileReference *) 0xb436e0
   ref = (class HostileReference *) 0x7fd190a7d430
#6  0x0000000000586363 in ~HostileRefManager (this=0x7fd162990550)
   at ../../../src/game/HostileRefManager.cpp:27
No locals.
#7  0x0000000000737ad4 in ~Unit (this=0x7fd1687d5040)
   at ../../../src/game/Unit.cpp:192
No locals.
#8  0x0000000000689c34 in ~Player (this=0x7fd1687d5040)
   at ../../../src/game/Player.cpp:533
No locals.
#9  0x00000000005e5293 in Map::Remove (this=0x7fd1e364a520, 
   player=0x7fd1687d5040, remove=true) at ../../../src/game/Map.cpp:781
   p = {x_coord = 296, y_coord = 399}
   cell = {data = {Part = {grid_x = 18, grid_y = 24, cell_x = 8, 
     cell_y = 15, nocreate = 0, reserved = 0}, All = 3966482}}
   grid = <value optimized out>
   __PRETTY_FUNCTION__ = "virtual void Map::Remove(Player*, bool)"
#10 0x0000000000763444 in WorldSession::LogoutPlayer (this=0x7fd1b9d0d9f0, 
   Save=<value optimized out>) at ../../../src/game/WorldSession.cpp:439
   guild = <value optimized out>
   _map = (class Map *) 0x7fd162990550
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 7488, 
   _wpos = 140539846973192, 
   _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 = 0x20000 <Address 0x20000 out of bounds>, 
         _M_finish = 0x7fd1c0000020 "", 
         _M_end_of_storage = 0x7fd17e8ddf58 ""}}, <No data fields>}}, 
 m_opcode = 1}
#11 0x0000000000764913 in WorldSession::Update (this=0x7fd1b9d0d9f0)
   at ../../../src/game/WorldSession.cpp:275
   packet = (WorldPacket *) 0x7fd1f400eaa0
   currTime = 1984
#12 0x000000000075cbef in World::UpdateSessions (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:2164
   itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<const unsigned int, WorldSession*>, false>> = {_M_cur_node = 0x0, 
   _M_cur_bucket = 0x4300a040}, <No data fields>}
   sess = <value optimized out>
#13 0x000000000075d763 in World::Update (this=0x7fd1f400eaa0, diff=214)
   at ../../../src/game/World.cpp:1648
   autobroadcaston = 0
#14 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 214
   realCurrTime = 3156584998
   realPrevTime = <value optimized out>
   prevSleepTime = 0
#15 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x7fd162990550)
   at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x7fd1e122af00
#16 0x00007fd1fc507fc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#17 0x00007fd1fbad75ad in clone () from /lib/libc.so.6
No symbol table info available.
#18 0x0000000000000000 in ?? ()
No symbol table info available.
 14 Thread 0x46811950 (LWP 10876)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x46010950 (LWP 10875)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x4580f950 (LWP 10874)  0x00007fd1fc50edb1 in send ()
  from /lib/libpthread.so.0
 11 Thread 0x4500e950 (LWP 10873)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 10 Thread 0x4480d950 (LWP 10872)  0x00007fd1fbad7b78 in epoll_wait ()
  from /lib/libc.so.6
 9 Thread 0x4400c950 (LWP 10871)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 8 Thread 0x4380b950 (LWP 10870)  0x00007fd1fbaa5ff1 in nanosleep ()
  from /lib/libc.so.6
* 7 Thread 0x4300a950 (LWP 10869)  0x00000000005d3452 in Map::loaded (
   this=0x7fd162990550, p=@0x43009760) at ../../../src/game/Map.h:499
 6 Thread 0x42809950 (LWP 10834)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 5 Thread 0x42008950 (LWP 10812)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 4 Thread 0x40b5d950 (LWP 10811)  0x00007fd1fc50e7db in read ()
  from /lib/libpthread.so.0
 3 Thread 0x41807950 (LWP 10810)  0x00007fd1fc50f0e1 in nanosleep ()
  from /lib/libpthread.so.0
 1 Thread 0x7fd1fde896f0 (LWP 10806)  0x00007fd1fc508715 in pthread_join ()
  from /lib/libpthread.so.0

Confirmed, I have de same

Link to comment
Share on other sites

9049

SD2 1523

YTDB R524

Heisei 1.1.2

Thanks!

Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./bin/mangos-worldd'.
Program terminated with signal 11, Segmentation fault.
#0  0x00002b3ee05a21ce in free () from /lib/libc.so.6
#0  0x00002b3ee05a21ce in free () from /lib/libc.so.6
No symbol table info available.
#1  0x0000000000ad3ab1 in __gnu_cxx::new_allocator<std::_List_node<Aura*> >::Deallocate (this=0x858eee0, __p=0x858ee01)
   at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:94
No locals.
#2  0x0000000000ad3ad9 in std::_List_base<Aura*, std::allocator<Aura*> >::_M_put_node (this=0x858eee0, __p=0x858ee01)
   at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:320
No locals.
#3  0x0000000000b81a1e in std::_List_base<Aura*, std::allocator<Aura*> >::_M_clear (this=0x858eee0)
   at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/list.tcc:78
   __tmp = (class std::_List_node<Aura*> *) 0x858ee01
   __cur = (class std::_List_node<Aura*> *) 0x8000000000858ed
#4  0x0000000000b81a68 in ~_List_base (this=0x858eee0)
   at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:339
No locals.
#5  0x0000000000b81abd in ~list (this=0x858eee0)
   at /usr/lib/gcc/x86_64-linux-gnu/4.1.2/../../../../include/c++/4.1.2/bits/stl_list.h:399
No locals.
#6  0x0000000000b7bed6 in ~Unit (this=0x858eb70)
   at ../../../src/game/Unit.cpp:180
No locals.
#7  0x0000000000860bac in ~Creature (this=0x858eb70)
   at ../../../src/game/Creature.cpp:140
No locals.
#8  0x00000000009a3cff in ObjectGridUnloader::Visit<Creature> (
   this=0x42002d80, m=@0xddfc070)
   at ../../../src/game/ObjectGridLoader.cpp:274
   obj = (class Creature *) 0x858eb70
#9  0x00000000009a3d37 in VisitorHelper<ObjectGridUnloader, Creature> (
   v=@0x42002d80, c=@0xddfc070)
   at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64
No locals.
#10 0x00000000009a3ecf in VisitorHelper<ObjectGridUnloader, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > (v=@0x42002d80, c=@0xddfc070)
   at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70
No locals.
#11 0x00000000009a3f10 in VisitorHelper<ObjectGridUnloader, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > (
   v=@0x42002d80, c=@0xddfc040)
   at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:71
No locals.
#12 0x00000000009a3f37 in VisitorHelper<ObjectGridUnloader, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >
   (v=@0x42002d80, c=@0xddfc040)
   at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:94
No locals.
#13 0x00000000009a3f5a in TypeContainerVisitor<ObjectGridUnloader, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >::Visit (this=0x42002cc0, c=@0xddfc040)
   at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:105
No locals.
#14 0x00000000009a3f79 in Grid<Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > >, MaNGOS::SingleThreaded<Player> >::Visit<ObjectGridUnloader> (this=0xddfc040, visitor=@0x42002cc0)
   at ../../../src/game/../framework/GameSystem/Grid.h:94
No locals.
#15 0x00000000009a1a8a in ObjectGridUnloader::Unload (this=0x42002d80, 
   grid=@0xddfc040) at ../../../src/game/ObjectGridLoader.cpp:254
   unloader = {i_visitor = @0x42002d80}
#16 0x000000000097a732 in GridLoader<Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >::Unload<ObjectGridUnloader>
   (this=0x42002d27, grid=@0xddfc040, unloader=@0x42002d80)
   at ../../../src/game/../framework/GameSystem/GridLoader.h:72
No locals.
#17 0x000000000097a784 in ObjectGridUnloader::UnloadN (this=0x42002d80)
   at ../../../src/game/ObjectGridLoader.h:70
   loader = {<No data fields>}
   y = 5
   x = 5
#18 0x0000000000955086 in Map::UnloadGrid (this=0x1598be0, x=@0x42002ff4, 
   y=@0x42002ff0, pForce=false) at ../../../src/game/Map.cpp:1088
   unloader = {i_grid = @0xddf79a0}
   grid = (NGridType *) 0xddf79a0
   gx = 12592567
   gy = 0
   __PRETTY_FUNCTION__ = "bool Map::UnloadGrid(const uint32&, const uint32&, bool)"
#19 0x0000000000c0239b in RemovalState::Update (this=0x1968230, m=@0x1598be0, 
   grid=@0xddf79a0, info=@0xddf79a8, x=@0x42002ff4, y=@0x42002ff0, 
   t_diff=@0x420030bc) at ../../../src/game/GridStates.cpp:65
No locals.
#20 0x000000000095bbc9 in Map::Update (this=0x1598be0, t_diff=@0x420030bc)
   at ../../../src/game/Map.cpp:714
   grid = (NGridType *) 0xddf79a0
   info = (GridInfo *) 0xddf79a8
   i = {_Ptr = 0x2aaabf945558}
   updater = {i_timeDiff = 144}
   grid_object_update = {i_visitor = @0x42002f80}
   world_object_update = {i_visitor = @0x42002f80}
   __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#21 0x0000000000982897 in MapManager::Update (this=0x2aaab316d6c0, diff=48)
   at ../../../src/game/MapManager.cpp:265
   iter = {_M_cur = 0x1967970, _M_ht = 0x2aaab316d748}
#22 0x0000000000b98e7d in World::Update (this=0x103e920, diff=48)
   at ../../../src/game/World.cpp:1679
   autobroadcaston = 1
#23 0x00000000007ea23f in WorldRunnable::run (this=0x17f0150)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 48
   realCurrTime = 3197356274
   realPrevTime = 3197356226
   prevSleepTime = 45
#24 0x0000000000c5ddca in ACE_Based::Thread::ThreadTask (param=0x17f0150)
   at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x17f0150
#25 0x00002b3edff98f1a in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#26 0x00002b3ee05ff5d2 in clone () from /lib/libc.so.6
No symbol table info available.
#27 0x0000000000000000 in ?? ()
No symbol table info available.

Link to comment
Share on other sites

9049

SD2 1523

YTDB R524

Heisei 1.1.2

Thanks!

Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./bin/mangos-worldd'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000000000 in ?? ()
#0  0x0000000000000000 in ?? ()
No symbol table info available.
#1  0x0000000000c29b86 in WorldSession::HandleCastSpellOpcode (this=0x7f98390, 
   recvPacket=@0x2aaabf826a00) at ../../../src/game/SpellHandler.cpp:323
   spellId = 6197
   cast_count = 160 ' '
   unk_flags = 0 '\\0'
   mover = (class Unit *) 0x2aaad1ad04b0
   spellInfo = (const SpellEntry *) 0x2aaaae9b7db0
   targets = {m_srcX = 3.75434896e-34, m_srcY = 0, 
 m_srcZ = 3.75433427e-34, m_destX = 0, m_destY = 32.0457764, m_destZ = 0, 
 m_strTarget = {static npos = 18446744073709551615, 
   _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
     _M_p = 0x7e5f6d "ÉÃ\\220UH\\211åH\\203ì\\020H\\211}øH\\213}øH\\203Ç\\bèÏÿÿÿÉÃ\\220UH\\211åH\\203ì\\020H\\211}øH\\211uðH\\213}øèñøÿÿH\\213}øH\\203Ç8H\\213uðè$ÿÿÿH\\213}øè±ÿÿÿÉÃ\\220UH\\211åSH\\203ì8H\\211}àH\\211uØH\\211Uп\\020"}}, m_targetMask = 133792992, 
 m_unitTarget = 0x7f984b0, m_GOTarget = 0x42002f00, m_itemTarget = 0xba43e6, 
 m_unitTargetGUID = 3249798232, m_GOTargetGUID = 1107308368, 
 m_CorpseTargetGUID = 1107308320, m_itemTargetGUID = 12207107, 
 m_itemTargetEntry = 3249798512}
   spell = (Spell *) 0x42003038
#2  0x0000000000ba9510 in WorldSession::Update (this=0x7f98390)
   at ../../../src/game/WorldSession.cpp:186
   opHandle = (OpcodeHandler &) @0xfcc440: {
 name = 0xd230da "CMSG_CAST_SPELL", status = STATUS_LOGGEDIN, handler = {
   __pfn = 0xc29976 <WorldSession::HandleCastSpellOpcode(WorldPacket&)>, 
   __delta = 0}}
   packet = (WorldPacket *) 0x2aaabf826a00
   currTime = 1107308640
#3  0x0000000000b98a7a in World::UpdateSessions (this=0x103c850, diff=57)
   at ../../../src/game/World.cpp:2097
   itr = {_M_cur = 0x2aaad440ed30, _M_ht = 0x103c920}
   next = {_M_cur = 0x20e3690, _M_ht = 0x103c920}
   sess = (WorldSession *) 0x103c850
#4  0x0000000000b98ca7 in World::Update (this=0x103c850, diff=57)
   at ../../../src/game/World.cpp:1640
   autobroadcaston = 1
#5  0x00000000007ea23f in WorldRunnable::run (this=0x2aaabd491820)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 57
   realCurrTime = 3284230486
   realPrevTime = 3284230429
   prevSleepTime = 42
#6  0x0000000000c5ddca in ACE_Based::Thread::ThreadTask (param=0x2aaabd491820)
   at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x2aaabd491820
#7  0x00002b23df0aef1a in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8  0x00002b23df7155d2 in clone () from /lib/libc.so.6
No symbol table info available.
#9  0x0000000000000000 in ?? ()
No symbol table info available.

Link to comment
Share on other sites

9061

SD2 1523

YTDB R524

Heisei 1.1.2

Aura 262 patch

AHBot

DualSpec

Anticheat

and some insider's commits

Thanks!

Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./bin/mangos-worldd'.
Program terminated with signal 6, Aborted.
#0  0x00002b4cdf96b07b in raise () from /lib/libc.so.6
#0  0x00002b4cdf96b07b in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b4cdf96c84e in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00002b4cdf964af4 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3  0x00000000008c412e in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject> (elements=@0x2aaabe12a010, handle=17370386786827658664, obj=0x2aaaca99e580) at ../../../src/game/../framework/GameSystem/TypeContainer.h:78
   i = {_M_cur = 0x2aaacc945e00, _M_ht = 0x2aaabe12a010}
   __PRETTY_FUNCTION__ = "static bool TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::insert(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = GameObject, OBJECT_TYPES = TypeLi"...
#4  0x00000000008c4159 in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject, GameObject, TypeList<DynamicObject, TypeNull> > (elements=@0x2aaabe12a010, handle=17370386786827658664, obj=0x2aaaca99e580)
   at ../../../src/game/../framework/GameSystem/TypeContainer.h:92
   ret = false
#5  0x00000000008c41d8 in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject, Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > (elements=@0x2aaabe129fe8, handle=17370386786827658664, obj=0x2aaaca99e580)
   at ../../../src/game/../framework/GameSystem/TypeContainer.h:93
   ret = false
#6  0x00000000008c4230 in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject, Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > (elements=@0x2aaabe129fc0, handle=17370386786827658664, 
   obj=0x2aaaca99e580) at ../../../src/game/../framework/GameSystem/TypeContainer.h:93
   ret = false
#7  0x00000000008c4288 in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject, Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > > (elements=@0x2aaabe129f98, 
   handle=17370386786827658664, obj=0x2aaaca99e580) at ../../../src/game/../framework/GameSystem/TypeContainer.h:93
   ret = false
#8  0x00000000008c42b9 in TypeUnorderedMapContainer<TypeList<Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > >, unsigned long>::insert<GameObject> (this=0x2aaabe129f98, handle=17370386786827658664, obj=0x2aaaca99e580) at ../../../src/game/../framework/GameSystem/TypeContainer.h:53
No locals.
#9  0x00000000008c0280 in GameObject::AddToWorld (this=0x2aaaca99e580) at ../../../src/game/GameObject.cpp:69
No locals.
#10 0x000000000098127a in Map::Add<GameObject> (this=0x2aaabe129e50, obj=0x2aaaca99e580) at ../../../src/game/Map.cpp:477
   p = {x_coord = 65, y_coord = 258}
   cell = {data = {Part = {grid_x = 8, grid_y = 32, cell_x = 1, cell_y = 2, nocreate = 0, reserved = 0}, All = 530440}}
   grid = (
   NGrid<8u,Player,TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > >,TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > >,MaNGOS::SingleThreaded<Player> > *) 0x2aaac0fe4680
   __PRETTY_FUNCTION__ = "void Map::Add(T*) [with T = GameObject]"
#11 0x00000000008adefd in GameEventMgr::GameEventSpawn (this=0x2aaab295cd90, event_id=15) at ../../../src/game/GameEventMgr.cpp:570
   pGameobject = (class GameObject *) 0x2aaaca99e580
   map = (class Map *) 0x2aaabe129e50
   data = (const GameObjectData *) 0x2aaabcc3bdac
   itr = {_M_node = 0x2aaab2bd5dc0}
   internal_event_id = 59
#12 0x00000000008ae211 in GameEventMgr::ApplyNewEvent (this=0x2aaab295cd90, event_id=15) at ../../../src/game/GameEventMgr.cpp:495
   event_nid = 0
#13 0x00000000008afc40 in GameEventMgr::StartEvent (this=0x2aaab295cd90, event_id=15, overwrite=false) at ../../../src/game/GameEventMgr.cpp:72
No locals.
#14 0x00000000008afd44 in GameEventMgr::Update (this=0x2aaab295cd90) at ../../../src/game/GameEventMgr.cpp:440
   itr = 15
   nextEventDelay = 6599
   calcDelay = 6599
#15 0x0000000000b990a0 in World::Update (this=0x103f8c0, diff=52) at ../../../src/game/World.cpp:1705
   nextGameEvent = 0
   autobroadcaston = 1
#16 0x00000000007ea23f in WorldRunnable::run (this=0x2aaab2b12450) at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 52
   realCurrTime = 3504183476
   realPrevTime = 3504183424
   prevSleepTime = 45
#17 0x0000000000c5df8a in ACE_Based::Thread::ThreadTask (param=0x2aaab2b12450) at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x2aaab2b12450
#18 0x00002b4cdf39ef1a in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#19 0x00002b4cdfa055d2 in clone () from /lib/libc.so.6
No symbol table info available.
#20 0x0000000000000000 in ?? ()
No symbol table info available.

Link to comment
Share on other sites

core 9034

How GetMap() can be NULL ? During Teleport ?

../../../src/game/Object.h:501: Error: Assertion in GetMap failed: m_currMap
Stack Trace:
/home/git/core/bin/mangos-worldd(_ZN5Group22UpdatePlayerOutOfRangeEP6Player+0xaf) [0x57e6cf]
/home/git/core/bin/mangos-worldd(_ZN6Player34SendUpdateToOutOfRangeGroupMembersEv+0x22) [0x652ce2]
/home/git/core/bin/mangos-worldd(_ZN6Player6UpdateEj+0x574) [0x69b824]
/home/git/core/bin/mangos-worldd(_ZN3Map6UpdateERKj+0x5c) [0x5e11ec]
/home/git/core/bin/mangos-worldd(_ZN10MapManager6UpdateEj+0x87) [0x5f0107]
/home/git/core/bin/mangos-worldd(_ZN5World6UpdateEj+0x616) [0x75d936]
/home/git/core/bin/mangos-worldd(_ZN13WorldRunnable3runEv+0xd1) [0x4eb1b1]
/home/git/core/bin/mangos-worldd(_ZN9ACE_Based6Thread10ThreadTaskEPv+0x1c) [0x80119c]
/lib/libpthread.so.0 [0x7ff6bedc4fc7]
/lib/libc.so.6(clone+0x6d) [0x7ff6be3945ad]
[Thread 0x413d1950 (LWP 8733) exited]
[New Thread 0x413d1950 (LWP 8734)]
[New Thread 0x42394950 (LWP 8735)]
[New Thread 0x42b95950 (LWP 8736)]
[New Thread 0x43396950 (LWP 8793)]
[New Thread 0x40a48950 (LWP 8794)]
[New Thread 0x43b97950 (LWP 8795)]
[New Thread 0x44398950 (LWP 8796)]
[New Thread 0x44b99950 (LWP 8797)]
[New Thread 0x4539a950 (LWP 8798)]
[New Thread 0x45b9b950 (LWP 8799)]
[New Thread 0x4639c950 (LWP 8800)]
[New Thread 0x46b9d950 (LWP 8801)]

Program received signal SIGABRT, Aborted.
[switching to Thread 0x40a48950 (LWP 8794)]
0x00007ff6be2f6ed5 in raise () from /lib/libc.so.6
#0  0x00007ff6be2f6ed5 in raise () from /lib/libc.so.6
#1  0x00007ff6be2f83f3 in abort () from /lib/libc.so.6
#2  0x00007ff6be2efdc9 in __assert_fail () from /lib/libc.so.6
#3  0x00000000004f538b in WorldObject::GetMap (this=<value optimized out>)
   at ../../../src/game/Object.h:501
#4  0x0000000000652d60 in Player::GetViewPoint (this=0x7ff6573aeca0)
   at ../../../src/game/Player.cpp:18586
#5  0x000000000057e6cf in Group::UpdatePlayerOutOfRange (
   this=<value optimized out>, pPlayer=0x7ff649f0f970)
   at ../../../src/game/Group.cpp:1041
#6  0x0000000000652ce2 in Player::SendUpdateToOutOfRangeGroupMembers (
   this=0x7ff649f0f970) at ../../../src/game/Player.cpp:18950
#7  0x000000000069b824 in Player::Update (this=0x7ff649f0f970, p_time=114)
   at ../../../src/game/Player.cpp:1382
#8  0x00000000005e11ec in Map::Update (this=0x52120b0, t_diff=@0x40a47bec)
   at ../../../src/game/Map.cpp:595
#9  0x00000000005f0107 in MapManager::Update (this=0xb86c590, 
   diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265
#10 0x000000000075d936 in World::Update (this=0x7ff6b80236a0, diff=114)
   at ../../../src/game/World.cpp:1690
#11 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
#12 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x2209)
   at ../../../src/shared/Threading.cpp:183
#13 0x00007ff6bedc4fc7 in start_thread () from /lib/libpthread.so.0
#14 0x00007ff6be3945ad in clone () from /lib/libc.so.6
#15 0x0000000000000000 in ?? ()
#0  0x00007ff6be2f6ed5 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0x00007ff6be2f83f3 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x00007ff6be2efdc9 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3  0x00000000004f538b in WorldObject::GetMap (this=<value optimized out>)
   at ../../../src/game/Object.h:501
   st = {static SYMBUFSIZ = 4096, 
 buf_ = "/home/git/core/bin/mangos-worldd(_ZN5Group22UpdatePlayerOutOfRangeEP6Player+0xaf) [0x57e6cf]\\n/home/git/core/bin/mangos-worldd(_ZN6Player34SendUpdateToOutOfRangeGroupMembersEv+0x22) [0x652ce2]\\n/home/gi"..., buflen_ = 720, 
 static UNSUPPORTED = 0x7ff6c02e84a0 "<stack traces unsupported platform>", 
 static UNABLE_TO_GET_TRACE = 0x7ff6c02e84d0 "<unable to get trace>"}
   __FUNCTION__ = "GetMap"
   __PRETTY_FUNCTION__ = "Map* WorldObject::GetMap() const"
#4  0x0000000000652d60 in Player::GetViewPoint (this=0x7ff6573aeca0)
   at ../../../src/game/Player.cpp:18586
   viewPoint = (const class WorldObject *) 0x7ff6573aeca0
   far_sight = 17388398644142538753
#5  0x000000000057e6cf in Group::UpdatePlayerOutOfRange (
   this=<value optimized out>, pPlayer=0x7ff649f0f970)
   at ../../../src/game/Group.cpp:1041
   itr = (class GroupReference *) 0x7ff6573b1520
   player = (class Player *) 0x7ff6573aeca0
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, 
   _wpos = 10, 
   _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 = 0x7ff63a2fb840 "\\aÅÛ\\003\\200", 
         _M_finish = 0x7ff63a2fb84a "%\\001ö\\177", 
         _M_end_of_storage = 0x7ff63a2fb84e ""}}, <No data fields>}}, 
 m_opcode = 126}
#6  0x0000000000652ce2 in Player::SendUpdateToOutOfRangeGroupMembers (
   this=0x7ff649f0f970) at ../../../src/game/Player.cpp:18950
   group = (Group *) 0x2209
#7  0x000000000069b824 in Player::Update (this=0x7ff649f0f970, p_time=114)
   at ../../../src/game/Player.cpp:1382
   now = 1261564121
   pet = <value optimized out>
#8  0x00000000005e11ec in Map::Update (this=0x52120b0, t_diff=@0x40a47bec)
   at ../../../src/game/Map.cpp:595
   plr = (class Player *) 0x2209
   updater = {i_timeDiff = 1084521452}
   grid_object_update = {i_visitor = @0x72}
   world_object_update = {i_visitor = @0x40a47b90}
   __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#9  0x00000000005f0107 in MapManager::Update (this=0xb86c590, 
   diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265
No locals.
#10 0x000000000075d936 in World::Update (this=0x7ff6b80236a0, diff=114)
   at ../../../src/game/World.cpp:1690
   autobroadcaston = 0
#11 0x00000000004eb1b1 in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 114
   realCurrTime = 3138703624
   realPrevTime = <value optimized out>
   prevSleepTime = 0
#12 0x000000000080119c in ACE_Based::Thread::ThreadTask (param=0x2209)
   at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x7ff6b8e40e10
#13 0x00007ff6bedc4fc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x00007ff6be3945ad in clone () from /lib/libc.so.6
No symbol table info available.
#15 0x0000000000000000 in ?? ()
No symbol table info available.
 14 Thread 0x46b9d950 (LWP 8801)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x4639c950 (LWP 8800)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x45b9b950 (LWP 8799)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 11 Thread 0x4539a950 (LWP 8798)  0x00007ff6bedcb7db in read ()
  from /lib/libpthread.so.0
 10 Thread 0x44b99950 (LWP 8797)  0x00007ff6be394b78 in epoll_wait ()
  from /lib/libc.so.6
 9 Thread 0x44398950 (LWP 8796)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 8 Thread 0x43b97950 (LWP 8795)  0x00007ff6be362ff1 in nanosleep ()
  from /lib/libc.so.6
* 7 Thread 0x40a48950 (LWP 8794)  0x00007ff6be2f6ed5 in raise ()
  from /lib/libc.so.6
 6 Thread 0x43396950 (LWP 8793)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 5 Thread 0x42b95950 (LWP 8736)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 4 Thread 0x42394950 (LWP 8735)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 3 Thread 0x413d1950 (LWP 8734)  0x00007ff6bedcc0e1 in nanosleep ()
  from /lib/libpthread.so.0
 1 Thread 0x7ff6c07466f0 (LWP 8713)  0x00007ff6bedc5715 in pthread_join ()
  from /lib/libpthread.so.0

Same error, happens if hunter enter (heroic) instance with http://www.wowhead.com/?spell=58983. wtf?

Link to comment
Share on other sites

rev 9101-9102

SD2 1537

YTDB R526

ACID 3.0.1

#0  0x0085d410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x004d8df0 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x004da701 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x0051128b in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4  0x005179f8 in malloc_consolidate () from /lib/libc.so.6
No symbol table info available.
#5  0x00519ce3 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#6  0x0051bd87 in malloc () from /lib/libc.so.6
No symbol table info available.
#7  0x052f5ab7 in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0x0813f573 in std::vector<unsigned char, std::allocator<unsigned char> >::reserve (this=0xa7ea2054, __n=4096)
   at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:88
       __old_size = 0
       __tmp = <value optimized out>
#9  0x0841101f in UpdateData (this=0xa7ea2030)
   at ../../../src/game/../shared/ByteBuffer.h:56
No locals.
#10 0x0828bed7 in Object::BuildUpdateDataForPlayer (this=0x149e5570,
   pl=0x149a3690, update_players=@0xa7ea20d8)
   at ../../../src/game/Object.cpp:1120
       p = {first = {_M_cur = 0xce7d, _M_ht = 0x0}, second = 152}
       __PRETTY_FUNCTION__ = "void Object::BuildUpdateDataForPlayer(Player*, UpdateDataMapType&)"
#11 0x081f1f7e in Item::BuildUpdateData (this=0x149e5570,
   update_players=@0xa7ea20d8) at ../../../src/game/Item.cpp:1031
       pl = (class Player *) 0x0
#12 0x08250d67 in Map::SendObjectUpdates (this=0xafc061a8)
   at ../../../src/game/Map.cpp:3545
       obj = (class Object *) 0x149e5570
       update_players = {_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 = {<std::binary_function<Player*,Player*,bool>> = {<No data fields>}, <No data fields>},
   _M_get_key = {<std::unary_function<std::Pair<Player* const, UpdateData>,Player* const>> = {<No data fields>}, <No data fields>},
   _M_buckets = {<std::_Vector_base<__gnu_cxx::_Hashtable_node<std::Pair<Player---Type <return> to continue, or q <return> to quit---return
* 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 = 0x76b91bf0, _M_finish = 0x76b91ef4,
         _M_end_of_storage = 0x76b91ef4}}, <No data fields>},
   _M_num_elements = 6}}
       packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096,
   _rpos = 2817139316, _wpos = 202,
   _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 = 0xa7ea20e8 "\\006",
         _M_finish = 0x8269aba "\\213C\\004\\213\\b\\205-t\\r\\203-\\004\\205-\\211-u-\\215t&", _M_end_of_storage = 0x83a72168 "-\\032T\\b\\t"}}, <No data fields>}},
 m_opcode = 141}
#13 0x08262a29 in Map::Update (this=0xafc061a8, t_diff=@0xa7ea22b8)
   at ../../../src/game/Map.cpp:702
       updater = {i_timeDiff = 141}
       __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#14 0x08276f95 in MapManager::Update (this=0xaec69968, diff=42)
   at ../../../src/game/MapManager.cpp:265
       iter = {_M_cur = 0xa87a6ee0, _M_ht = 0xaec699b0}
#15 0x08420d59 in World::Update (this=0x9cea368, diff=42)
   at ../../../src/game/World.cpp:1677
       autobroadcaston = 0
#16 0x0813378a in WorldRunnable::run (this=0xafd4cb98)
   at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 42
       realCurrTime = 4046699309
       realPrevTime = <value optimized out>
       prevSleepTime = 41
#17 0x084ecd9d in ACE_Based::Thread::ThreadTask (param=0xafd4cb98)
   at ../../../src/shared/Threading.cpp:183

second

#0  0x00353ff3 in _int_free () from /lib/libc.so.6
No symbol table info available.
#1  0x003549d9 in free () from /lib/libc.so.6
No symbol table info available.
#2  0x052f4581 in operator delete () from /usr/lib/libstdc++.so.6
No symbol table info available.
#3  0x083e3386 in Unit::RemoveAura (this=0x1058e9b8, i=@0xa829ff74,
   mode=AURA_REMOVE_BY_DEFAULT) at ../../../src/game/Unit.cpp:4380
       Aur = (class Aura *) 0x7feab258
       AurSpellInfo = (const SpellEntry *) 0x7feab250
       statue = (class Totem *) 0x0
#4  0x083eedef in Unit::_UpdateSpells (this=0x1058e9b8, time=104)
   at ../../../src/game/Unit.cpp:3227
       i = {_M_node = 0xa19c39f8}
#5  0x083f1f2f in Unit::Update (this=0x1058e9b8, p_time=104)
   at ../../../src/game/Unit.cpp:200
No locals.
#6  0x0833c15d in Player::Update (this=0x1058e9b8, p_time=104)
   at ../../../src/game/Player.cpp:1112
       now = <value optimized out>
       pet = <value optimized out>
#7  0x08261a06 in Map::Update (this=0x916de0c8, t_diff=@0xa82a22b8)
   at ../../../src/game/Map.cpp:595
       plr = (class Player *) 0x1
       updater = {i_timeDiff = 104}
       __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#8  0x082631ae in InstanceMap::Update (this=0x916de0c8, t_diff=@0xa82a22b8)
   at ../../../src/game/Map.cpp:2489
No locals.
#9  0x0848ba06 in MapInstanced::Update (this=0x916cbf50, t=@0xa82a22b8)
   at ../../../src/game/MapInstanced.cpp:63
       i = {_M_cur = 0x916c0b70, _M_ht = 0x916dc0ac}
#10 0x08276f95 in MapManager::Update (this=0xae7178e8, diff=14)
   at ../../../src/game/MapManager.cpp:265
       iter = {_M_cur = 0x916c88e8, _M_ht = 0xae717930}
#11 0x08420d79 in World::Update (this=0x8828368, diff=14)
   at ../../../src/game/World.cpp:1677
       autobroadcaston = 0
#12 0x0813378a in WorldRunnable::run (this=0xafd03db0)
   at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 14
       realCurrTime = 4047889950
       realPrevTime = <value optimized out>
       prevSleepTime = 8
#13 0x084ecdbd in ACE_Based::Thread::ThreadTask (param=0xafd03db0)
   at ../../../src/shared/Threading.cpp:183
No locals.

and again

#0  0x00d6f410 in __kernel_vsyscall ()
No symbol table info available.
#1  0x004d8df0 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x004da701 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x0051128b in __libc_message () from /lib/libc.so.6
No symbol table info available.
#4  0x005179f8 in malloc_consolidate () from /lib/libc.so.6
No symbol table info available.
#5  0x00519ce3 in _int_malloc () from /lib/libc.so.6
No symbol table info available.
#6  0x0051bd87 in malloc () from /lib/libc.so.6
No symbol table info available.
#7  0x052f5ab7 in operator new () from /usr/lib/libstdc++.so.6
No symbol table info available.
#8  0x0826ca7e in std::vector<__gnu_cxx::_Hashtable_node<std::Pair<Player* const, UpdateData> >*, std::allocator<__gnu_cxx::_Hashtable_node<std::Pair<Player* const, UpdateData> >*> >::reserve (this=0xa98a208c, __n=193)
   at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/new_allocator.h:88
       __tmp = <value optimized out>
#9  0x08250d04 in Map::SendObjectUpdates (this=0xaa87fb70)
   at /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hashtable.h:581
       update_players = {_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 = {<std::binary_function<Player*,Player*,bool>> = {<No data fields>}, <No data fields>},
   _M_get_key = {<std::unary_function<std::Pair<Player* const, UpdateData>,Player* const>> = {<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 = 0x0, _M_finish = 0x0,
         _M_end_of_storage = 0x0}}, <No data fields>}, _M_num_elements = 0}}
       packet = {<ByteBuffer> = {static DEFAULT_SIZE = 4096,
   _rpos = 2844402212, _wpos = 266,
   _storage = {<std::_Vector_base<unsigned char,std::allocator<unsigned char> >> = {
       _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsi---Type <return> to continue, or q <return> to quit---return
gned char>> = {<No data fields>}, <No data fields>}, _M_start = 0xa98a2098 "",
         _M_finish = 0x8269aba "\\213C\\004\\213\\b\\205-t\\r\\203-\\004\\205-\\211-u-\\215t&", _M_end_of_storage = 0xaa50cd38 "\\b\\033T\\b\\t"}}, <No data fields>}},
 m_opcode = 105}
#10 0x08262a29 in Map::Update (this=0xaa87fb70, t_diff=@0xa98a22b8)
   at ../../../src/game/Map.cpp:702
       updater = {i_timeDiff = 105}
       __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)"
#11 0x082631ae in InstanceMap::Update (this=0xaa87fb70, t_diff=@0xa98a22b8)
   at ../../../src/game/Map.cpp:2489
No locals.
#12 0x0848ba06 in MapInstanced::Update (this=0xaa963d90, t=@0xa98a22b8)
   at ../../../src/game/MapInstanced.cpp:63
       i = {_M_cur = 0xaa86c4b0, _M_ht = 0xaa973eec}
#13 0x08276f95 in MapManager::Update (this=0xaff23058, diff=20)
   at ../../../src/game/MapManager.cpp:265
       iter = {_M_cur = 0xaa6b34b8, _M_ht = 0xaff230a0}
#14 0x08420d79 in World::Update (this=0xa58e368, diff=20)
   at ../../../src/game/World.cpp:1677
       autobroadcaston = 0
#15 0x0813378a in WorldRunnable::run (this=0xaa6b1488)
   at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 20

Link to comment
Share on other sites

MaNGOS 9035 (instider/old) + OpenMP mtmaps

UDB 385

SD2 1513

http://www.pastebin.org/70560

http://www.pastebin.org/70561

http://www.pastebin.org/70562

and many more with occurence 1-4h during day when population around ~700, but becoming rare after ~21:00 when pop drops below 400. I think that those are caused by mtmaps but I'm not sure. Previously i suffered of constantly crashing MySQL. Reinstaled and reconf MySQL application that it is working stable now.

Link to comment
Share on other sites

Core: 9086 (But this crash is soo old for me)

SD2: 1532

Custom: Mtmaps, DualSpec

Program received signal SIGSEGV, Segmentation fault.
[Cambiando a Thread 0x7ff5e3ffe910 (LWP 764)]
WorldSession::HandleMovementOpcodes (this=0x7fe7d6326da0, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
307        movementInfo.guid = mover->GetGUID();
#0  WorldSession::HandleMovementOpcodes (this=0x7fe7d6326da0, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
#1  0x00000000007d2acd in WorldSession::Update (this=0x7fe7d6326da0)
   at ../../../src/game/WorldSession.cpp:230
#2  0x00000000007c701a in World::UpdateSessions (this=0x7ffbf802c460, diff=448)
   at ../../../src/game/World.cpp:2113
#3  0x00000000007c7b58 in World::Update (this=0x7ffbf802c460, diff=448)
   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=0x7fe7547ee150)
   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=0x7fe7d6326da0, 
   recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
       opcode = 238
       mover = 0x7fe7547ee150
       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 = 0x7fe765953a30 "`\\214!Üç\\177", 
                 _M_finish = 0x7fe765953a30 "`\\214!Üç\\177", 
                 _M_end_of_storage = 0x7fe765953a62 ""}}, <No data fields>}}, 
         m_opcode = 238}
       guid = <value optimized out>
       movementInfo = {guid = 280373, flags = 4096, unk1 = 0, 
         time = 4046865250, x = 1228.57617, y = 825.173096, z = -66.5216217, 
         o = 3.46971655, 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.946648598, j_cosAngle = -0.322267592, 
         j_xyspeed = 17.0900002, u_unk1 = 0}
#1  0x00000000007d2acd in WorldSession::Update (this=0x7fe7d6326da0)
   at ../../../src/game/WorldSession.cpp:230
       packet = 0x7fe7b4456e50
       currTime = <value optimized out>
#2  0x00000000007c701a in World::UpdateSessions (this=0x7ffbf802c460, diff=448)
   at ../../../src/game/World.cpp:2113
       sess = <value optimized out>
#3  0x00000000007c7b58 in World::Update (this=0x7ffbf802c460, diff=448)
   at ../../../src/game/World.cpp:1656
       autobroadcaston = 0
#4  0x00000000004de67c in WorldRunnable::run (this=<value optimized out>)
   at ../../../src/mangosd/WorldRunnable.cpp:60
       diff = 448
       realCurrTime = 4046865222
       realPrevTime = <value optimized out>
       prevSleepTime = 0
#5  0x000000000087faea in ACE_Based::Thread::ThreadTask (param=0x7fe7547ee150)
   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 770)  0x00007ffdfd886df8 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x7febe3ff9910 (LWP 769)  0x00007ffdfe2cec34 in __lll_lock_wait ()
  from /lib/libpthread.so.0
 12 Thread 0x7fede3ffa910 (LWP 768)  0x00007ffdfd886df8 in epoll_wait ()
  from /lib/libc.so.6
 11 Thread 0x7fefe3ffb910 (LWP 767)  0x00007ffdfe2cf8f1 in nanosleep ()
  from /lib/libpthread.so.0
 10 Thread 0x7ff1e3ffc910 (LWP 766)  0x00007ffdfd87f3c2 in select ()
  from /lib/libc.so.6
 9 Thread 0x7ff3e3ffd910 (LWP 765)  0x00007ffdfd84aed1 in nanosleep ()
  from /lib/libc.so.6
* 8 Thread 0x7ff5e3ffe910 (LWP 764)  WorldSession::HandleMovementOpcodes (
   this=0x7fe7d6326da0, recv_data=<value optimized out>)
   at ../../../src/game/MovementHandler.cpp:307
 7 Thread 0x7ff7e3fff910 (LWP 763)  0x00007ffdfe2cc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 5 Thread 0x7ff9f7ffe910 (LWP 761)  0x00007ffdfe2cc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 4 Thread 0x7ffbf7fff910 (LWP 760)  0x00007ffdfe2cf0cb in read ()
  from /lib/libpthread.so.0
 3 Thread 0x7ffdfd353910 (LWP 759)  0x00007ffdfe2cc5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
 1 Thread 0x7ffdfffec710 (LWP 755)  0x00007ffdfe2c8cfd in pthread_join ()
  from /lib/libpthread.so.0

Thread 14 (Thread 0x7fe9e3ff8910 (LWP 770)):
#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=0x7ff7e9744350, 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 = 1709}}
       this_timeout = 0xfffffffffffffffc
       nfds = <value optimized out>
#2  0x00007ffdffaf9dec in ACE_Dev_Poll_Reactor::handle_events_i (
   this=0x7ff7e9744350, 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=0x7ff7e9744350, 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 = 1262472282, tv_usec = 977999}}, stopped_ = false}
       guard = {token_ = @0x7ff7e9744378, owner_ = 1}
       result = -1
#4  0x00007ffdffb51d6d in ACE_Reactor::run_reactor_event_loop (
   this=0x7ff7ea2d6210, tv=..., eh=0) at ../../ace/Reactor.cpp:271
       result = 1
#5  0x00000000007da00b in ReactorRunnable::svc (this=0x7ff7e97440f8)
   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 = 1709}}
#6  0x00007ffdffb77017 in ACE_Task_Base::svc_run (args=<value optimized out>)
   at ../../ace/Task.cpp:275
       t = 0x7ff7e97440f8
       svc_status = <value optimized out>
#7  0x00007ffdffb783a1 in ACE_Thread_Adapter::invoke (this=0x7ff7e9744c10)
   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

Al guid in movementInfo in all my crashes are Hunter, and mostly low lvls 16 - 29

Please, make Kero99 very happy with some info about this crash, i only need resolve this to have a dream of stable server :P

Best Regard

Link to comment
Share on other sites

MaNGOS 9088

SD2 1537

UDB 386

crashlog:

http://www.pastebin.org/70721

Sorce is probably here:

           // add HoTs to amount healed in bgs
           if( pCaster->GetTypeId() == TYPEID_PLAYER )
               if( BattleGround *bg = ((Player*)pCaster)->GetBattleGround() )
                   bg->UpdatePlayerScore(((Player*)pCaster), SCORE_HEALING_DONE, gain);

           [u]m_target->getHostileRefManager().threatAssist(pCaster, float(gain) * 0.5f, GetSpellProto());[/u]

           SpellEntry const* spellProto = GetSpellProto();

           // heal for caster damage

Link to comment
Share on other sites

http://paste2.org/p/591899 --> Maybe old crash, you will try this fix:

 void Object::SetUInt64Value( uint16 index, const uint64 &value )
{
-    ASSERT( index + 1 < m_valuesCount || PrintIndexError( index, true ) );
+    if( index + 1 > m_valuesCount) { PrintIndexError( index, true ); return; }
    if(*((uint64*)&(m_uint32Values[ index ])) != value)
    {
        m_uint32Values[ index ] = *((uint32*)&value);

And second, i have this some time ago but disapear when i apply Silverice Visibility Patch an tunning visibility paremeters:

http://pastebin.com/m936c125

Best Regards

Link to comment
Share on other sites

MaNGOS 9100 + Insider 42 pack.

Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 0x4374f950 (LWP 26458)]
0x00007fd2407d5018 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6
#0  0x00007fd2407d5018 in std::_Rb_tree_increment ()
  from /usr/lib/libstdc++.so.6
#1  0x00000000006bf1c7 in Aura::ReapplyAffectedPassiveAuras (
   this=0x7fd18947c2f0, target=0x7fd18a41c970, owner_mode=true)
   at /usr/include/c++/4.3/bits/stl_tree.h:257
#2  0x00000000006c4d27 in Aura::HandleAddModifier (this=0x7fd18947c2f0, 
   apply=<value optimized out>, Real=<value optimized out>)
   at ../../../src/game/SpellAuras.cpp:1603
#3  0x00000000006b92c4 in Aura::ApplyModifier (this=0x7fd18947c2f0, apply=240, 
   Real=96) at ../../../src/game/SpellAuras.cpp:1015
#4  0x00000000006c50b7 in Aura::SetStackAmount (this=0x7fd18947c2f0, 
   stackAmount=160 ' ') at ../../../src/game/SpellAuras.cpp:1457
#5  0x00000000006c510c in Aura::modStackAmount (this=0x1000, 
   num=<value optimized out>) at ../../../src/game/SpellAuras.cpp:1488
#6  0x000000000073d033 in Unit::AddAura (this=0x7fd18a41c970, 
   Aur=0x7fd189b54640) at ../../../src/game/Unit.cpp:3752
#7  0x00000000006fb797 in Spell::EffectApplyAura (this=0x7fd18ad8fd40, i=0)
   at ../../../src/game/SpellEffects.cpp:2702
#8  0x00000000006d67bb in Spell::DoSpellHitOnUnit (this=0x7fd18ad8fd40, 
   unit=0x7fd18a41c970, effectMask=3) at ../../../src/game/Spell.cpp:1224
#9  0x00000000006d6e9b in Spell::DoAllEffectOnTarget (this=0x7fd18ad8fd40, 
   target=0x7fd18b0e8860) at ../../../src/game/Spell.cpp:1022
#10 0x00000000006e5be4 in Spell::handle_immediate (this=0x7fd18ad8fd40)
   at ../../../src/game/Spell.cpp:2918
#11 0x00000000006e4f58 in Spell::cast (this=0x7fd18ad8fd40, skipCheck=true)
   at ../../../src/game/Spell.cpp:2892
#12 0x0000000000732189 in Unit::CastSpell (this=0x7fd18a41c970, 
   Victim=0x7fd18a41c970, spellInfo=0x7fd23d59ce50, 
   triggered=<value optimized out>, castItem=0x0, 
   triggeredByAura=0x7fd18bca4ba0, originalCaster=0)
   at ../../../src/game/Unit.cpp:1000
#13 0x0000000000733ded in Unit::HandleProcTriggerSpell (this=0x7fd18a41c970, 
   pVictim=0x7fd18a41c970, damage=<value optimized out>, 
   triggeredByAura=0x7fd18bca4ba0, procSpell=0x7fd23dc7d8a0, procFlags=16384, 
   procEx=1, cooldown=0) at ../../../src/game/Unit.cpp:8036
#14 0x000000000074b416 in Unit::ProcDamageAndSpellFor (this=0x7fd18a41c970, 
   isVictim=false, pTarget=0x7fd18a41c970, procFlag=16384, procExtra=1, 
   attType=BASE_ATTACK, procSpell=0x7fd23dc7d8a0, damage=0)
   at ../../../src/game/Unit.cpp:12755
#15 0x000000000074bbd5 in Unit::ProcDamageAndSpell (this=0x1000, 
   pVictim=0x7fd18a41c970, procAttacker=<value optimized out>, 
   procVictim=32768, procExtra=1, amount=0, attType=BASE_ATTACK, 
   procSpell=0x7fd23dc7d8a0) at ../../../src/game/Unit.cpp:4797
#16 0x00000000006d6de8 in Spell::DoAllEffectOnTarget (this=0x7fd17c734fa0, 
   target=0x7fd18a279d70) at ../../../src/game/Spell.cpp:1087
#17 0x00000000006e5be4 in Spell::handle_immediate (this=0x7fd17c734fa0)
   at ../../../src/game/Spell.cpp:2918
#18 0x00000000006e4f58 in Spell::cast (this=0x7fd17c734fa0, skipCheck=true)
   at ../../../src/game/Spell.cpp:2892
#19 0x0000000000732189 in Unit::CastSpell (this=0x7fd18a41c970, 
   Victim=0x7fd18a41c970, spellInfo=0x7fd23dc7d8a0, 
   triggered=<value optimized out>, castItem=0x0, triggeredByAura=0x0, 
   originalCaster=0) at ../../../src/game/Unit.cpp:1000
#20 0x00000000006bf1bf in Aura::ReapplyAffectedPassiveAuras (
   this=0x7fd18947c2f0, target=0x7fd18a41c970, owner_mode=true)
   at ../../../src/game/SpellAuras.cpp:1538
#21 0x00000000006c4d27 in Aura::HandleAddModifier (this=0x7fd18947c2f0, 
   apply=<value optimized out>, Real=<value optimized out>)
   at ../../../src/game/SpellAuras.cpp:1603
#22 0x00000000006b92c4 in Aura::ApplyModifier (this=0x7fd18947c2f0, apply=240, 
   Real=96) at ../../../src/game/SpellAuras.cpp:1015
#23 0x00000000006c50b7 in Aura::SetStackAmount (this=0x7fd18947c2f0, 
   stackAmount=160 ' ') at ../../../src/game/SpellAuras.cpp:1457
#24 0x00000000006c510c in Aura::modStackAmount (this=0x1000, 
   num=<value optimized out>) at ../../../src/game/SpellAuras.cpp:1488
#25 0x000000000073d033 in Unit::AddAura (this=0x7fd18a41c970, 
   Aur=0x7fd18b6aec10) at ../../../src/game/Unit.cpp:3752
#26 0x00000000006fb797 in Spell::EffectApplyAura (this=0x7fd18b89dae0, i=0)
   at ../../../src/game/SpellEffects.cpp:2702
#27 0x00000000006d67bb in Spell::DoSpellHitOnUnit (this=0x7fd18b89dae0, 
   unit=0x7fd18a41c970, effectMask=3) at ../../../src/game/Spell.cpp:1224
#28 0x00000000006d6e9b in Spell::DoAllEffectOnTarget (this=0x7fd18b89dae0, 
   target=0x7fd18b778ae0) at ../../../src/game/Spell.cpp:1022
#29 0x00000000006e5be4 in Spell::handle_immediate (this=0x7fd18b89dae0)
   at ../../../src/game/Spell.cpp:2918
#30 0x00000000006e4f58 in Spell::cast (this=0x7fd18b89dae0, skipCheck=true)
   at ../../../src/game/Spell.cpp:2892
#31 0x0000000000732189 in Unit::CastSpell (this=0x7fd18a41c970, 
   Victim=0x7fd18a41c970, spellInfo=0x7fd23d59ce50, 
   triggered=<value optimized out>, castItem=0x0, 
   triggeredByAura=0x7fd18bca4ba0, originalCaster=0)
   at ../../../src/game/Unit.cpp:1000
#32 0x0000000000733ded in Unit::HandleProcTriggerSpell (this=0x7fd18a41c970, 
   pVictim=0x7fd18a41c970, damage=<value optimized out>, 
   triggeredByAura=0x7fd18bca4ba0, procSpell=0x7fd23dc7d8a0, procFlags=16384, 
   procEx=1, cooldown=0) at ../../../src/game/Unit.cpp:8036
#33 0x000000000074b416 in Unit::ProcDamageAndSpellFor (this=0x7fd18a41c970, 
   isVictim=false, pTarget=0x7fd18a41c970, procFlag=16384, procExtra=1, 
   attType=BASE_ATTACK, procSpell=0x7fd23dc7d8a0, damage=0)
   at ../../../src/game/Unit.cpp:12755
#34 0x000000000074bbd5 in Unit::ProcDamageAndSpell (this=0x1000, 
   pVictim=0x7fd18a41c970, procAttacker=<value optimized out>, 
   procVictim=32768, procExtra=1, amount=0, attType=BASE_ATTACK, 
   procSpell=0x7fd23dc7d8a0) at ../../../src/game/Unit.cpp:4797
#35 0x00000000006d6de8 in Spell::DoAllEffectOnTarget (this=0x7fd18ad8c920, 
   target=0x7fd17c3c3250) at ../../../src/game/Spell.cpp:1087
#36 0x00000000006e5be4 in Spell::handle_immediate (this=0x7fd18ad8c920)
   at ../../../src/game/Spell.cpp:2918
#37 0x00000000006e4f58 in Spell::cast (this=0x7fd18ad8c920, skipCheck=true)
   at ../../../src/game/Spell.cpp:2892
#38 0x0000000000732189 in Unit::CastSpell (this=0x7fd18a41c970, 
   Victim=0x7fd18a41c970, spellInfo=0x7fd23dc7d8a0, 
   triggered=<value optimized out>, castItem=0x0, triggeredByAura=0x0, 
   originalCaster=0) at ../../../src/game/Unit.cpp:1000
#39 0x00000000006bf1bf in Aura::ReapplyAffectedPassiveAuras (
   this=0x7fd18947c2f0, target=0x7fd18a41c970, owner_mode=true)
   at ../../../src/game/SpellAuras.cpp:1538
No symbol table info available.
#86 0x0000000000000000 in ?? ()
No symbol table info available.
 14 Thread 0x46755950 (LWP 26465)  0x00007fd240048b78 in epoll_wait ()
  from /lib/libc.so.6
 13 Thread 0x45f54950 (LWP 26464)  0x00007fd240048b78 in epoll_wait ()
  from /lib/libc.so.6
 12 Thread 0x45753950 (LWP 26463)  0x00007fd240048b78 in epoll_wait ()
  from /lib/libc.so.6
 11 Thread 0x44f52950 (LWP 26462)  0x00007fd240048b78 in epoll_wait ()
  from /lib/libc.so.6
 10 Thread 0x44751950 (LWP 26461)  0x00007fd240048b78 in epoll_wait ()
  from /lib/libc.so.6
 9 Thread 0x40d7e950 (LWP 26460)  0x00007fd240a800e1 in nanosleep ()
  from /lib/libpthread.so.0
 8 Thread 0x43f50950 (LWP 26459)  0x00007fd240016ff1 in nanosleep ()
  from /lib/libc.so.6
* 7 Thread 0x4374f950 (LWP 26458)  0x00007fd2407d5018 in std::_Rb_tree_increment () from /usr/lib/libstdc++.so.6
 6 Thread 0x42f4e950 (LWP 26454)  0x00007fd240a800e1 in nanosleep ()
  from /lib/libpthread.so.0
 5 Thread 0x4274d950 (LWP 26323)  0x00007fd240a800e1 in nanosleep ()
  from /lib/libpthread.so.0
 4 Thread 0x41f4c950 (LWP 26322)  0x00007fd240a800e1 in nanosleep ()
  from /lib/libpthread.so.0
 3 Thread 0x4174b950 (LWP 26321)  0x00007fd240a800e1 in nanosleep ()
  from /lib/libpthread.so.0
 1 Thread 0x7fd2424066f0 (LWP 26317)  0x00007fd240a79715 in pthread_join ()
  from /lib/libpthread.so.0

Link to comment
Share on other sites

try with:

d0fe71232595cb5bf17496e27c19d5764db79997
src/game/Spell.cpp |    6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 015fc1c..949b1af 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -2794,10 +2794,12 @@ void Spell::handle_immediate()

    // process immediate effects (items, ground, etc.) also initialize some variables
    _handle_immediate_phase();
-
+    
+    if (!m_UniqueTargetInfo.empty())
    for(std::list<TargetInfo>::iterator ihit= m_UniqueTargetInfo.begin();ihit != m_UniqueTargetInfo.end();++ihit)
        DoAllEffectOnTarget(&(*ihit));
-
+    
+    if (!m_UniqueGOTargetInfo.empty())
    for(std::list<GOTargetInfo>::iterator ihit= m_UniqueGOTargetInfo.begin();ihit != m_UniqueGOTargetInfo.end();++ihit)
        DoAllEffectOnTarget(&(*ihit));

Link to comment
Share on other sites

I also have got this crash it is probably somehow related to multithreading. I tried this approach. After this server started crashing somewhere at if (target->processed), and after checking target crashlog became messed i pasted one few post above and in mtmaps thread. we should lookup for solution both multithreading locks and proc triggering code i think.

Link to comment
Share on other sites

When I try my multithread patch ( movement thread handler for example), I don't post a crashlog because it's not a MaNGOS crash, so that crash not happen because I have multithread patch. For your crash, it's because spell pointer is delete by another thread, you should be implant a protection to avoid that ( with lock for example ).

Thank you kero99 for some crashfix ;)

Link to comment
Share on other sites

MaNGOS 9110 Insider42 + MTMAPS + Own patchs

Core was generated by `./mangos-worldd -c ../etc/mangosd.conf'.
Program terminated with signal 11, Segmentation fault.
[New process 29507]
[New process 29509]
[New process 29513]
[New process 29516]
[New process 29514]
[New process 29508]
[New process 29510]
[New process 29517]
[New process 29519]
[New process 29499]
[New process 29498]
[New process 29515]
[New process 29518]
[New process 29500]
[New process 29512]
[New process 29493]
[New process 29511]
#0  0x00000000006ae303 in Aura::HandleAuraAllowFlight (this=0x7fb633fb01f0, apply=true, Real=<value optimized out>)
   at ../../../src/game/Player.h:2157
2157            void SetCanFly(bool CanFly) { m_CanFly=CanFly; }
(gdb) bt full
#0  0x00000000006ae303 in Aura::HandleAuraAllowFlight (this=0x7fb633fb01f0, apply=true, Real=<value optimized out>)
   at ../../../src/game/Player.h:2157
   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 = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}}, m_opcode = 0}
#1  0x00000000006a3472 in Aura::ApplyModifier (this=0x7fb633fb01f0, apply=false, Real=208)
   at ../../../src/game/SpellAuras.cpp:933
   aura = <value optimized out>
#2  0x0000000000720e78 in Unit::AddAura (this=0x7fb633fb0ad0, Aur=0x7fb633fb01f0) at ../../../src/game/Unit.cpp:3843
   aurSpellInfo = (const SpellEntry *) 0x7fb62eec19b0
   aurName = SPELL_AURA_FLY
   spair = {first = 43775, second = 0 '\\0'}
   i = <value optimized out>
#3  0x00000000005284bf in Creature::LoadCreaturesAddon (this=0x7fb633fb0ad0, reload=false)
   at ../../../src/game/Creature.cpp:1699
   AdditionalSpellInfo = (const SpellEntry *) 0x7fb62eec19b0
   AdditionalAura = (class Aura *) 0x0
   cAura = (const CreatureDataAddonAura *) 0x2d3e5c0
   cainfo = <value optimized out>
#4  0x0000000000528a85 in Creature::Create (this=0x7fb633fb0ad0, guidlow=136670, map=0x65f9e50, 
   phaseMask=<value optimized out>, Entry=33778, team=0, data=0xae03994) at ../../../src/game/Creature.cpp:616
   bResult = true
   __FUNCTION__ = "Create"
   __PRETTY_FUNCTION__ = "bool Creature::Create(uint32, Map*, uint32, uint32, uint32, const CreatureData*)"
#5  0x0000000000528c7d in Creature::LoadFromDB (this=0x7fb633fb0ad0, guid=136670, map=0x65f9e50)
   at ../../../src/game/Creature.cpp:1055
   data = (const CreatureData *) 0xae03994
   curhealth = <value optimized out>
#6  0x00000000005fd256 in LoadHelper<Creature> (guid_set=<value optimized out>, cell=@0x7fb62b2a4570, m=@0x7fb633d5e110, 
   count=@0x7fb62b2a465c, map=0x65f9e50) at ../../../src/game/ObjectGridLoader.cpp:118
   guid = 136670
   obj = (class Creature *) 0x7fb633fb0ad0
   bg = (class BattleGround *) 0x0
#7  0x00000000005fc753 in ObjectGridLoader::Visit (this=0x7fb62b2a4640, m=@0x7fb633d5e110)
   at ../../../src/game/ObjectGridLoader.cpp:189
   x = 382
   y = <value optimized out>
---Type <return> to continue, or q <return> to quit---
   cell_pair = {x_coord = 382, y_coord = 268}
#8  0x00000000005fc8f2 in ObjectGridLoader::Load (this=0x7fb62b2a4640, grid=@0x7fb633d5e0e0)
   at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64
No locals.
#9  0x00000000005fc9ab in ObjectGridLoader::LoadN (this=0x7fb62b2a4640)
   at ../../../src/game/../framework/GameSystem/GridLoader.h:53
   y = 4
   x = 6
#10 0x00000000005ce0bc in Map::EnsureGridLoaded (this=0x65f9e50, cell=@0x7fb62b2a48f0) at ../../../src/game/Map.cpp:417
   loader = {i_cell = {data = {Part = {grid_x = 47, grid_y = 33, cell_x = 6, cell_y = 4, nocreate = 0, reserved = 31}, 
     All = 1041262703}}, i_grid = @0x7fb633d58f50, i_map = 0x65f9e50, i_gameObjects = 31, i_creatures = 123, i_corpses = 0}
   grid = (NGridType *) 0x7fb633d58f50
   __PRETTY_FUNCTION__ = "bool Map::EnsureGridLoaded(const Cell&)"
#11 0x00000000005e2921 in Visit<RGuard<ACE_RW_Thread_Mutex, ACE_Thread_Mutex>, MaNGOS::PlayerNotifier, TypeMapContainer<TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeNull> > > > > (this=0x65f9e50, cell=@0x7fb62b2a4770, 
   visitor=@0x7fb62b2a47e0) at ../../../src/game/Map.h:653
   x = 47
   y = 33
   cell_x = 6
   cell_y = 2
#12 0x00000000005d7d87 in Map::UpdatePlayerVisibility (this=0x65f9e50, player=<value optimized out>, 
   cell=<value optimized out>, cellpair={x_coord = 724191408, y_coord = 32694}) at ../../../src/game/CellImpl.h:213

   pl_notifier = {i_player = @0x7fb633d4fb40}
   player_notifier = {i_visitor = @0x7fb62b2a47f0}
   cell_lock = {i_cell = @0x7fb62b2a48f0, i_cellPair = @0x7fb62b2a48b0}
#13 0x0000000000648985 in Player::UpdateVisibilityForPlayer (this=0x7fb633d4fb40) at ../../../src/game/Player.cpp:21365
   viewPoint = (const class WorldObject *) 0x7fb633d4fb40
   m = (class Map *) 0x65f9e50
   cell = {data = {Part = {grid_x = 47, grid_y = 33, cell_x = 6, cell_y = 2, nocreate = 0, reserved = 0}, 
   All = 551023}}
#14 0x00000000006a3472 in Aura::ApplyModifier (this=0x7fb633d56a60, apply=false, Real=208)
   at ../../../src/game/SpellAuras.cpp:933
   aura = <value optimized out>
#15 0x0000000000720e78 in Unit::AddAura (this=0x7fb633d4fb40, Aur=0x7fb633d56a60) at ../../../src/game/Unit.cpp:3843
   aurSpellInfo = (const SpellEntry *) 0x7fb62d9697c0
   aurName = SPELL_AURA_MOD_INVISIBILITY_DETECTION
   spair = {first = 2836, second = 1 '\\001'}
   i = <value optimized out>
---Type <return> to continue, or q <return> to quit---
#16 0x00000000006e273b in Spell::EffectApplyAura (this=0x7fb633d56710, i=1) at ../../../src/game/SpellEffects.cpp:2649
   caster = (class Unit *) 0x7fb633d4fb40
   Aur = (class Aura *) 0x7fb633d56a60
   duration = -1
   limitduration = <value optimized out>
#17 0x00000000006be226 in Spell::DoSpellHitOnUnit (this=0x7fb633d56710, unit=0x7fb633d4fb40, effectMask=3)
   at ../../../src/game/Spell.cpp:1220
   effectNumber = 1
   realCaster = (class Unit *) 0x7fb633d4fb40
#18 0x00000000006be8c2 in Spell::DoAllEffectOnTarget (this=0x7fb633d56710, target=0x7fb633d56980)
   at ../../../src/game/Spell.cpp:1018
   mask = 872090320
   unit = (class Unit *) 0x7fb633d4fb40
   caster = (class Unit *) 0x7fb633d4fb40
   missInfo = SPELL_MISS_NONE
   procAttacker = 16384
   procVictim = 32768
   procEx = <value optimized out>
#19 0x00000000006cd9dd in Spell::handle_immediate (this=0x7fb633d56710) at ../../../src/game/Spell.cpp:2866
No locals.
#20 0x00000000006ccc29 in Spell::cast (this=0x7fb633d56710, skipCheck=192) at ../../../src/game/Spell.cpp:2839
   castResult = <value optimized out>
#21 0x0000000000713ce4 in Unit::CastSpell (this=0x7fb633d4fb40, Victim=0x7fb633d4fb40, spellInfo=0x7fb62d9697c0, 

   triggered=<value optimized out>, castItem=0x0, triggeredByAura=0x0, originalCaster=0) at ../../../src/game/Unit.cpp:984
   spell = (Spell *) 0x7fb633d56710
   targets = {m_srcX = 0, m_srcY = 0, m_srcZ = 0, m_destX = 8440.11035, m_destY = 707.570984, m_destZ = 547.29303, 
 m_strTarget = {static npos = 18446744073709551615, 
   _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
     _M_p = 0xb23f58 ""}}, m_targetMask = 2, m_unitTarget = 0x7fb633d4fb40, m_GOTarget = 0x0, m_itemTarget = 0x0, 
 m_unitTargetGUID = 9949, m_GOTargetGUID = 0, m_CorpseTargetGUID = 0, m_itemTargetGUID = 0, m_itemTargetEntry = 0}
#22 0x0000000000664561 in Player::addSpell (this=0x7fb633d4fb40, spell_id=2836, active=true, learning=20, dependent=false, 
   disabled=false) at ../../../src/game/Player.cpp:3094
   spellInfo = (const SpellEntry *) 0x7fb62d9697c0
   state = 869605224
   dependent_set = <value optimized out>
   superceded_old = false
   itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<const unsigned int, PlayerSpell*>, false>> = {
   _M_cur_node = 0x1000, _M_cur_bucket = 0x7fb633d566f8}, <No data fields>}
---Type <return> to continue, or q <return> to quit---
   talentCost = 0
   maxskill = <value optimized out>
   spellLearnSkill = <value optimized out>
#23 0x00000000006647d0 in Player::_LoadSpells (this=0x7fb633d4fb40, result=0xe910640) at ../../../src/game/Player.cpp:15792
   fields = (Field *) 0xe729028
#24 0x00000000006850f9 in Player::LoadFromDB (this=0x7fb633d4fb40, guid=9949, holder=0x7fb6335357c0)
   at ../../../src/game/Player.cpp:14997
   result = <value optimized out>
   fields = <value optimized out>
   dbAccountId = <value optimized out>
   bytes0 = <value optimized out>
   transGUID = 0
   difficulty = <value optimized out>
   arena_currency = <value optimized out>
   now = 1262839538
   logoutTime = 1262839311
   time_diff = <value optimized out>
   extraflags = 4
   taxi_nodes = {static npos = 18446744073709551615, 
 _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
   _M_p = 0xb23f58 ""}}
   savedHealth = 12632
   savedPower = {0, 0, 0, 65, 0, 0, 0}
   __PRETTY_FUNCTION__ = "bool Player::LoadFromDB(uint32, SqlQueryHolder*)"
#25 0x00000000007b2526 in WorldSession::HandlePlayerLogin (this=0xc9221d0, holder=0x7fb6335357c0)
   at ../../../src/game/CharacterHandler.cpp:562
   pCurrChar = (class Player *) 0x7fb633d4fb40
   data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 8, 
   _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 = 0x7fb63384a770 "", _M_finish = 0x7fb63384a778 " \\001", 
         _M_end_of_storage = 0x7fb63384a80e ""}}, <No data fields>}}, m_opcode = 1109}
   resultGuild = <value optimized out>
   IP_str = {static npos = 18446744073709551615, 
 _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
   _M_p = 0xc96c668 "190.9.233.236"}}
#26 0x00000000007d7c2d in SqlResultQueue::Update (this=0xae9fbd0) at ../../../../src/shared/Database/SqlOperations.cpp:77
   callback = (class MaNGOS::IQueryCallback *) 0x7fb63300d380

---Type <return> to continue, or q <return> to quit---
#27 0x00000000007409f6 in World::Update (this=0xb86630, diff=47) at ../../../src/game/World.cpp:2184
   autobroadcaston = 1
#28 0x00000000004eb22b in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60
   diff = 47
   realCurrTime = 119153017
   realPrevTime = <value optimized out>
   prevSleepTime = 47
#29 0x00000000007deb39 in ACE_Based::Thread::ThreadTask (param=0x7fb62b2a32e0) at ../../../src/shared/Threading.cpp:183
   _task = (class ACE_Based::Runnable *) 0x6de6000
#30 0x00007fb639c653ba in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#31 0x00007fb639227fcd in clone () from /lib/libc.so.6
No symbol table info available.
#32 0x0000000000000000 in ?? ()
No symbol table info available.

Player.h:2157

Creature* Player::GetNPCIfCanInteractWith(uint64 guid, uint32 npcflagmask)
{
   // unit checks
   if (!guid || !IsInWorld() || isInFlight())
       return NULL;

   // exist (we need look pets also for some interaction (quest/etc)
   Creature *unit = GetMap()->GetCreatureOrPetOrVehicle(guid);
   if (!unit)
       return NULL;

   // appropriate npc type
   if (npcflagmask && !unit->HasFlag( UNIT_NPC_FLAGS, npcflagmask ))
       return NULL;

   if (npcflagmask == UNIT_NPC_FLAG_STABLEMASTER)
   {
       if (getClass() != CLASS_HUNTER)
           return NULL;
   }

   // if a dead unit should be able to talk - the creature must be alive and have special flags
   if (!unit->isAlive())
       return NULL;

   if (isAlive() && unit->isInvisibleForAlive())
       return NULL;

   // not allow interaction under control, but allow with own pets
   if (unit->GetCharmerGUID())
       return NULL;

   // not enemy
   if (unit->IsHostileTo(this))
       [color=Red]return NULL;[/color]   // <---------------------------

   // not unfriendly
   if(FactionTemplateEntry const* factionTemplate = sFactionTemplateStore.LookupEntry(unit->getFaction()))
       if(factionTemplate->faction)
           if(FactionEntry const* faction = sFactionStore.LookupEntry(factionTemplate->faction))
               if(faction->reputationListID >= 0 && GetReputationMgr().GetRank(faction) <= REP_UNFRIENDLY)
                   return NULL;

   // not too far
   if(!unit->IsWithinDistInMap(this,INTERACTION_DISTANCE))
       return NULL;

   return unit;
}

Link to comment
Share on other sites

×
×
  • 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