Overview
| Artifact ID: | 6687e5a169aedaf7ed2177a335c02a1084e77ab40730c298f9b1ae9d8537524c |
|---|---|
| Ticket: | a8e4f76ce498ad648134e0b6867c359949055388
load library (dll) from zipfs-library causes a leak in temporary folder |
| User & Date: | sebres on 2019-04-11 11:14:29 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
8.7 seems to "leak" loaded from zipfs libraries in temp-directory (at least on windows), e. g. each invocation of shell like below creates a new temp-directory with "tclreg13.dll" inside and which is still remained after exit. <code><pre style="padding-left:10pt"> echo package require registry; puts [glob -directory $env(TEMP) TCL*] | tclsh </pre></code> Is it missing an exit-handler (to delete this)? Could the library not be loaded directly from memory? (I know several ways to do this on win/linux). BTW. It causes several warnings in tcltest-suite like <code>Warning: files left behind: ... cmdMZ.test: TCL00002f50</code><br/> So test like this produces a warning: <code><pre style="padding-left:10pt"> tcltest -singleproc 1 -file cmdMZ.test </pre></code> And setting of a TCL_LIBRARY to local library-directory (like <code>`TCL_LIBRARY="$tcl/library"`</code>) would of course prevent this.
- foundin changed to: ">=8.7"
- is_private changed to: "0"
- login: "sebres"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "sebres"
- subsystem changed to: "38. Init - Library - Autoload"
- title changed to:
load library (dll) from zipfs-library causes a leak in temporary folder
- type changed to: "Bug"