Artifacts Associated With Ticket 5c7578d0f2958bfd
Ticket change [4115ba887c] (rid 146629) by chw on 2016-05-03 21:00:37:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Windows DLLs packaged in starpacks, kits, ZIP file systems are extracted to a temporary directory in $env(TEMP) with pattern TCLnnnnnnnn (where n are hex digits) before they can be loaded into the process address space. This is implemented in the platform specific part of Tcl_LoadFile(). However, the directory is not cleaned up on termination of the application, so over time these directories clutter up the TEMP storage. A proof of concept implementation which performs a cleanup on termination is implemented in two AndroWish check-ins, see http://www.androwish.org/index.html/info/8124bec2b006626e and http://www.androwish.org/index.html/info/02f57b011f15ee65 For discussion on comp.lang.tcl see http://comp.lang.tcl.narkive.com/mdJikuUi/tclkits-producing-temporary-directories
- foundin initialized to: "8.6"
- is_private initialized to: "0"
- login: "chw"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0b3aff16612e1e9f3b675963fa64e01bd1d89307"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "chw"
- subsystem initialized to: "40. Dynamic Loading"
- title initialized to: "Tclkits producing temporary directories on Windows"
- type initialized to: "Bug"
Add attachment "temp-dir-cleanup.patch" [54cdc7faa1] (rid 146630) by chw on 2016-05-03 21:09:38.
Ticket change [de041b02e1] (rid 258030) by serhiy.storchaka on 2026-10-14 15:36:10:
- icomment:
This is the same issue as [a8e4f76ce4], where the possible solutions (loading DLLs from memory, cleanup by a subprocess) and the problems with unloading DLLs at exit, as in the AndroWish patch, are discussed. The fix [35ac7f7ade] was only committed to the androwish branch.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
- icomment:
Ticket change [f7400805e2] (rid 259917) by serhiy.storchaka on 2026-10-22 17:19:25:
- closedate changed to: "2461328.150123079"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"