Skip to content
Tcl Source Code Artifact [3c8b76f444]
Login

Artifact [3c8b76f444]

Artifact 3c8b76f444e405257de33810039a6710239ef44b0e19776bd578abc6a7b75187:

Ticket change [3c8b76f444] - 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 jan.nijtmans on 2024-11-23 12:00:26.
D 2024-11-23T12:00:26.554
J icomment Ashok,\sI\sfully\sunderstand\syour\sreservations.\sHowever:\r\n\r\n>\sdepends\son\sundocumented\sWindows\r\n\r\nYes,\ssome\smacOS\scode\sdoes\sas\swell.\sIn\sthis\scase,\sit\sdepends\son\sthe\sWindows\sPE\sformat,\swhich\sdidn't\schange\sin\sa\slong\stime\sand\sis\snot\slikely\sto\schange\sin\sthe\sfuture.\sThe\sfancycode\simplementation\sis\salready\smore\sthan\s10\syears\sold,\sand\sit\sstill\sworks\swith\sWindows\s11.\sThat\stells\ssomething.\r\n\r\n>has\ssome\sserious\sunresolved\stickets\sand\sshortcomings\sin\scommon\ssituations\swhere\sthe\sDLL\sbeing\sloaded\suses\sSEH,\sthread\slocal\sstorage,\shas\smanifests\setc.\r\n\r\nSEH\swon't\swork\swith\sthe\sTcl\sC-API\sanyway.\sWe\scan\srequire\sTcl's\sown\sthread\slocal\sstorage\sto\sbe\sused.\sThe\spresence\sof\smanifests\sin\sthe\sdll\scan\sonly\sfail\sif\sthe\sdll\sis\sactually\strying\sto\sread\sthe\smanifest\scontent.\r\n\r\n>\sI\sdon't\sthink\sany\sof\sthese\sare\slikely\sto\sbe\saddressed\sas\sthe\ssoftware\sseems\sto\sbe\sabandonware.\r\n\r\nIf\sa\sbug\sis\sdiscovered,\swe\sdon't\sneed\sto\saddress\sit.\sThe\ssimple\sanswer\sis:\snot\ssupported.\sThere\sare\sbug-fixes\savailable\sin\sgit\sclones.\sIf\speople\ssubmit\sa\sbug-report\sabout\sit,\sthat's\sfine.\sIf\sa\scrash\shappens\sinside\sMemoryModule,\sit\smeans\ssome\ssituation\sis\snot\shandled.\sThe\sbug\scan\sbe\sworked\saround\sthen\sby\sletting\sOpenMemoryModule()\sreturn\sNULL,\sthen\sthe\sfallback\sof\scopying\sthe\sdll\sto\sthe\stemp\sdirectory\swill\stake\splace.\r\n\r\nConsidering\sall\sof\sthis,\sMemoryModule\sappears\sto\swork\swell\s(at\sleast\swith\sdde\sand\sregistry).\sIf\sthere\sare\sproblems,\sthere\sis\salways\sthe\sfallback\sof\sstatically\slinking\stoo.\sI\sdon't\ssee\smuch\srisk\sfor\sus.
J login jan.nijtmans
J mimetype text/x-fossil-wiki
K a8e4f76ce498ad648134e0b6867c359949055388
U jan.nijtmans
Z 493f6636b5542ab6751884c1f5d69f50