Ongoing issue with a Lua error
Hello everyone, I have got a bug with my UI which I have never understood why.
I am getting many reports that my UI causes the following error: Code:
Date: 2014-01-20 18:55:09 Lua Code:
Does anyone have any idea why this is happening? The code for my addOn is here just in case you want to look into it: https://github.com/Mayron/MayronUI Thanks for any advice you may have! |
Disable all of your other addons which use AceLib, then check if it's still persists.
Edit: I think 5 things could cause something like this: hooksercurecalls (Mostly in combat) StaticPopupDialogs (With non unique names) UIDropDownMenu_SetSelectedName, UIDropDownMenu_SetSelectedValue, UIDropDownMenu_SetSelectedID, UIDropDownMenu_GetSelectedName, UIDropDownMenu_GetSelectedID, UIDropDownMenu_GetSelectedValue, fix here: http://www.wowinterface.com/download...Menu.html#info Initalizing dropdowns on addonload Adding your addon into Blizzard Interface panel with leaks |
Quote:
|
ToggleTalentFrame() calls TalentFrame_LoadUI() on its own. Get rid of this extra call and let the default UI code make it for you. See if that fixes your taint.
(Though, as Resike pointed out, it may well lie in a number of other seemingly unlikely places.) |
Quote:
The sucky part is to get that which addon causing the leak, specially when you can't reproduce the issue easily. The addon's i wouln't trust are: Auctionator or pretty much any Auc addon ACP HandyNotes But i don't know all of them. |
I've been running with taintlog enabled for the past year or so.
I meticulously vet my addons for taint fixing what I can or replacing what I can't. That is to say if my taint.log is ever > 0kb I work on things until it is empty and stays empty after long sessions of raiding. While I can't directly help with your issue I can tell you which from your addons are taint free (no addon is literally taint free, all non-blizzard code taints, by that I mean no taint that would cause action forbidden/blocked errors ie no 'bad taint'). Auctionator ErrorFilter HandyNotes* Masque* MikScrollingBattleText MogIt Omen Postal Quartz RaidBuffStatus Scrap* SilverDragon XLoot* These to the best of my knowledge are free of taint. From those in your list that I don't mention, many I haven't / not using, some (fewer) I did at some point but replaced with similar. To have a chance at pinpointing the origin you do need to run with /console taintLog 1 and check the Logs\taint.log file for the first addon mentioned. If you can debug the taint source to that one good, if not remove it and see if taint.log blames another. Repeat the process until you get no taint then start adding addons back with the one removed last staying off. |
Handynotes might have been updated since i used it. Back then i've had some issues with it.
|
Quote:
|
Quote:
|
Quote:
|
I know UIFrameFlash used to cause talent taint. There was a big fuss. Not sure if they fixed that. Search your addon folder for any calls to it.
http://forums.wowace.com/showthread.php?t=20397 http://forums.wowace.com/showthread.php?t=20452 |
Okay, I looked at your code... you are setting a lot of globals. :eek:
Go get WowGlobalFinder and load your files up in it. Check the "only set globals" option at the bottom. Work through the list and exterminate as many of those globals as possible. There's no reason to have any globals other than: - slash commands, - the name(s) of your SavedVariable(s), - the names of frames that require names due to inheritance from Blizzard templates, - the name of your main addon object (optional), - and/or the names of your main display frames (also optional). Looking over your list, I'm seeing a lot of generic names like "CompactHidden", "UnitChanged", "unitType", "count", "BonusFrame", and "ChatFont" that definitely should not be global. The most likely candidate for problem taint I'm seeing is FCF_SetTabPosition -- if you want to touch the chat tabs without breaking other parts of the UI by tainting UIFrameFlash, make sure you're loading LibChatAnims before you start touching, or (depending on what you're doing; I didn't look) you might be able to get away with using hooksecurefunc to run your own stuff after the Blizz function runs instead of replacing it. |
Quote:
|
Quote:
|
All times are GMT -6. The time now is 12:35 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI