Thread Tools Display Modes
04/16/15, 01:35 AM   #1
DerBombo
 
DerBombo's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 29
Question Looking for addon causing a bug

Hey there,

I have an annoying bug for quite some time, and I can't figure out, which addon is actually causing it. It doesn't happen all the time, but rather sporadic. Sometimes, when I try to use the context menu in my inventory, to either Destroy and item or get one from my bank, I get the following message:

EsoUI/Ingame/Inventory/InventorySlot.lua:903: attempt to access a private function 'PickupInventoryItem' from insecure code
stack traceback:
EsoUI/Ingame/Inventory/InventorySlot.lua:903: in function 'InitiateDestroyItem'
EsoUI/Ingame/Inventory/InventorySlot.lua:1453: in function 'OnSelect'
EsoUI/Libraries/ZO_ContextMenus/ZO_ContextMenus.lua:412: in function 'ZO_Menu_ClickItem'
8371350907706105899:4: in function '(main chunk)'

Does anyone have a tip for me in how to find out, which addon (if any) is actually causing this? I have way to many addons at the moment, to go by trial and error. Also when I reloadui, the bug isn't happening anymore for a certain amount of time.

Thanks for any help.

Edit: I'll just add all my addons here, so maybe anyone can have an educated guess.

Advanced Filters
Advanced Filters - Sous Chef Filters
AI Research Grid
AwesomeGuildStore
CDG Bank Stacker
Circonians ChatIt
Circonians EmoteIt
Circonians SortIt
Combat Cloud
Combat Log Statistics (CLS)
CurvyHud
Destinations
Dustman
FCO ItemSaver
Fully Customizable MultiQuest Tracker
Harven's Chat Completion
Harven's Improved Skills Window
Harven's Quest Journal
Harven's Subtitles
Harven's Trait and Style
HarvestMap (EsoheadMarkers)
Idle Animations
Inventory Item Borders (for Update 6)
Joviex's Addon Settings Transfer (for Update 4)
JPGScreenshot
LibMediaProvider
Librarian Book Manager
Lootdrop, Continued (All in One)
LoreBooks
MailR
MasterMerchant
MobileBank Extended
No, thank you!
pChat
PinKiller
Potion Maker
Rare Fish Tracker
Research Assistant
Runes Voices
Show Weapons While Mounted
Sous Chef - Provisioning Helper
SpentSkillPoints
Srendarr - Aura, Buff & Debuff Tracker (for Update 6)
TrueExploration
Votan's Fish Fillet
Votan's Fisherman
Votan's Rune Info
Votan's Search Box

Last edited by DerBombo : 04/16/15 at 01:43 AM.
  Reply With Quote
04/16/15, 01:56 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
You are not the only one with that issue. Maybe you can give us a list of addons that you are using.
%HOMEPATH%\Documents\Elder Scrolls Online\live\AddOnSettings.txt should contain a section for your character that shows them.

edit: thank you
  Reply With Quote
04/16/15, 02:41 AM   #3
Sideshow
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 36
If the problem is persistent, you can do a 'binary search'

First, disable the upper half of the addons
If the problem still occurs, you know it's probably not a problem with the upper half of the addons
Then, disable the upper half of the original lower half
Have fun
  Reply With Quote
04/16/15, 03:03 AM   #4
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by Sideshow View Post
If the problem is persistent, you can do a 'binary search'

First, disable the upper half of the addons
If the problem still occurs, you know it's probably not a problem with the upper half of the addons
Then, disable the upper half of the original lower half
Have fun
The problem is, it is a sporadic error. Without knowing what to do to cause it, you can not be sure.
I assume it is an general issue of ShowMenu, and the message is a misleading "always print this if any error occurs".
I think ZO_Menu_OnHide is not always called (in the right order) because the owning control gets invisible, but not hidden. (same problem as with tooltips not get closed)
And/Or some OnEffectivelyHidden handler get replaced by ShowMenu.

If I am right, you had another context-menu opened before and not closed before opening another window by key-bind.

But that's just a theory...
  Reply With Quote
04/16/15, 03:47 AM   #5
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,579
Two ideas that come to mind are 1) creating an addon that provokes this error in all sorts of ways that we can think of and 2) compare these code pieces with addons that are in the lists of people that have this problem from time to time.
Probably will be a lot of work to look through all of them though.
  Reply With Quote
04/16/15, 03:52 AM   #6
DerBombo
 
DerBombo's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 29
Thanks to all of you for your replies. Also great that each and every reply is coming from someone, whose addons I use and like pretty much. You guys are great!

Originally Posted by votan View Post
If I am right, you had another context-menu opened before and not closed before opening another window by key-bind.
That is definitely something I can look out for. Thanks Sideshow for suggesting the binary approach. I actually used that in the past to locate a different issue. The problem here is, I would have to go without half my addons for quite some time, and even then I won't be sure I caught the one messing up, because as I said the issue won't occur anymore, when I'd do a reloadui. But thanks anyway!
  Reply With Quote
04/16/15, 03:54 AM   #7
DerBombo
 
DerBombo's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 29
Also I guess I will log this as a bug with ZOS, if it's possible for them to do something about it or they are actually causing it.
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Looking for addon causing a bug


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off