Shadowed Unit Frames

944 - "Script Ran Too Long" on Kargath

Fought Kargath Bladefist in Highmaul. When he finished the initial cast of Impale on the current tank and the channel started, SUF threw a very nasty error. When the second Impale cast finished, the same error was thrown again. Both times, Kargath was still my current target. Naturally, my FPS uncharacteristically plummeted with such a looping error.

Here's the error text from Swatter:

Date: 2016-07-23 00:21:23
ID: 1
Error occured in: Global
Count: 2
Message: ...rface\AddOns\ShadowedUnitFrames\modules\portrait.lua line 87:
   script ran too long
Debug:
   ...rface\AddOns\ShadowedUnitFrames\modules\portrait.lua:87: ?()
   ...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:209:
      ...nterface\AddOns\ShadowedUnitFrames\modules\units.lua:206
Locals:
self = <table> {
 OnDisable = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\portrait.lua:20
 OnEnable = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\portrait.lua:13
 moduleKey = "portrait"
 Update = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\portrait.lua:62
 moduleName = "Portrait"
 UpdateFunc = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\portrait.lua:48
 OnPreLayoutApply = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\portrait.lua:24
}
frame = SUFUnittarget {
 0 = <userdata>
 OnEnter = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\highlight.lua:9
 portrait = <unnamed> {
 }
 UnregisterAll = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:140
 isDead = false
 auras = <table> {
 }
 castBar = <unnamed> {
 }
 registeredEvents = <table> {
 }
 UnitClassToken = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:688
 powerBar = <unnamed> {
 }
 RegisterNormalEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:62
 SetVisibility = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:241
 topFrameLevel = 5
 RegisterUpdateFunc = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:113
 SetBlockColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:186
 unitType = "target"
 SetRangeAlpha = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:174
 visibility = <table> {
 }
 highlight = <unnamed> {
 }
 unitInitialized = true
 isUnitVolatile = true
 RegisterUnitEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:107
 unit = "target"
 ReregisterUnitEvents = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:41
 altPowerBar = <unnamed> {
 }
 emptyBar = <unnamed> {
 }
 unitGUID = "Vehicle-0-3020-1228-28879-78714-000012FD98"
 hasStateWatch = false
 SetBarColor = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:182
 fontStrings = <table> {
 }
 healAbsorb = <unnamed> {
 }
 incAbsorb = <unnamed> {
 }
 CreateOnUpdate = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:652
 indicators = <unnamed> {
 }
 highFrame = <unnamed> {
 }
 OnLeave = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\highlight.lua:18
 UnregisterSingleEvent = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:90
 DisableRangeAlpha = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:166
 healthBar = <unnamed> {
 }
 fullUpdates = <table> {
 }
 UnregisterUpdateFunc = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:130
 unitRealType = "target"
 BlizzRegisterUnitEvent = <function> defined =[C]:-1
 incHeal = <unnamed> {
 }
 FullUpdate = <function> defined @Interface\AddOns\ShadowedUnitFrames\modules\units.lua:33
 portraitModel = <unnamed> {
 }
 unitOwner = "target"
}
event = "UNIT_MODEL_CHANGED"
type = "3D"
(*temporary) = <function> defined =[C]:-1
(*temporary) = <unnamed> {
 parent = SUFUnittarget {
 }
 0 = <userdata>
 guid = "Vehicle-0-3020-1228-28879-78714-000012FD98"
}
(*temporary) = "target"
(*temporary) = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "script ran too long"
User When Change
TheCheat5 Jul 23, 2016 at 05:28 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of Blazeflack Blazeflack Sep 09, 2016 at 11:52 UTC - 0 likes

    Hi Nevcairiel.

    Do you mind elaborating on how you narrowed it down to an issue in a Blizzard function?

    I have seen reports of the same type of error in the oUF portrait code as well and would like to verify if the root cause is the same.

  • Avatar of Nevcairiel Nevcairiel Aug 08, 2016 at 06:41 UTC - 0 likes

    Unfortunately the error seems to occur in a Blizzard function, so not sure what to do about that.

  • 2 comments

Facts

Reported
Jul 23, 2016
Status
New - Issue has not had initial review yet.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees