Skip to content
Tcl Source Code Artifact [bae5fe7204]
Login

Artifact [bae5fe7204]

Artifact bae5fe7204e73adf3e3ac63eead0cff9583c158ee3fe6c43d4ee8fc4fa7c66a4:

Ticket change [bae5fe7204] - Ticket [a8e4f76ce498ad64|a8e4f76ce4] <i>load library (dll) from zipfs-library causes a leak in temporary folder</i> status still Open with 3 other changes by apnadkarni on 2024-11-26 17:30:50.
D 2024-11-26T17:30:50.223
J icomment It\sis\sdifficult\sfor\sme\sto\saccept\sthe\spremise\sthat\sbecause\sMemoryModule\sworks\sfor\sone\sparticular\suse\scase,\sit\swill\swork\sin\sall\scases\sacross\sall\sversions\sof\sWindows.\sSure\sI\scould\sbuild\sa\sDLL\susing\sSEH\sand\sdemonstrate\sit\sloads\sfrom\smemory.\sThat\sdoes\snot\sgive\sme\sconfidence\sit\scan\shandle\sall\sexception\srecords.\sLikewise,\sa\sdeclspec(thread)\smay\swork\sfor\sa\snative\stype\sin\sa\ssingle\sDLL\sloaded\sin\sa\ssingle\sthread\sbut\swill\sit\swork\sfor\smultiple\sdeclspec(thread)\sfor\snon-native\stypes\sthat\shave\sconstructors\sacross\smultiple\sDLL's\sunder\sa\sheavy\sthread\sload?\r\n\r\nI'm\safraid\sI\sam\svery\sskeptical\sof\semulating\sthe\sWindows\sloader.\sA\sfew\sexperiments\sof\sspecific\scases\swill\snot\sconvince\sme\sMemoryModule\sgets\severything\sright\sand\sI'm\snot\sin\sfavour\sof\scode\sthat\sworks\s"most\sof\sthe\stime".\sPerhaps\sit's\smy\signorance\sof\sthe\sarea\sthat\smakes\sme\shesitant.\r\n\r\nIn\sany\scase,\sI've\sadded\sa\sbranch\sapn-bug-a8e4f76ce4\sthat\ssimply\sspawns\scmd\sto\sdelete\sthe\sdirectory\son\sprocess\sexit.\sLess\selegant\sbut\sfar\sless\srisky\simo.\r\n\r\nAs\san\saside,\smy\sTEMP\sdirectory\shas\s5000+\sdirectories\sat\sthe\stop\slevel\s*after*\sdeleting\sall\sTCL\sdirectories.\sClearly\sTcl\sdoes\snot\sneed\sto\sbe\ssingled\sout\sin\sthis\srespect.
J login apnadkarni
J mimetype text/x-markdown
K a8e4f76ce498ad648134e0b6867c359949055388
U apnadkarni
Z 98c7e1a0f9a571318a1708121a1275c8