Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GDB-Backtrace] Server hang at Map::IsInDynLOS #4804

Closed
Havenard opened this issue Jan 13, 2012 · 3 comments
Closed

[GDB-Backtrace] Server hang at Map::IsInDynLOS #4804

Havenard opened this issue Jan 13, 2012 · 3 comments

Comments

@Havenard
Copy link
Contributor

Thread 5 (Thread 0x419d0950 (LWP 18962)):
#0  0x00007f431f25c011 in std::_Rb_tree_increment ()
   from /usr/lib/libstdc++.so.6
No symbol table info available.
#1  0x0000000000a75c70 in Map::IsInDynLOS (this=<value optimized out>, 
    x=720.505737, y=-285.202423, z=28.2766838, x2=-33554432, y2=1048576, 
    z2=21.050787) at /usr/include/c++/4.3/bits/stl_tree.h:182
No locals.
#2  0x00000000009abfe3 in WorldObject::MovePositionToFirstCollision (
    this=0x7f4292636000, pos=@0x419cfbf0, dist=1.5, 
    angle=<value optimized out>)
    at /trinity/src/server/game/Entities/Object/Object.cpp:2684
    destx = -33554432
    desty = 1048576
    destz = 21.050787
    ground = 0
    floor = <value optimized out>
    col = <value optimized out>
    step = <value optimized out>
#3  0x0000000000d09a62 in Spell::EffectCharge (this=0x7f4294653600)
    at /trinity/src/server/game/Entities/Object/Object.h:599
    pos = {m_positionX = 720.505737, m_positionY = -285.202423, 
  m_positionZ = 28.2766838, m_orientation = 6.15359926}
#4  0x0000000000b8ec12 in Spell::DoAllEffectOnLaunchTarget (
    this=0x7f4294653600, targetInfo=@0x7f42aa67d200, multiplier=0x419cfc90)
    at /trinity/src/server/game/Spells/Spell.cpp:4609
    i = 0
    unit = (class Unit *) 0x7f4292636000
#5  0x0000000000b8efe7 in Spell::HandleLaunchPhase (this=0x7f4294653600)
    at /trinity/src/server/game/Spells/Spell.cpp:6733
    mask = 5
    multiplier = {-1.15615454e-26, 4.56515014e-41, 2.80259693e-41}
    usesAmmo = false
#6  0x0000000000b9ad51 in Spell::cast (this=0x7f4294653600, skipCheck=true)
    at /trinity/src/server/game/Spells/Spell.cpp:3237
No locals.
#7  0x0000000000b9bec3 in Spell::prepare (this=0x7f4294653600, 
    targets=<value optimized out>, triggeredByAura=<value optimized out>)
    at /trinity/src/server/game/Spells/Spell.cpp:3043
    result = <value optimized out>
#8  0x0000000000cde4a8 in WorldSession::HandleCastSpellOpcode (
    this=0x7f42d567a400, recvPacket=@0x7f429a712c70)
    at /trinity/src/server/game/Server/Protocol/Handlers/SpellHandler.cpp:409
    spellId = <value optimized out>
    castCount = 221 'Ý'
    castFlags = <value optimized out>
    mover = (class Unit *) 0x7f42a5f80000
    spellInfo = (const SpellInfo *) 0x7f431743e800
    targets = {m_targetMask = 2, m_objectTarget = 0x7f4292636000, 
  m_itemTarget = 0x0, m_objectTargetGUID = 194106, m_itemTargetGUID = 0, 
  m_itemTargetEntry = 0, m_srcTransGUID = 0, m_srcTransOffset = {
    m_positionX = 0, m_positionY = 0, m_positionZ = 0, m_orientation = 0}, 
  m_srcPos = {m_positionX = 746.413696, m_positionY = -285.812195, 
    m_positionZ = 28.2767124, m_orientation = 2.93032575}, m_dstTransGUID = 0, 
  m_dstTransOffset = {m_positionX = 0, m_positionY = 0, m_positionZ = 0, 
    m_orientation = 0}, m_dstPos = {<Position> = {m_positionX = 746.413696, 
      m_positionY = -285.812195, m_positionZ = 28.2767124, 
      m_orientation = 2.93032575}, m_mapId = 4294967295}, m_elevation = 0, 
  m_speed = 0, m_strTarget = {static npos = 18446744073709551615, 
    _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x17df8d8 ""}}}
    spell = <value optimized out>
#9  0x0000000000ae41bf in WorldSession::Update (this=0x7f42d567a400, 
    diff=<value optimized out>, updater=@0x419d0040)
    at /trinity/src/server/game/Server/WorldSession.cpp:330
    packet = (WorldPacket *) 0x7f429a712c70
    deletePacket = true
    firstDelayedPacket = (WorldPacket *) 0x0
#10 0x0000000000a80e4e in Map::Update (this=0x7f42baeba000, t_diff=114)
    at /trinity/src/server/game/Maps/Map.cpp:515
    pSession = (WorldSession *) 0x7f42921f9cd0
    updater = {<PacketFilter> = {_vptr.PacketFilter = 0x12719f0, 
    m_pSession = 0x7f42d567a400}, <No data fields>}
    player = (class Player *) 0x4
    updater = {i_timeDiff = 0}
    grid_object_update = {i_visitor = @0x7f4296393ce0}
    world_object_update = {i_visitor = @0x7f43204ce270}
#11 0x0000000000a8adf1 in MapUpdateRequest::call (this=0x7f42aebf28e0)
    at /trinity/src/server/game/Maps/MapUpdater.cpp:54
No locals.
#12 0x0000000000d45dd1 in DelayExecutor::svc (this=0x7f4318acc640)
    at /trinity/src/server/shared/Threading/DelayExecutor.cpp:52
    rq = (class ACE_Method_Request *) 0x7f42aebf28e0
#13 0x00007f43202666f7 in ACE_Task_Base::svc_run (args=<value optimized out>)
    at ../../ace/Task.cpp:275
    t = (ACE_Task_Base *) 0x7f4318acc640
    svc_status = <value optimized out>
#14 0x00007f4320267da5 in ACE_Thread_Adapter::invoke (this=0x7f42ff83bca0)
    at ../../ace/Thread_Adapter.cpp:98
    exit_hook_instance = <value optimized out>
    exit_hook_maybe = {instance_ = 0x0}
    exit_hook_ptr = <value optimized out>
#15 0x00007f431eb3dfc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#16 0x00007f431e8b364d in clone () from /lib/libc.so.6
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
@Aokromes
Copy link
Member

I vote you use LOS for gameobjects, then no TC issue.

@DDuarte
Copy link
Contributor

DDuarte commented Jan 13, 2012

You are using a custom patch (dynamic LoS) and for obvious reason we do not support that.

@Havenard
Copy link
Contributor Author

Sorry, this patch is here so long I didn't notice it was custom.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants