https://bugs.winehq.org/show_bug.cgi?id=57989
Bug ID: 57989 Summary: Event type synchronization primitive leaked when calling kernel32.ResumeThread Product: Wine-staging Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: digitman63@gmail.com CC: leslie_alistair@hotmail.com, z.figura12@gmail.com Distribution: ---
Created attachment 78247 --> https://bugs.winehq.org/attachment.cgi?id=78247 A simple test demonstrating leakage of Event type synchronization primitive when calling kernel32.ResumeThread function
Each time the CreateThread function is called, which directly starts the thread, or the ResumeThread function of this thread, a synchronization primitive of type Event is created, which is not destroyed when the thread terminates and its handle is closed by calling CloseHandle.
Attached is an archive with a simple test demonstrating a primitive leak.
https://bugs.winehq.org/show_bug.cgi?id=57989
digitman digitman63@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |major
https://bugs.winehq.org/show_bug.cgi?id=57989
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Summary|Event type synchronization |wine-staging leaks an event |primitive leaked when |for every thread |calling | |kernel32.ResumeThread | Resolution|--- |FIXED Severity|major |trivial
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Fixed by 30f69aa45aa6eac59f193b5488227a1a67c9c256.
https://bugs.winehq.org/show_bug.cgi?id=57989
--- Comment #2 from digitman digitman63@gmail.com --- (In reply to Zeb Figura from comment #1)
Fixed by 30f69aa45aa6eac59f193b5488227a1a67c9c256.
Which Wine versions contain the corresponding bug fix ?
https://bugs.winehq.org/show_bug.cgi?id=57989
--- Comment #3 from digitman digitman63@gmail.com --- Or please give a direct link to the changes in this git revision
https://bugs.winehq.org/show_bug.cgi?id=57989
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |30f69aa45aa6eac59f193b54882 | |27a1a67c9c256
--- Comment #4 from Zeb Figura z.figura12@gmail.com --- https://gitlab.winehq.org/wine/wine-staging/-/commit/30f69aa45aa6eac59f193b5488227a1a67c9c256
It will be part of wine-staging 10.4.