Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
153 stars 7 forks source link

Client crashes on reload when alpha on a frame is altered during the OnHide of a visible frame's child #530

Open plusmouse opened 4 months ago

plusmouse commented 4 months ago

Test case:

AlphaTest-10dece9.zip

Install the supplied addon and reload, and the client will usually crash. If it doesn't crash on the first reload try again.

AlphaTest.toc

## Interface: 100200
## Title: Alpha Test
## Version: @project-version@
## Author: plusmouse
Main.lua

Main.lua

function Create()
  local frame = CreateFrame("ItemButton", nil, UIParent, "ContainerFrameItemButtonTemplate")
  frame:SetPoint("CENTER")
  frame:Show()
  frame.ItemContextOverlay:Show()
  frame.ItemContextOverlay:SetScript("OnHide", function()
    frame.Count:SetAlpha(0.4)
  end)
end
Create()

Error log

================================================================================
World of Warcraft: Retail Build (build 53262)

Exe:      C:\Program Files (x86)\World of Warcraft\_retail_\Wow.exe
Command:  "C:\Program Files (x86)\World of Warcraft\_retail_\Wow.exe" -launcherlogin -uid wow
Time:     Feb 14, 2024 11:58:45.017 AM
User:     (redacted)
Computer: (redacted)
--------------------------------------------------------------------------------

==============================================================================
Exception: ACCESS_VIOLATION - The instruction at "0xffffffffffffffff" referenced memory at "0xffffffffffffffff".
The memory could not be "executed".
ProcessID: 24604
ThreadID: 27892
------------------------------------------------------------------------------

<Exception.IssueType> Exception
<ExceptionType> Crash
<Exception.Summary:>
ACCESS_VIOLATION - The instruction at "0xffffffffffffffff" referenced memory at "0xffffffffffffffff".
The memory could not be "executed".
(DBG-OPTIONS<FunctionsOnly SingleLine> DBG-ADDR<ffffffffffffffff>("Wow.exe") <- DBG-ADDR<00007ff63c2c8b8f>("Wow.exe") <- DBG-ADDR<00007ff63c75de48>("Wow.exe") DBG-OPTIONS<>)
<:Exception.Summary>
<Exception.Assertion:>
DBG-ADDR<ffffffffffffffff>("Wow.exe")
DBG-ADDR<00007ff63c2c8b8f>("Wow.exe")
DBG-ADDR<00007ff63c75de48>("Wow.exe")
DBG-ADDR<00007ff63bea1fa1>("Wow.exe")
DBG-ADDR<00007ff63bea55aa>("Wow.exe")
DBG-ADDR<00007ff63bea18bf>("Wow.exe")
DBG-ADDR<00007ff63be9da37>("Wow.exe")
DBG-ADDR<00007ff63bea241a>("Wow.exe")
DBG-ADDR<00007ff63bea1a95>("Wow.exe")
DBG-ADDR<00007ff63be9ecfe>("Wow.exe")
DBG-ADDR<00007ff63c2c4a0b>("Wow.exe")
DBG-ADDR<00007ff63c2c25a8>("Wow.exe")
DBG-ADDR<00007ff63c28c141>("Wow.exe")
DBG-ADDR<00007ff63c2b2764>("Wow.exe")
DBG-ADDR<00007ff63c2b29fa>("Wow.exe")
DBG-ADDR<00007ff63c2b2208>("Wow.exe")
DBG-ADDR<00007ff63c2b3304>("Wow.exe")
DBG-ADDR<00007ff63c2939bb>("Wow.exe")
DBG-ADDR<00007ff63c273ad6>("Wow.exe")
DBG-ADDR<00007ff63c274b44>("Wow.exe")
DBG-ADDR<00007ff63df94907>("Wow.exe")
DBG-ADDR<00007ff63df806e5>("Wow.exe")
DBG-ADDR<00007ff63df88708>("Wow.exe")
DBG-ADDR<00007ff63be03c3f>("Wow.exe")
DBG-ADDR<00007ff63bdf5ccc>("Wow.exe")
DBG-ADDR<00007ff63bdf33aa>("Wow.exe")
DBG-ADDR<00007ff63bdf3373>("Wow.exe")
<:Exception.Assertion>
<Exception.HashBlock:>
DBG-OPTIONS<NoImage NoAddress NoFileLine NoFuncOffset NoDbgAddr>
ERROR #132
DBG-ADDR<ffffffffffffffff>("Wow.exe")
DBG-ADDR<00007ff63c2c8b8f>("Wow.exe")
DBG-ADDR<00007ff63c75de48>("Wow.exe")
DBG-ADDR<00007ff63bea1fa1>("Wow.exe")
DBG-ADDR<00007ff63bea55aa>("Wow.exe")
DBG-ADDR<00007ff63bea18bf>("Wow.exe")
DBG-OPTIONS<>
<:Exception.HashBlock>
<EstimatedTrace> No
<Jira.JiraProjectId> 11503
<Jira.JiraProjectKey> WOW10
<Exception.ProjectId> 10

------------------------------------------------------------------------------
<Version> 10.2.5.53262
<Exception.BuildNumber> 53262
<Exception.Branch> 10.2.5
<Exception.WowProject> Mainline
<Application> World of Warcraft
<ApplicationType> Client

----------------------------------------
    Lua Stack
----------------------------------------
[C]: in function 'SetAlpha'
Interface/AddOns/AlphaTest/Main.lua:7: in function <Interface/AddOns/AlphaTest/Main.lua:6>

<Version> 10.2.5.53262
<Config> Retail
Type: WoW
<Executable> Wow.exe
Executable UUID: D595A4C5-ECF7-4D07-836F-D38CA95D2D5F
<Wow.Platform> X64
<Exception.Platform> Win 11 (x86 64-bit)
User: (redacted)
Computer: (redacted)
Virtual Memory: 0.00 MB
Free Disk Space: 195.50 GB
Exe Built: Feb  7 2024 10:05:34
<InitFlags> 0000007F 00001FFF 00000400
App Up Time: 0 days, 0 hours, 6 minutes, 50 seconds
System Up Time: 1 days, 4 hours, 59 minutes, 47 seconds
<TimingMethod> QueryPerformanceCounter
Current Frame: 12088
Current Time: 104388384
Current Tick: 16
<SystemResumes> 0
<CharLogins> 2
Number of thread pool threads: 6/6/6 (High/Mid/Low)
<LauncherName> Battle.net.exe
<Locale.Text> enUS
<Locale.Audio> enUS
Session Time(hh:mm:ss): 00:06:28
<SessionTime.Grouping> 00:00:00 - 00:14:59
Time in World(hh:mm:ss): 00:05:08
<TimeInWorld.Grouping> 00:00:00 - 00:14:59
Total Time in World(hh:mm:ss): 00:05:55
<TotalTimeInWorld.Grouping> 00:00:00 - 00:14:59
Total lua memory: 158346KB
<Addons.Current> AlphaTest