arkayenro / arkinventory

A World of Warcraft Inventory mod for Retail, Burning Crusade, and Classic
102 stars 14 forks source link

[BUG] Autobar Hearthstone button issues #1558

Open DaveB1977 opened 2 years ago

DaveB1977 commented 2 years ago

What version number you are using? 3.09.64

What game client are you playing? Retail, Burning Crusade, Classic / Live, PTR, Beta retail, fully up to date

What language is the game client set to? English

Describe the bug Basically, I use another addon called autobar which has popouts for common things, like hearthstones, mounts. When hovering over the Hearthstone button you get an error

To Reproduce Install autobar, setup a hearthstone button, mouseover.

Screenshots Not a screenshot but error below 6x [ADDON_ACTION_BLOCKED] AddOn 'ArkInventory' tried to call the protected function 'AutoBarButtonHearthFrame:SetAttribute()'. [string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519> [string "=[C]"]: in function `SetAttribute' [string "@FrameXML\SecureHandlers.lua"]:334: in function <FrameXML\SecureHandlers.lua:330>

Additional context I'm aware this might not be an arkinventory issue, but the Autobar author is long gone, if it's not AI causing it i'd need to workaround the AB bug. Thanks.

arkayenro commented 2 years ago

its most likely taint from somewhere like a shared library we have in common.

read https://github.com/arkayenro/arkinventory/wiki/Taint-and-ADDON_ACTION_BLOCKED and see if that helps

DaveB1977 commented 2 years ago

redacted, issue is still here

DaveB1977 commented 2 years ago

FYI, this is the error message:

526x FrameXML\RestrictedExecution.lua:473: Cannot call restricted closure from insecure code

[string "@FrameXML\RestrictedExecution.lua"]:473: in function <FrameXML\RestrictedExecution.lua:447>

[string "@FrameXML\SecureHandlers.lua"]:337: in function <FrameXML\SecureHandlers.lua:330>

Locals: (*temporary) = "Cannot call restricted closure from insecure code"

DaveB1977 commented 2 years ago

AHA!! Taintlog doesnt work with bugrabber enabledf, please see below:

3/5 14:46:16.680 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:16.680 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:19.249 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup7:SetAttribute() 3/5 14:46:19.249 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:19.305 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup1:SetAttribute() 3/5 14:46:19.305 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:19.382 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:19.382 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:20.223 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:20.223 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:20.367 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup1:SetAttribute() 3/5 14:46:20.367 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:20.423 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup7:SetAttribute() 3/5 14:46:20.423 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:20.984 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:20.984 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:21.429 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:21.429 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:22.268 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup1:SetAttribute() 3/5 14:46:22.268 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:22.446 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:22.446 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:23.128 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:23.128 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:37.799 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup1:SetAttribute() 3/5 14:46:37.799 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:38.261 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:46:38.261 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:50.501 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup5:SetAttribute() 3/5 14:46:50.501 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:50.512 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup3:SetAttribute() 3/5 14:46:50.512 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:46:50.512 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup7:SetAttribute() 3/5 14:46:50.512 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:27.292 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:47:27.292 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.282 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:47:38.282 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.496 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup7:SetAttribute() 3/5 14:47:38.496 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.618 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup1:SetAttribute() 3/5 14:47:38.618 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.735 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup2:SetAttribute() 3/5 14:47:38.735 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.813 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup3:SetAttribute() 3/5 14:47:38.813 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.880 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup2:SetAttribute() 3/5 14:47:38.880 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.891 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup1:SetAttribute() 3/5 14:47:38.891 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:47:38.947 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup7:SetAttribute() 3/5 14:47:38.947 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:07.677 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup7:SetAttribute() 3/5 14:48:07.677 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:07.722 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFrame:SetAttribute() 3/5 14:48:07.722 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.731 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup7:SetAttribute() 3/5 14:48:08.731 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.731 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup8:SetAttribute() 3/5 14:48:08.731 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.753 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup9:SetAttribute() 3/5 14:48:08.753 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.764 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup11:SetAttribute() 3/5 14:48:08.764 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.764 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup5:SetAttribute() 3/5 14:48:08.764 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.787 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup6:SetAttribute() 3/5 14:48:08.787 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.942 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup6:SetAttribute() 3/5 14:48:08.942 Interface\FrameXML\SecureHandlers.lua:334 3/5 14:48:08.953 An action was blocked in combat because of taint from ArkInventory - AutoBarButtonHearthFramePopup5:SetAttribute() 3/5 14:48:08.953 Interface\FrameXML\SecureHandlers.lua:334

arkayenro commented 2 years ago

so start from that point in the taint log, and work your way back to what actually initiated the taint.

ie i use a lot of shared libraries, im also typically the first mod loaded (alphabetically) so i get to own those libraries. anyone else screws them up and i get blamed.

you need to find out what the taint is and where it started, then you will know what caused it.

DaveB1977 commented 2 years ago

It seems to be Autobar trying to hook into the toybox hearthstones, I'm Fae but it's pulling across Necro items, think that's the issue. I've removed the premade button and added manually and its working error free. Thanks for the effort man, much appreciated.