LFG Group Bulletin Board

LFG Group Bulletin Board

5M Downloads

Lua Error randomly popping

SilverSaw opened this issue ยท 2 comments

commented

Describe the bug

1x [ADDON_ACTION_BLOCKED] AddOn 'LFGBulletinBoard' tried to call the protected function 'CheckInteractDistance()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `CheckInteractDistance'
[string "@Blizzard_UnitPopupShared/UnitPopupSharedUtils.lua"]:201: in function <...ns/Blizzard_UnitPopupShared/UnitPopupSharedUtils.lua:188>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Blizzard_Menu/MenuTemplates.lua"]:54: in function <Blizzard_Menu/MenuTemplates.lua:51>
[string "=(tail call)"]: ?
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/SecureTypes.lua"]:347: in function `CallFunctionIfSet'
[string "@Blizzard_Menu/Menu.lua"]:995: in function <Blizzard_Menu/Menu.lua:946>
[string "@Blizzard_Menu/Menu.lua"]:1056: in function <Blizzard_Menu/Menu.lua:1047>
[string "=[C]"]: in function `securecallfunction'
...
[string "@Blizzard_Menu/Menu.lua"]:2262: in function <Blizzard_Menu/Menu.lua:2216>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?
[string "@Blizzard_Menu/Menu.lua"]:2432: in function `OpenContextMenu'
[string "@Blizzard_Menu/MenuUtil.lua"]:159: in function `CreateContextMenu'
[string "@Blizzard_UnitPopupShared/UnitPopupShared.lua"]:97: in function `OpenMenu'
[string "@Blizzard_UnitPopupShared/UnitPopupShared.lua"]:132: in function `UnitPopup_OpenMenu'
[string "@Blizzard_UnitFrame/Vanilla/TargetFrame.lua"]:871: in function `handler'
[string "@Blizzard_FrameXML/Classic/SecureTemplates.lua"]:612: in function `SecureActionButton_OnClick'
[string "@Blizzard_FrameXML/Classic/SecureTemplates.lua"]:652: in function <Blizzard_FrameXML/Classic/SecureTemplates.lua:644>

Locals:
_ = Frame {
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
}

To Reproduce
Steps to reproduce the behavior:

  1. I have no idea how to simulate this bug, but I know it is popping randomly only when LFG Bulletin Board is loaded. When it is disabled I have no errors at all.

Expected behavior
Lua Error is popping randomly

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Version: 3.41

Additional context
It is popping together with 3 more errors:

1x ...Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua:727: attempt to index local 'self' (a nil value)
[string "@Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua"]:727: in function <...Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua:722>
[string "=[C]"]: in function `FCF_SetChatWindowFontSize'
[string "@Prat-3.0-3.9.61/modules/Font.lua"]:765: in function `SetFontSize'
[string "@Prat-3.0-3.9.61/modules/Font.lua"]:753: in function `ConfigureAllChatFrames'
[string "@Prat-3.0-3.9.61/modules/ChatFrames.lua"]:636: in function <Prat-3.0/modules/ChatFrames.lua:630>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `FloatingChatFrame_UpdateBackgroundAnchors'
[string "@Blizzard_CombatLog/Classic/Blizzard_CombatLog.lua"]:3302: in function <...ns/Blizzard_CombatLog/Classic/Blizzard_CombatLog.lua:3288>
[string "@Blizzard_CombatLog/Classic/Blizzard_CombatLog.lua"]:3355: in function `FCF_DockUpdate'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:1035: in function `UIParentManageFramePositions'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:325: in function <...PanelManager/Classic/UIParentPanelManager_Shared.lua:312>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:1045: in function `UIParent_ManageFramePositions'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:364: in function `BuffFrame_UpdateAllBuffAnchors'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:105: in function `BuffFrame_Update'
[string "@Blizzard_SettingsDefinitions_Frame/Classic/InterfaceOverrides.lua"]:103: in function <...ingsDefinitions_Frame/Classic/InterfaceOverrides.lua:102>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_SharedXMLBase/CvarUtil.lua"]:114: in function <Blizzard_SharedXMLBase/CvarUtil.lua:106>

Locals:
self = nil
chatFrame = ChatFrame7 {
 onDisplayRefreshedCallbacks = <table> {
 }
 oldestFadingLineTimestamp = 3437.071000
 tellTimer = 3419.782000
 shouldFadeAfterInactivity = true
 buttonSide = "left"
 textIsCopyable = false
 ResizeButton = ChatFrame7ResizeButton {
 }
 overrideFadeTimestamp = 3437.071000
 isScrollingMessageFrame = true
 name = "Chat 7"
 isUninteractable = false
 minimizeButton = ChatFrame7MinimizeButton {
 }
 buttonFrame = ChatFrame7ButtonFrame {
 }
 ctResizeButtons = <table> {
 }
 alternativeDefaultLanguage = "Orcish"
 isInitialized = 1
 hasOwnFontObject = true
 allowScroll = true
 oldAlpha = 0
 channelList = <table> {
 }
 FontStringContainer = Frame {
 }
 messageTypeList = <table> {
 }
 flashTimer = 0
 timeVisibleSecs = 120
 fontObject = table: 000001F00272E910 {
 }
 zoneChannelList = <table> {
 }
 insertMode = 2
 defaultLanguage = "Orcish"
 isLayoutDirty = true
 isDisplayDirty = true
 fadeDurationSecs = 3
 visibleLines = <table> {
 }
 scrollOffset = 0
 historyBuffer = <table> {
 }
 clickAnywhereButton = ChatFrame7ClickAnywhereButton {
 }
 ScrollToBottomButton = Button {
 }
 editBox = ChatFrame7EditBox {
 }
 Background = ChatFrame7Background {
 }
 isLocked = true
}
fontSize = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'self' (a nil value)" 

this one

4x Prat-3.0-3.9.61/modules/ChatTabs.lua:1114: bad argument #1 to 'SetAlpha' (Usage: self:SetAlpha(alpha))
[string "=[C]"]: in function `SetAlpha'
[string "@Prat-3.0-3.9.61/modules/ChatTabs.lua"]:1114: in function <Prat-3.0/modules/ChatTabs.lua:1096>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `FCFTab_UpdateAlpha'
[string "@Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua"]:1867: in function `FCFDock_UpdateTabs'
[string "@Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua"]:1242: in function <...Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua:1241>
[string "@Blizzard_CombatLog/Classic/Blizzard_CombatLog.lua"]:3354: in function `FCF_DockUpdate'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:1035: in function `UIParentManageFramePositions'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:325: in function <...PanelManager/Classic/UIParentPanelManager_Shared.lua:312>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:1045: in function `UIParent_ManageFramePositions'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:364: in function `BuffFrame_UpdateAllBuffAnchors'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:105: in function `BuffFrame_Update'
[string "@Blizzard_SettingsDefinitions_Frame/Classic/InterfaceOverrides.lua"]:103: in function <...ingsDefinitions_Frame/Classic/InterfaceOverrides.lua:102>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_SharedXMLBase/CvarUtil.lua"]:114: in function <Blizzard_SharedXMLBase/CvarUtil.lua:106>

Locals:
(*temporary) = ChatFrame2Tab {
 leftHighlightTexture = ChatFrame2TabHighlightLeft {
 }
 middleHighlightTexture = ChatFrame2TabHighlightMiddle {
 }
 mouseAlpha = 0
 rightHighlightTexture = ChatFrame2TabHighlightRight {
 }
 mouseOverAlpha = 0.600000
 fadeInfo = <table> {
 }
 middleTexture = ChatFrame2TabMiddle {
 }
 rightSelectedTexture = ChatFrame2TabSelectedRight {
 }
 leftSelectedTexture = ChatFrame2TabSelectedLeft {
 }
 textWidth = 61.155544
 glow = ChatFrame2TabGlow {
 }
 middleSelectedTexture = ChatFrame2TabSelectedMiddle {
 }
 rightTexture = ChatFrame2TabRight {
 }
 noMouseAlpha = 0
 alerting = false
 Text = ChatFrame2TabText {
 }
 leftTexture = ChatFrame2TabLeft {
 }
}
(*temporary) = nil

and this one

1x Prat-3.0-3.9.61/modules/ChatTabs.lua:1110: bad argument #1 to 'SetAlpha' (Usage: self:SetAlpha(alpha))
[string "=[C]"]: in function `SetAlpha'
[string "@Prat-3.0-3.9.61/modules/ChatTabs.lua"]:1110: in function <Prat-3.0/modules/ChatTabs.lua:1096>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `FCFTab_UpdateAlpha'
[string "@Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua"]:1867: in function `FCFDock_UpdateTabs'
[string "@Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua"]:1242: in function <...Blizzard_ChatFrameBase/Classic/FloatingChatFrame.lua:1241>
[string "@Blizzard_CombatLog/Classic/Blizzard_CombatLog.lua"]:3354: in function `FCF_DockUpdate'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:1035: in function `UIParentManageFramePositions'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:325: in function <...PanelManager/Classic/UIParentPanelManager_Shared.lua:312>
[string "=[C]"]: in function `SetAttribute'
[string "@Blizzard_UIParentPanelManager/Classic/UIParentPanelManager_Shared.lua"]:1045: in function `UIParent_ManageFramePositions'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:364: in function `BuffFrame_UpdateAllBuffAnchors'
[string "@Blizzard_BuffFrame/Classic/BuffFrame.lua"]:105: in function `BuffFrame_Update'
[string "@Blizzard_SettingsDefinitions_Frame/Classic/InterfaceOverrides.lua"]:103: in function <...ingsDefinitions_Frame/Classic/InterfaceOverrides.lua:102>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:144: in function <...eBlizzard_SharedXMLBase/CallbackRegistry.lua:143>
[string "=[C]"]: ?
[string "@Blizzard_SharedXMLBase/CallbackRegistry.lua"]:147: in function `TriggerEvent'
[string "@Blizzard_SharedXMLBase/CvarUtil.lua"]:114: in function <Blizzard_SharedXMLBase/CvarUtil.lua:106>

Locals:
(*temporary) = ChatFrame1Tab {
 leftHighlightTexture = ChatFrame1TabHighlightLeft {
 }
 middleHighlightTexture = ChatFrame1TabHighlightMiddle {
 }
 mouseAlpha = 0
 rightHighlightTexture = ChatFrame1TabHighlightRight {
 }
 mouseOverAlpha = 1
 middleTexture = ChatFrame1TabMiddle {
 }
 rightSelectedTexture = ChatFrame1TabSelectedRight {
 }
 Text = ChatFrame1TabText {
 }
 leftTexture = ChatFrame1TabLeft {
 }
 fadeInfo = <table> {
 }
 glow = ChatFrame1TabGlow {
 }
 middleSelectedTexture = ChatFrame1TabSelectedMiddle {
 }
 rightTexture = ChatFrame1TabRight {
 }
 noMouseAlpha = 0
 alerting = false
 textWidth = 40.533337
 leftSelectedTexture = ChatFrame1TabSelectedLeft {
 }
}
(*temporary) = nil

commented

Thanks for the report this is really odd.

The main reason im finding it odd is that the UnitDistanceSquared function is not called anywhere in the addon, except for some legacy deprecated code which has not been called/used since this addon was maintained in tbc

By reading the error log (first one at least) its seems to be happening when in combat and you right-click to on a player frame to open up the the player interact dropdown menu.

Ill try to reproduce myself, but i know that with "combat lockdown" bugs the lua error can be misleading, in terms of who the blame is put on at the end of the error trace.

commented

The other 3 error logs seem to be related to the chat "Prat" addon, it could just be an incompatibility between both addons but at a first glance im not seeing anything related to LFGBulletinBoard in them. Id have to down load it and play around with both to see if i also encounter any errors.