GladiusEx

GladiusEx

4M Downloads

Game is crashing after update

web-deved opened this issue · 2 comments

commented

Hey man,

this is by far my favorite wow addon!
Sadly, my game has been crashing when entering the arena for a bit now. I don't know much about LUA but there is a function that recursively calls itself:

return CanDispel(unit, buffs, dispelType, spellID)

And since my script is running too long I am assuming that the function never goes inthe any of the other if conditions.
Replacing that line with
return false
removes all my issues. I am not using the "show only dispellable auras" options so I do not know what the impact on that functionality is.

I'll attach the LUA Error:

Message: Interface\AddOns\GladiusEx\modules\auras.lua:177: script ran too long
Time: Wed Aug 25 19:22:12 2021
Count: 15
Stack: Interface\AddOns\GladiusEx\modules\auras.lua:177: script ran too long
[string "=(tail call)"]: ?
[string "@Interface\AddOns\GladiusEx\modules\auras.lua"]:177: in function <Interface\AddOns\GladiusEx\modules\auras.lua:176>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
...
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Interface\AddOns\GladiusEx\modules\auras.lua"]:286: in function `scan'
[string "@Interface\AddOns\GladiusEx\modules\auras.lua"]:505: in function `?'
[string "@Interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:119: in function <...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:29: in function <...que\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Interface\AddOns\Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua"]:64: in function `Fire'
[string "@Interface\AddOns\ElvUI\Libraries\Ace3\AceEvent-3.0\AceEvent-3.0.lua"]:120: in function <...s\ElvUI\Libraries\Ace3\AceEvent-3.0\AceEvent-3.0.lua:119>

Locals: <none>
commented

Thanks, that definitely is an error. LibCanDispel is broken and my fix is wrong

commented

fixed in 6db1041