BigDebuffs

BigDebuffs

18M Downloads

CompactUnitFrame.lua error

Korono22 opened this issue ยท 16 comments

commented

This error only shows when i have friendly nameplates enabled in raid with bigdebuffs addon on

FrameXML\CompactUnitFrame.lua:1122: Attempt to access forbidden object from code tainted by an AddOn
[string "=[C]"]: in function `Hide'
[string "@FrameXML\CompactUnitFrame.lua"]:1122: in function `CompactUnitFrame_UpdateClassificationIndicator'
[string "@FrameXML\CompactUnitFrame.lua"]:1380: in function <FrameXML\CompactUnitFrame.lua:1374>
[string "=[C]"]: in function `CompactUnitFrame_UpdateAuras'
[string "@FrameXML\CompactUnitFrame.lua"]:96: in function <FrameXML\CompactUnitFrame.lua:45>

Locals:
(*temporary) = <unnamed> {
 0 = <userdata>
}
commented

After updating to v10.16 I'm still getting these errors. At least in Mythic +.
I also starting getting a few of these:

4x BigDebuffs\BigDebuffs-v10.16.lua:2251: Attempt to access forbidden object from code tainted by an AddOn
[string "=[C]"]: in function `SetOwner'
[string "@BigDebuffs\BigDebuffs-v10.16.lua"]:2251: in function <BigDebuffs\BigDebuffs.lua:2249>

Locals:
(*temporary) = NamePlateTooltip {
 0 = <userdata>
 layoutType = "TooltipDefaultLayout"
 TextLeft1 = NamePlateTooltipTextLeft1 {
 }
 updateTooltipTimer = 0.017000
 textRight1Font = "GameTooltipHeaderText"
 NineSlice = <unnamed> {
 }
 textRight2Font = "GameTooltipText"
 TextRight2 = NamePlateTooltipTextRight2 {
 }
commented

Another error Lua that might be related to all of this

8x BigDebuffs\BigDebuffs-v10.16.lua:2265: Attempt to access forbidden object from code tainted by an AddOn
[string "=[C]"]: in function `Hide'
[string "@BigDebuffs\BigDebuffs-v10.16.lua"]:2265: in function <BigDebuffs\BigDebuffs.lua:2264>

Locals:
(*temporary) = NamePlateTooltip {
 waitingForData = false
 layoutType = "TooltipDefaultLayout"
 textLeft1Font = "GameTooltipHeaderText"
 BottomOverlay = <unnamed> {
 }
 textRight1Font = "GameTooltipHeaderText"
 NineSlice = <unnamed> {
 }
 TextRight1 = NamePlateTooltipTextRight1 {
 }
 comparing = false
 TextRight2 = NamePlateTooltipTextRight2 {
 }
 TextLeft2 = NamePlateTooltipTextLeft2 {
 }
 TopOverlay = <unnamed> {
 }
 0 = <userdata>
 needsReset = true
 textLeft2Font = "GameTooltipText"
 textRight2Font = "GameTooltipText"
 TextLeft1 = NamePlateTooltipTextLeft1 {
 }
 updateTooltipTimer = 0.118000
}
commented

I get a similar error too, which shows up on the Prototype Pantheon fight when the seeds you have to heal appear. Perhaps because (a) they are friendly but their nameplate always shows and (b) they have target marker icons from DBM.

commented

same issue but its only when im doing pvp

commented

I was able to consistently replicate this error by pressing Power Word: Fortitude in dungeon party

commented

When i reverted to version 10.14 error disappeared. something got broken in 10.15

commented

Error can also be negated by editing line 1483-1485 in the BugDebuffs.lua file.
Remove the "--" infront of each of the three lines, and the error should stop.

From what i can tell that is the same as reverting to 10.14, since that seem to be the only change in the latest version.

commented

Line 1483-1485 fixed another critical issue though, where certain debuffs don't show on raid frames, such as leg sweep. Or they show longer than they should.

I got the same errors consistently in dungeon/raid groups, but not in arenas.

commented

Tested v10.17 in M+ and still getting the same errors as in the original post.

commented

@edumserrano can you post one of the full errors please even if it looks the same

commented

It's the same as in the original post I believe. Here you go (this one from raid):

3218x FrameXML\CompactUnitFrame.lua:1122: Attempt to access forbidden object from code tainted by an AddOn
[string "=[C]"]: in function `Hide'
[string "@FrameXML\CompactUnitFrame.lua"]:1122: in function `CompactUnitFrame_UpdateClassificationIndicator'
[string "@FrameXML\CompactUnitFrame.lua"]:1380: in function <FrameXML\CompactUnitFrame.lua:1374>
[string "=[C]"]: ?
[string "=[C]"]: in function `CompactUnitFrame_UpdateAuras'
[string "@FrameXML\CompactUnitFrame.lua"]:96: in function <FrameXML\CompactUnitFrame.lua:45>

Locals:
(*temporary) = <unnamed> {
 0 = <userdata>
}
commented

Does anyone have a workaround for this spam of errors? I've tried testing since version 10.7 until version 10.18 and there is always a spam of errors. They are not always the same, earlier versions complain about different errors that I can see have been tackled by some commits.

One workaround I believe I've found is that if I do a /reload after I'm inside the M+ dungeon or the raid, the errors stop occurring so much. Instead of a constant spam of errors I only get a few. For instance in the middle of a DoS key I did a reload and only got 3xCompactUnitFrame errors for the rest of the key.

commented

It's the same as in the original post I believe. Here you go (this one from raid):

3218x FrameXML\CompactUnitFrame.lua:1122: Attempt to access forbidden object from code tainted by an AddOn
[string "=[C]"]: in function `Hide'
[string "@FrameXML\CompactUnitFrame.lua"]:1122: in function `CompactUnitFrame_UpdateClassificationIndicator'
[string "@FrameXML\CompactUnitFrame.lua"]:1380: in function <FrameXML\CompactUnitFrame.lua:1374>
[string "=[C]"]: ?
[string "=[C]"]: in function `CompactUnitFrame_UpdateAuras'
[string "@FrameXML\CompactUnitFrame.lua"]:96: in function <FrameXML\CompactUnitFrame.lua:45>

Locals:
(*temporary) = <unnamed> {
 0 = <userdata>
}

I'm getting this same error incessantly, and figured out it is potentially related to BigDebuffs, which is how I arrived at this thread. I get it in any type of instanced content in Shadowlands, like LFR and normal raid and mythic dungeons. Typically the errors start spamming my screen as soon as someone enters combat and do not resolve unless I reload and it makes it very difficult to perform in advanced content. I never thought about the fact that I have the option set to show friendly nameplates in combat, which is probably what triggers this. I have been disabling the addon for the time being but hoping it will be fixed! I recently added the bugsack addon so that I could avoid the popups initially so I could at least get to a safe spot to reload.

commented

@jordonwow I found this issue on the Auctionator addon repo: Use LibUIDropDownMenu to avoid taint.
Which led to this PR Use LibUIDropDownMenu to avoid CUF taint.

I don't have the expertise to evaluate LUA code so I hope the above helps and is not just noise.

UPDATE:
I've used the /console taintLog 1 command as described on the Auctioneer #1133 issue and for me it pinpointed that the issue was with the SortGroup addon. I have this issue open on the SortGroup addon repo: Lua error on 9.2

My problem might be different from the other people who reported this issue so I'd advise you to run the /console taintLog 1 and post feedback here. For me the spam of errors went away when I disabled SortGroup.

commented

That's my PR, and I recommend avoiding LibUIDropDownMenu as it only seems to cause new, different taint. It seems impossible, but it does.

commented

Was there ever a fix to this?