Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save VincentVanclef/97711b9c1bf91d092573dba799b1cdab to your computer and use it in GitHub Desktop.
Save VincentVanclef/97711b9c1bf91d092573dba799b1cdab to your computer and use it in GitHub Desktop.
crash vyragosa 3.3.5
Thread 10 "worldserver" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x6ee8103fa700 (LWP 31049)]
0x00000000029cc817 in SpellInfo::HasAttribute (this=0x0, customAttribute=SPELL_ATTR0_CU_BINARY_SPELL) at /home/newvqsource/newvq/src/server/game/Spells/SpellInfo.h:420
420 inline bool HasAttribute(SpellCustomAttributes customAttribute) const { return !!(AttributesCu & customAttribute); }
(gdb) bt full
#0 0x00000000029cc817 in SpellInfo::HasAttribute (this=0x0, customAttribute=SPELL_ATTR0_CU_BINARY_SPELL) at /home/newvqsource/newvq/src/server/game/Spells/SpellInfo.h:420
No locals.
#1 0x0000000002fadce3 in Unit::CalculateAverageResistReduction (this=0x6ee806080000, schoolMask=SPELL_SCHOOL_MASK_FROST, victim=0x6ee81a4b8000, spellInfo=0x0)
at /home/newvqsource/newvq/src/server/game/Entities/Unit/Unit.cpp:1869
victimResistance = 0
player = 0x0
BOSS_LEVEL = 83
BOSS_RESISTANCE_CONSTANT = 510
level = 0
resistanceConstant = 2.80264878e-39
#2 0x0000000002fad6ed in Unit::CalcSpellResistedDamage (this=0x6ee806080000, victim=0x6ee81a4b8000, damage=301, schoolMask=SPELL_SCHOOL_MASK_FROST, spellInfo=0x0)
at /home/newvqsource/newvq/src/server/game/Entities/Unit/Unit.cpp:1789
averageResist = 3.9785666e-41
discreteResistProbability = {3.77822677e-29, 3.9785666e-41, 3.77828455e-29, 3.9785666e-41, 3.77825085e-29, 3.9785666e-41, 3.74377467e-37, 0, 3.77828455e-29, 3.9785666e-41,
3.74371638e-37}
roll = 3.74882047e-37
probabilitySum = 3.9785666e-41
resistance = 272602112
damageResisted = 0
#3 0x0000000002fadf90 in Unit::CalcAbsorbResist (this=0x6ee806080000, damageInfo=...) at /home/newvqsource/newvq/src/server/game/Entities/Unit/Unit.cpp:1890
resistedDamage = 441155584
auraAbsorbMod = 3.77827011e-29
absorbIgnoringDamage = 28392
vSchoolAbsorbCopy = {<std::__cxx11::_List_base<AuraEffect*, std::allocator<AuraEffect*> >> = {
_M_impl = {<std::allocator<std::_List_node<AuraEffect*> >> = {<__gnu_cxx::new_allocator<std::_List_node<AuraEffect*> >> = {<No data fields>}, <No data fields>},
_M_node = {<std::__detail::_List_node_base> = {_M_next = 0x6ee8103f9580, _M_prev = 0x1d0441b <Unit::getLevel() const+29>}, _M_data = 121943152623616}}}, <No data fields>}
vManaShieldCopy = {<std::__cxx11::_List_base<AuraEffect*, std::allocator<AuraEffect*> >> = {
_M_impl = {<std::allocator<std::_List_node<AuraEffect*> >> = {<__gnu_cxx::new_allocator<std::_List_node<AuraEffect*> >> = {<No data fields>}, <No data fields>},
_M_node = {<std::__detail::_List_node_base> = {_M_next = 0xe103f95a0, _M_prev = 0x6ee806080000}, _M_data = 121942984070576}}}, <No data fields>}
#4 0x0000000002fac049 in Unit::CalculateMeleeDamage (this=0x6ee806080000, victim=0x6ee81a4b8000, damage=301, damageInfo=0x6ee8103f9760, attackType=BASE_ATTACK)
at /home/newvqsource/newvq/src/server/game/Entities/Unit/Unit.cpp:1526
dmgInfo = {m_attacker = 0x6ee806080000, m_victim = 0x6ee81a4b8000, m_damage = 301, m_spellInfo = 0x0, m_schoolMask = SPELL_SCHOOL_MASK_FROST, m_damageType = DIRECT_DAMAGE,
m_attackType = BASE_ATTACK, m_absorb = 0, m_resist = 0, m_block = 0, m_hitMask = 1}
resilienceReduction = 0
#5 0x0000000002faf650 in Unit::AttackerStateUpdate (this=0x6ee806080000, victim=0x6ee81a4b8000, attType=BASE_ATTACK, extra=false)
at /home/newvqsource/newvq/src/server/game/Entities/Unit/Unit.cpp:2206
damageInfo = {attacker = 0x6ee806080000, target = 0x6ee81a4b8000, damageSchoolMask = 16, damage = 301, absorb = 0, resist = 0, blocked_amount = 0, HitInfo = 2, TargetState = 1,
attackType = BASE_ATTACK, procAttacker = 4194308, procVictim = 1048584, cleanDamage = 0, hitOutCome = MELEE_HIT_NORMAL}
dmgInfo = {m_attacker = 0x6ee8103f97e4, m_victim = 0x6ee8103f97e0, m_damage = 272603120, m_spellInfo = 0x2fa5f3e <Unit::GetMeleeRange(Unit const*) const+136>,
m_schoolMask = 272603140, m_damageType = 28392, m_attackType = BASE_ATTACK, m_absorb = 28392, m_resist = 272603152, m_block = 28392, m_hitMask = 49962814}
#6 0x0000000002cb67a0 in UnitAI::DoMeleeAttackIfReady (this=0x6ee806048500) at /home/newvqsource/newvq/src/server/game/AI/CoreAI/UnitAI.cpp:62
victim = 0x6ee81a4b8000
#7 0x0000000002cf7eb9 in SmartAI::UpdateAI (this=0x6ee806048500, diff=100) at /home/newvqsource/newvq/src/server/game/AI/SmartScripts/SmartAI.cpp:405
No locals.
#8 0x0000000002f5919f in Creature::Update (this=0x6ee806080000, diff=100) at /home/newvqsource/newvq/src/server/game/Entities/Creature/Creature.cpp:723
No locals.
#9 0x0000000002f53554 in TempSummon::Update (this=0x6ee806080000, diff=100) at /home/newvqsource/newvq/src/server/game/Entities/Creature/TemporarySummon.cpp:48
No locals.
#10 0x00000000029a1d11 in Trinity::ObjectUpdater::Visit<Creature> (this=0x6ee8103f9ce0, m=...) at /home/newvqsource/newvq/src/server/game/Grids/Notifiers/GridNotifiers.cpp:415
---Type <return> to continue, or q <return> to quit---
iter = {_Ptr = 0x6ee8060828f0}
#11 0x000000000273765a in VisitorHelper<Trinity::ObjectUpdater, Creature> (v=..., c=...) at /home/newvqsource/newvq/src/server/shared/Dynamic/TypeContainerVisitor.h:45
No locals.
#12 0x00000000027361bd in VisitorHelper<Trinity::ObjectUpdater, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > (v=..., c=...)
at /home/newvqsource/newvq/src/server/shared/Dynamic/TypeContainerVisitor.h:51
No locals.
#13 0x00000000027346a3 in VisitorHelper<Trinity::ObjectUpdater, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > (v=..., c=...)
at /home/newvqsource/newvq/src/server/shared/Dynamic/TypeContainerVisitor.h:52
No locals.
#14 0x0000000002730f40 in VisitorHelper<Trinity::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > (v=..., c=...)
at /home/newvqsource/newvq/src/server/shared/Dynamic/TypeContainerVisitor.h:58
No locals.
#15 0x000000000272c33e in TypeContainerVisitor<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >::Visit (this=0x6ee8103f9cf0, c=...) at /home/newvqsource/newvq/src/server/shared/Dynamic/TypeContainerVisitor.h:92
No locals.
#16 0x000000000272392b in Grid<Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeList<DynamicObject, TypeNull> > > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >::Visit<Trinity::ObjectUpdater> (this=0x6ee807cae9b8, visitor=...) at /home/newvqsource/newvq/src/server/game/Grids/Grid.h:91
No locals.
#17 0x0000000002719fb6 in NGrid<8u, Player, TypeList<Player, TypeList<Creature, TypeList<Corpse, TypeList<DynamicObject, TypeNull> > > >, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > >::VisitGrid<Trinity::ObjectUpdater, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > (
this=0x6ee807cae000, x=0, y=6, visitor=...) at /home/newvqsource/newvq/src/server/game/Grids/NGrid.h:157
No locals.
#18 0x000000000270ef0b in Map::Visit<Trinity::ObjectUpdater, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > > (
this=0x6ee8221f4000, cell=..., visitor=...) at /home/newvqsource/newvq/src/server/game/Maps/Map.h:825
x = 46
y = 31
cell_x = 0
cell_y = 6
#19 0x00000000026ededc in Map::VisitNearbyCellsOf (this=0x6ee8221f4000, obj=0x6ee81a4b8000, gridVisitor=..., worldVisitor=...) at /home/newvqsource/newvq/src/server/game/Maps/Map.cpp:680
cell_id = 130416
pair = {x_coord = 368, y_coord = 254}
cell = {data = {Part = {grid_x = 46, grid_y = 31, cell_x = 0, cell_y = 6, nocreate = 1, reserved = 0}, All = 18352110}}
y = 254
x = 368
area = {low_bound = {x_coord = 367, y_coord = 253}, high_bound = {x_coord = 370, y_coord = 255}}
#20 0x00000000026ee1de in Map::Update (this=0x6ee8221f4000, t_diff=100) at /home/newvqsource/newvq/src/server/game/Maps/Map.cpp:722
player = 0x6ee81a4b8000
updater = {i_timeDiff = 100}
grid_object_update = {i_visitor = @0x6ee8103f9ce0}
world_object_update = {i_visitor = @0x6ee8103f9ce0}
#21 0x000000000302302e in MapUpdateRequest::call (this=0x6ee807ccda60) at /home/newvqsource/newvq/src/server/game/Maps/MapUpdater.cpp:42
No locals.
#22 0x0000000003022f4c in MapUpdater::WorkerThread (this=0x402ed28 <MapManager::instance()::instance+168>) at /home/newvqsource/newvq/src/server/game/Maps/MapUpdater.cpp:113
request = 0x6ee807ccda60
#23 0x0000000003024fbd in std::_Mem_fn_base<void (MapUpdater::*)(), true>::operator()<, void>(MapUpdater*) const (this=0x6ee81888d9f0,
__object=0x402ed28 <MapManager::instance()::instance+168>) at /usr/include/c++/5/functional:600
No locals.
#24 0x0000000003024f51 in std::_Bind_simple<std::_Mem_fn<void (MapUpdater::*)()> (MapUpdater*)>::_M_invoke<0ul>(std::_Index_tuple<0ul>) (this=0x6ee81888d9e8)
at /usr/include/c++/5/functional:1531
---Type <return> to continue, or q <return> to quit---
No locals.
#25 0x0000000003024e58 in std::_Bind_simple<std::_Mem_fn<void (MapUpdater::*)()> (MapUpdater*)>::operator()() (this=0x6ee81888d9e8) at /usr/include/c++/5/functional:1520
No locals.
#26 0x0000000003024de8 in std::thread::_Impl<std::_Bind_simple<std::_Mem_fn<void (MapUpdater::*)()> (MapUpdater*)> >::_M_run() (this=0x6ee81888d9d0) at /usr/include/c++/5/thread:115
No locals.
#27 0x00006ee84fb94c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#28 0x00006ee8511686ba in start_thread (arg=0x6ee8103fa700) at pthread_create.c:333
__res = <optimized out>
pd = 0x6ee8103fa700
now = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {121942984075008, 1671591328869788949, 0, 138692109596239, 121942984075712, 1, -3827339459206566635, -3827482061534253803},
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
pagesize_m1 = <optimized out>
sp = <optimized out>
freesize = <optimized out>
__PRETTY_FUNCTION__ = "start_thread"
#29 0x00006ee84f2fa82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment