Jump to content

[fixed][10984][Crash] EXC_BAD_ACCESS on Unit::CastCustomSpell


Recommended Posts

Posted

Mangos: [10984] (first appeared with [10923])

SD2: 1933

System: Mac OS X, 10.6.5, gcc 4.2.1

Since a few days I am getting regular crashes while being in combat. I could reproduce the crash with both crash logs listed here: http://pastebin.com/iV6i9dUB. In short this is what gdb shows after the crash:

WORLD: Send SMSG_THREAT_UPDATE Message
MELEE OUTCOME: miss 15.600000 crit 10.510371 dodge 5.000000 parry 0.000000 block 0.000000
RollMeleeOutcomeAgainst: skill bonus of -136 for attacker
RollMeleeOutcomeAgainst: rolled 3175, miss 1560, dodge 500, parry 0, block 0, crit 1051
RollMeleeOutcomeAgainst: CRIT <2196, 3247)
WORLD: Sending SMSG_ATTACKERSTATEUPDATE
Sending SMSG_SPELL_GO id=12721
Spell 12721 Effect0 : 6
Spell: Aura is: 3
Aura: construct Spellid : 12721, Aura : 3 Duration : 6000 Target : 6 Damage : 5
Aura 3 now is remove mode 1
Holder of spell 12721 now is in use
DealDamageStart
deal dmg:146 to health:1757 
DealDamageAlive
DealDamageEnd returned 146 damage
AttackerStateUpdate: (Player) 2 attacked 40401 (TypeId: 3) for 146 dmg, absorbed 0, blocked 0, resisted 0.
Sending SMSG_SPELL_GO id=5019
Spell 5019 Effect0 : 17
Sending SMSG_SPELL_GO id=12058
Spell 12058 Effect0 : 2
Aura 69 now is remove mode 6

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
[switching to process 2290]
Unit::CastCustomSpell (this=0x102b47400, Victim=0x1119d4000, spellInfo=0x1096e3840, bp0=0x1058ba6fc, bp1=0x0, bp2=0x0, triggered=true, castItem=0x0, triggeredByAura=0x114d02530, originalCaster={m_guid = 0}, triggeredBy=0x0) at ../../../src/game/Unit.cpp:1190
1190                originalCaster = triggeredByAura->GetCasterGuid();

The second time it was exact the same method call (different parameters) that caused the crash (as written above, complete logs at pastebin).

Please have a look at this and contact me if you need more data or logs (server, world, etc).

Thanks in advance.

Cheers

Juergen

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