Verubato / framesort

A simple WoW add-on that sorts party, arena, and raid frames.
9 stars 3 forks source link

(cata) lua error #38

Closed crossfactioninstancedpvp closed 1 month ago

crossfactioninstancedpvp commented 2 months ago

1x [ADDON_ACTION_BLOCKED] AddOn 'FrameSort' tried to call the protected function 'CompactRaidFrame3:Show()'. [string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485> [string "=[C]"]: in function Show' [string "@Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua"]:378: in functionCompactUnitFrame_UpdateVisible' [string "@Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua"]:304: in function <Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua:302> [string "=[C]"]: in function `CompactUnitFrame_UpdateAll' [string "@Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua"]:136: in function <Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua:59>

Locals: _ = Frame { RegisterEvent = defined @!BugGrabber/BugGrabber.lua:491 0 = UnregisterEvent = defined @!BugGrabber/BugGrabber.lua:491 SetScript = defined @!BugGrabber/BugGrabber.lua:491 } event = "ADDON_ACTION_BLOCKED" events =

{ ADDON_ACTION_BLOCKED = defined @!BugGrabber/BugGrabber.lua:557 ADDON_ACTION_FORBIDDEN = defined @!BugGrabber/BugGrabber.lua:557 PLAYER_LOGIN = defined @!BugGrabber/BugGrabber.lua:551 LUA_WARNING = defined @!BugGrabber/BugGrabber.lua:566 ADDON_LOADED = defined @!BugGrabber/BugGrabber.lua:511 }

Verubato commented 2 months ago

Is this when using the Secure or Traditional sorting mode?

crossfactioninstancedpvp commented 2 months ago

Secure I believe. Not at pc atm. The first one at the top on the sorting method tab.

Verubato commented 2 months ago

I have no idea how this happened.

The stack trace is Blizzard code so it probably meants FrameSort tainted the raid frames somehow which shouldn't happen when using Secure sort mode.

If it keeps happening please let me know as I need more clues!

crossfactioninstancedpvp commented 1 month ago

happened again here, can't recall when. thank you.

1x [ADDON_ACTION_BLOCKED] AddOn 'FrameSort' tried to call the protected function 'CompactRaidGroup1Member2:Show()'. [string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485> [string "=[C]"]: in function Show' [string "@Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua"]:378: in functionCompactUnitFrame_UpdateVisible' [string "@Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua"]:304: in function <Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua:302> [string "=[C]"]: in function `CompactUnitFrame_UpdateAll' [string "@Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua"]:136: in function <Blizzard_UnitFrame/Wrath/CompactUnitFrame.lua:59>

Locals: Skipped (In Encounter)

Verubato commented 1 month ago

Are you using the hide player feature by chance?

crossfactioninstancedpvp commented 1 month ago

Are you using the hide player feature by chance?

I am not.

Verubato commented 1 month ago

I've received more information about this from other users: it happens when summoning a pet during combat.

Verubato commented 1 month ago

Narrowed it down to the following line of code causing taint:

https://github.com/Verubato/framesort/blob/c9d73b57331b96d00a3fab2d233e02426b785111/src/Providers/Blizzard.lua#L238C1-L238C130

This issue is caused by a Blizzard bug in cata (issue doesn't happen in retail).

Have logged a bug report with blizzard for this: https://github.com/Stanzilla/WoWUIBugs/issues/596

In the meantime, I'm trying some workarounds to avoid taint but haven't found a solution yet.

Verubato commented 1 month ago

Issue potentially fixed in latest release 6.6.7.

Verubato commented 1 month ago

Believe this to be fixed now.