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
http://bugs.winehq.org/show_bug.cgi?id=58059
--- Comment #1 from Zeb Figura z.figura12@gmail.com --- Does this happen without esync enabled?
http://bugs.winehq.org/show_bug.cgi?id=58059
--- Comment #2 from digitman digitman63@gmail.com --- There is no i_node(eventfd) leaks in WINESERVER with ESYNC=0
With ESYNC=1 the test application attached to the bug report hangs dead when the number of i_node(eventfd) in WINESERVER reaches a value close to the maximum possible.
If necessary I can provide the source code of my test application
http://bugs.winehq.org/show_bug.cgi?id=58059
Zeb Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|File descriptor leaks in |esync leaks an eventfd per |WINESERVER process on every |thread |thread creation |