Threat Plates

Threat Plates

31M Downloads

Stack Overflow with Custom Nameplate

darkandius opened this issue ยท 2 comments

commented

Since updating to 11.2.0 I am getting 3 stack overflow errors when my custom nameplate triggers.

The custom nameplate is set to color the bar purple when Vampiric Touch is applied. When this happens my client freezes until Vampiric Touch ends.

These are the errors:

Error 1:

Message: stack overflow
Time: Wed May 1 12:49:45 2024
Count: 14
Stack: stack overflow
[string "=[C]"]: in function GetAuraDataBySlot' [string "@Interface/AddOns/Blizzard_Deprecated/Deprecated_10_2_5.lua"]:59: in function <...ace/AddOns/Blizzard_Deprecated/Deprecated_10_2_5.lua:58> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1690: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1675> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2195: in function UpdateUnitAuras'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2410: in function UpdateAurasGrids' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2465: in function UpdateAuras'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:3162: in function OnUnitAdded' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/WidgetHandler.lua"]:387: in function OnUnitAdded'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:591: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:563>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:840: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:838>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:287: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:283>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1732: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1731>
...
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2465: in function UpdateAuras' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:3162: in function OnUnitAdded'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/WidgetHandler.lua"]:387: in function OnUnitAdded' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:591: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:563> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:840: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:838> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:287: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:283> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1732: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1731> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2413: in function UpdateAurasGrids'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2465: in function `UpdateAuras'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1764: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1760>

Locals: (*temporary) = "stack overflow"

Error 2:

Message: ...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:126: stack overflow
Time: Wed May 1 12:49:49 2024
Count: 23
Stack: ...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:126: stack overflow
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:126: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:125>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:343: in function SetStyle' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:542: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:539> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:587: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:563> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:840: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:838> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:287: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:283> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1732: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1731> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2413: in function UpdateAurasGrids'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2465: in function UpdateAuras' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:3162: in function OnUnitAdded'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/WidgetHandler.lua"]:387: in function OnUnitAdded' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:591: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:563> ... [string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:287: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:283> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1732: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1731> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2413: in function UpdateAurasGrids'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2465: in function UpdateAuras' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:3162: in function OnUnitAdded'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/WidgetHandler.lua"]:387: in function OnUnitAdded' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:591: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:563> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:661: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:656> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1524: in function ?'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:1259: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:1258>

Locals: unit =

{
IsSoftEnemyTarget = true
guid = "Creature-0-3748-2444-539-198594-0000B1906E"
isMouseover = false
IsSoftInteractTarget = false
IsFocus = false
IsBossOrRare = false
level = 70
red = 1
levelcolorRed = 1
IsSoftTarget = true
CustomPlateSettingsAura =
{
}
unitid = "nameplate12"
HasUnlimitedAuras = false
name = "Cleave Training Dummy"
isElite = false
levelcolorBlue = 0
CustomPlateSettings =
{
}
PreviousCustomStyleAura = "unique"
isBoss = false
isInCombat = false
healthmax = 23521028
isTarget = true
levelcolorGreen = 0.820000
NPCID = "198594"
style = "unique"
TP_DetailedUnitType = "Neutral"
isTapped = false
classification = "normal"
blue = 0
isMarked = false

Error 3:

Message: ...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:96: stack overflow
Time: Wed May 1 12:49:50 2024
Count: 20
Stack: ...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:96: stack overflow
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:96: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:82>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:126: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:125>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:343: in function SetStyle' [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:542: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:539> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:587: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:563> [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:840: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:838> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:287: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:283> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1732: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1731> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2413: in function UpdateAurasGrids'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2465: in function UpdateAuras' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:3162: in function OnUnitAdded'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/WidgetHandler.lua"]:387: in function OnUnitAdded' ... [string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:840: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:838> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua"]:287: in function <...ace/AddOns/TidyPlates_ThreatPlates/Styles/Styles.lua:283> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:1732: in function <...dOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua:1731> [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2413: in function UpdateAurasGrids'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:2465: in function UpdateAuras' [string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/AurasWidget.lua"]:3162: in function OnUnitAdded'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/Widgets/WidgetHandler.lua"]:387: in function `OnUnitAdded'
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:591: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:563>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:651: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:644>
[string "@Interface/AddOns/TidyPlates_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua"]:389: in function <...s_ThreatPlates/TidyPlatesInternal/TidyPlatesCore.lua:380>

Locals: unit =

{
IsSoftEnemyTarget = true
guid = "Creature-0-3748-2444-539-198594-0000B1906E"
isMouseover = false
IsSoftInteractTarget = false
IsFocus = false
IsBossOrRare = false
level = 70
red = 1
levelcolorRed = 1
IsSoftTarget = true
CustomPlateSettingsAura =
{
}
unitid = "nameplate12"
HasUnlimitedAuras = false
name = "Cleave Training Dummy"
isElite = false
levelcolorBlue = 0
CustomPlateSettings =
{
}
PreviousCustomStyleAura = "unique"
isBoss = false
isInCombat = false
healthmax = 23521028
isTarget = true
levelcolorGreen = 0.820000
NPCID = "198594"
style = "unique"
TP_DetailedUnitType = "Neutral"
isTapped = false
classification = "norma

commented

The bug should be fixed now in version 11.2.1. I removed the part that created the stack overflow and custom nameplates work again.

I know that I added that part for some reason, but I have to look into why I did that and then find another solution that does not create a stack overflow.

Thanks for reporting this issue.

commented

Yup, all good again on 11.2.1. Appreciate the quick turnaround. Thanks.