https://bugs.winehq.org/show_bug.cgi?id=53014
Bug ID: 53014 Summary: HICON leak in CopyImage causes TheBat! to crash after a while Product: Wine Version: 7.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: jswinebz@kanargh.org.uk Distribution: ---
So, I just updated from my locally patched wine to the current F35 version, which is 7.5 plus staging.
That means I lost my version of the patch on bug 52207 and gained the official version.
Unfortunately my original problem then reappeared. After about 30 minutes runtime The Bat! freezes up and cannot even repaint its windows.
If I disable its "Animate System Tray Icon" preference, then it runs stable indefinitely. (As it did under my version of the patch against 6.21.)
The debug trace output doesn't look entirely the same: I'm not seeing any clear indication of HBITMAP overflow, in fact those counts look stable and reasonable. But it definitely looks like *something* is still leaking within CopyImage, and eventually causing a complete breakdown of GDI.
(I'll continue to dig into this, just raising in case it's more obvious to someone else.)