Drift

Drift

33.5k Downloads

Lua error when enable friendly nameplates in raid

class2u opened this issue ยท 14 comments

commented

Hi,
Thank you for making this great addon. I get the following Lua error message when enable friendly nameplates inside the raid instance Sepulcher of the First Ones. This is happening after Hotfix in 22th March. I am using Drift v1.0.25-retail. The raid need to be larger then 25 people maybe.

22844x 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 `CompactUnitFrame_UpdateAuras'
[string "@FrameXML\CompactUnitFrame.lua"]:96: in function <FrameXML\CompactUnitFrame.lua:45>

Locals:
(*temporary) = {
0 =
}

commented

Hi @class2u - Thanks for reporting this bug and the details! I attempted to reproduce the issue by enabling friendly nameplates inside of a 25 man Sepulcher of the First Ones. I also attempted to reproduce the issue by enabling friendly nameplates in a raid group larger than 25 people for a world boss. In both cases, I was unable to reproduce the issue.

Drift does not modify nameplates at all, so I am not sure how this interaction could occur. Is it possible you have any other AddOns installed that could be causing this issue? Additionally, could you test whether this issue still occurs while Drift is disabled?

commented

Thank you for replying and testing. Last time I tested it with Drift, EaseAddonController, BugGrabber, BugSack, Ace3 and some shared libs. I did not get this Lua error after disabling Drift and keeping the others enabled.

I will test it again with Drift only when I am in raid.

commented

I tested with Drift only. Disabled all other addons. When enabling friendly nameplates in a 25 player raid, I got the same Lua error message. BTW, I am using zh-TW game client. Thank you.

commented

Thanks for the additional testing and detail! I was able to reproduce the issue exactly as you have described. I am not sure why the error did not show up for me the first couple of times I tested but did show up for me this time. I am also not sure the exact cause of the error. It will take me some time to investigate.

commented

Attaching a taint log here for my own reference.
taint.log

commented

Attaching another taint log for reference.
taint2.log

commented

Third taint log for reference.
taint3.log

commented

These issues look like they could be the same bug:
Auctionator/Auctionator#1133
Auctionator/Auctionator#1136

commented

This seems to have fixed the issue for Auctionator: Auctionator/Auctionator@f59e54f

commented

This could be related too jordonwow/bigdebuffs#367

commented

Hi @class2u - I was able to fix the bug on my end. It appears to have been caused by using dropdowns in the addon interface options. Can you use the attached version of Drift and let me know if it fixes the bug for you when enabling friendly nameplates inside the raid instance Sepulcher of the First Ones? Thanks!
drift-v1.0.25-retail.zip

commented

This is a great news! I have downloaded and will test it later.

commented

Hi, I tested it inside the Sepulcher of the First Ones (LFR). There is no error anymore. Thank you!