mangosR2/mangos — Issue #709: many crash log
Author: ROKB
Created: 2012-01-29 11:32:14+00:00
State: open

http://pastebin.com/cTfKFDu4
http://pastebin.com/nujdUqZn
http://pastebin.com/mgsNUJyP

manytimes crash this line

bool removedSingleAura = false;

for(int32 i = 0; i < MAX_EFFECT_INDEX; i++)
{
if (iter->second)
{
if ((1 << (spell->EffectMechanic[SpellEffectIndex(i)] - 1)) & mechMask)
{
RemoveSingleAuraFromSpellAuraHolder(iter->second, SpellEffectIndex(i));
removedSingleAura = true;
}
}
}

if (!removedSingleAura)
RemoveAurasDueToSpell(spell->Id);

if (auras.empty())
break;
else if (iter->second)
++iter;
else