Thread leak in shell extension (Windows 10)
From: Martin Glass <mab893_at_hotmail.com>
Date: Mon, 1 May 2017 11:08:01 -0700 (PDT)
It appears to me that there is a thread leak in the Explorer shell extension under Windows 10 (64-bit).
Version information:
I'm using the Windows 10 task manager (Details tab) to show the thread count for explorer.exe. Every time I right-click on a folder or file, the thread count increases by 2. Whether I cancel the context menu, or select an option (TortoiseSVN or otherwise), the thread count generally does not decrease, even after an extended period of time. After doing a lot of TortoiseSVN work, I have observed an explorer thread count of over 2600. This makes most other applications noticeably slower, especially in UI responsiveness.
In observing the explorer.exe process using Process Monitor (Sysinternals), the thread IDs shown on the ThreadCreate function calls never show a corresponding ThreadClose call. These same ThreadCreate function calls are immediately followed by calls (CreateFile) to read "C:\Program Files\TortoiseSVN\bin\dbghelp.dll", which is why it appears that the leaked threads are associated with TortoiseSVN.
Restarting explorer.exe appears to be the only workaround.
Thanks,
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.