Bagnon

Bagnon

124M Downloads

ADDON_ACTION_FORBIDDEN error

Phanx opened this issue ยท 4 comments

commented

Bagnon 6.0.21, got this error when attempting to right-click my Hearthstone in my bags:

1x [ADDON_ACTION_FORBIDDEN] AddOn 'Bagnon' tried to call the protected function 'UNKNOWN()'.
!BugGrabber\BugGrabber.lua:589: in function <!BugGrabber\BugGrabber.lua:589>
[C]:: ?
[C]:: in function 'UseContainerItem'
FrameXML\ContainerFrame.lua:1004: in function 'ContainerFrameItemButton_OnClick'
[string "*:OnClick"]:12: in function <[string "*:OnClick"]:1>
[C]:: ?

I've since enabled taint logging and will report back with more info if/when the error occurs again.

commented

Got it again with 6.1.1, but even with level 2 taint logging there's nothing useful... just the usual about global variables being tainted at login:

3/2 05:40:56.245  Global variable Bagnon tainted by Bagnon - Interface\AddOns\Bagnon\main.lua:7
3/2 05:40:56.245  Global variable BINDING_HEADER_BAGNON tainted by Bagnon - Interface\AddOns\Bagnon\main.lua:11
3/2 05:40:56.245  Global variable BINDING_NAME_BAGNON_TOGGLE tainted by Bagnon - Interface\AddOns\Bagnon\main.lua:12
3/2 05:40:56.245  Global variable BINDING_NAME_BAGNON_BANK_TOGGLE tainted by Bagnon - Interface\AddOns\Bagnon\main.lua:13
3/2 05:40:56.245  Global variable BINDING_NAME_BAGNON_VAULT_TOGGLE tainted by Bagnon - Interface\AddOns\Bagnon\main.lua:14
3/2 05:40:56.245  Global variable BINDING_NAME_BAGNON_GUILD_TOGGLE tainted by Bagnon - Interface\AddOns\Bagnon\main.lua:15
3/2 05:41:02.514  Global variable ToggleBackpack tainted by Bagnon - Interface\AddOns\Bagnon\main.lua:231 HookBagClickEvents()
3/2 05:41:02.514      Interface\AddOns\Bagnon\main.lua:23
3/2 05:41:02.514      xpcall()
3/2 05:41:02.514      safecall Dispatcher[1]:9
3/2 05:41:02.514      Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:558 EnableAddon()
3/2 05:41:02.514      Interface\AddOns\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:651
3/2 05:41:02.514      LoadAddOn()
3/2 05:41:02.514      Interface\FrameXML\UIParent.lua:334 UIParentLoadAddOn()
3/2 05:41:02.514      Interface\FrameXML\UIParent.lua:357 CombatLog_LoadUI()
3/2 05:41:02.514      Interface\FrameXML\UIParent.lua:904

... and about execution being tainted around the same time:

3/2 05:41:02.801  Execution tainted by Bagnon while reading BagnonFrameinventory - Interface\FrameXML\UIParent.lua:2733
3/2 05:41:02.801      securecall()
3/2 05:41:02.801      Interface\FrameXML\UIParent.lua:2773 CloseWindows()
3/2 05:41:02.801      Interface\FrameXML\UIParent.lua:2801 CloseAllWindows()
3/2 05:41:02.801      Interface\FrameXML\UIParent.lua:1054

Then more later when opening bags:

3/2 05:42:02.779  Execution tainted by Bagnon while reading ToggleAllBags - OPENALLBAGS:1
3/2 05:42:02.779  Execution tainted by Bagnon while reading BagnonFrameinventoryMoneyFrameGoldButton - Interface\FrameXML\MoneyFrame.lua:276 MoneyFrame_SetType()
3/2 05:42:02.779      Interface\FrameXML\MoneyFrame.lua:221 SmallMoneyFrame_OnLoad()
3/2 05:42:02.779      BagnonFrameinventoryMoneyFrame:OnLoad()
3/2 05:42:02.779      CreateFrame()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\moneyFrame.lua:14 <unnamed>:New()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\frame.lua:520 BagnonFrameinventory:CreateMoneyFrame()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\frame.lua:507 BagnonFrameinventory:PlaceMoneyFrame()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\frame.lua:252 BagnonFrameinventory:Layout()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\frame.lua:106 BagnonFrameinventory:Update()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\frame.lua:80 OnShow()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\inventory.lua:12
3/2 05:42:02.779      BagnonFrameinventory:Show()
3/2 05:42:02.779      Interface\AddOns\Bagnon\components\frame.lua:61 BagnonFrameinventory:ShowFrame()
3/2 05:42:02.779      Interface\AddOns\Bagnon\main.lua:91
3/2 05:42:02.779      Interface\AddOns\Bagnon\main.lua:268 ToggleAllBags()
3/2 05:42:02.779      OPENALLBAGS:1
....
3/2 05:42:02.779  Execution tainted by Bagnon while reading BagnonItemSlot1Cooldown - Interface\FrameXML\ContainerFrame.lua:617 ContainerFrame_UpdateCooldown()
3/2 05:42:02.779      Interface\AddOns\Bagnon\common\components\item.lua:356 BagnonItemSlot1:UpdateCooldown()
3/2 05:42:02.779      Interface\AddOns\Bagnon\common\components\item.lua:221
3/2 05:42:02.779      BagnonItemSlot1:Update()
3/2 05:42:02.779      Interface\AddOns\Bagnon\common\components\item.lua:111
3/2 05:42:02.779      BagnonItemSlot1:Show()
3/2 05:42:02.779      Interface\AddOns\Bagnon\common\components\item.lua:209 BagnonItemSlot1:SetTarget()
3/2 05:42:02.779      Interface\AddOns\Bagnon\common\components\itemFrame.lua:142

Here's the actual "action blocked" error:

3/2 05:43:56.097  An action was blocked because of taint from Bagnon - UseContainerItem()
3/2 05:43:56.097      Interface\FrameXML\ContainerFrame.lua:1004 ContainerFrameItemButton_OnClick()
3/2 05:43:56.097      BagnonItemSlot67:OnClick()

The first time it happened, I did try to reproduce it with no other addons, but it's not exactly a consistent problem.

commented

Maybe try taintLog 11 on the PTR if it is still online? And yeah, I do get it all the time, too.

commented

PTR for 2.1.2 is up soon, so we/you have access to taintLog 11 once again.