https://bugs.winehq.org/show_bug.cgi?id=58059
Bug ID: 58059 Summary: File descriptor leaks in WINESERVER process on every thread creation Product: Wine-staging Version: 10.4 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 78311 --> https://bugs.winehq.org/attachment.cgi?id=78311 Demonstration of leaks
WineStaging 10.4 (WINESYNC=1):
Creating and then destroying a thread causes file descriptors opened by the WINESERVER process to leak
To reproduce the problem, run the FileDescriptorsLeakDemo.exe application from the attachment by command
WINEESYNC=1 wineconsole FileDescriptorsLeakDemo.exe
During the execution of the application, periodically monitor the statistics of open descriptors by running the wineserver_desc_stat.sh script from the attachment