silverwind / idTip

WoW Addon: Adds IDs to the ingame tooltips
BSD 2-Clause "Simplified" License
41 stars 33 forks source link

Addon Action Blocked: Button:SetPassThroughButtons #126

Open ncnash83 opened 2 weeks ago

ncnash83 commented 2 weeks ago

Courtesy of BugGrabber, when I moused over a rare mob in Vol'Dun it caught this.


1x [ADDON_ACTION_BLOCKED] AddOn 'idTip' tried to call the protected function 'Button:SetPassThroughButtons()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetPassThroughButtons'
[string "@Blizzard_MapCanvas/MapCanvas_DataProviderBase.lua"]:224: in function `CheckMouseButtonPassthrough'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:209: in function `AcquirePin'
[string "@Blizzard_SharedMapDataProviders/BonusObjectiveDataProvider.lua"]:97: in function <...haredMapDataProviders/BonusObjectiveDataProvider.lua:92>
[string "=[C]"]: in function `xpcall'
[string "@Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:76: in function `FireCallbacks'
[string "@Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:35: in function <.../Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua:31>
[string "=[C]"]: in function `accessor'
[string "@Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:52: in function `AddCallback'
[string "@Blizzard_ObjectAPI/Mainline/AsyncCallbackSystem.lua"]:60: in function `AddCancelableCallback'
[string "@Blizzard_SharedMapDataProviders/BonusObjectiveDataProvider.lua"]:92: in function `RefreshAllData'
[string "@Blizzard_SharedMapDataProviders/BonusObjectiveDataProvider.lua"]:65: in function `OnEvent'
[string "@Blizzard_MapCanvas/MapCanvas_DataProviderBase.lua"]:99: in function `SignalEvent'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:106: in function <...aceBlizzard_MapCanvas/Blizzard_MapCanvas.lua:105>
[string "=[C]"]: in function `secureexecuterange'
[string "@Blizzard_MapCanvas/Blizzard_MapCanvas.lua"]:109: in function `OnEvent'
[string "@Blizzard_WorldMap/Blizzard_WorldMap.lua"]:148: in function <...rfaceBlizzard_WorldMap/Blizzard_WorldMap.lua:147>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}
silverwind commented 1 week ago

This must be some taint issue, but I have no idea where it's coming from. idTip isn't even in the call stack.

Does it reproduce with only idTip and BuckSack installed?

ncnash83 commented 1 week ago

I could give it a try, that’s the first time I can recall seeing this particular instance.

ncnash83 commented 1 week ago

I went back to where I encountered the error. I turned bugsack off and turned on display lua errors. I couldn’t replicate it unfortunately.

silverwind commented 1 week ago

I suspect it might be a bug in Blizzard's Lua code, I've seen these SetPassThroughButtons happening from other addons as well. It definitely is safe to ignore these errors.

ncnash83 commented 1 week ago

I encountered a setpassthroughbuttons error with all the things too. I suspect you’re correct. Thanks for taking the time to discuss with me.