Skip to content
Tcl Source Code Artifact [69b35d8cd4]
Login

Artifact [69b35d8cd4]

Artifact 69b35d8cd4d5dd19d66841a9ce22b5bcf0f7a7f04e1692928acbb20f02ff6e6d:

Ticket change [69b35d8cd4] - Ticket [3381371fffffffff|3381371fff] <i>possible memory leak? </i> status still Open with 3 other changes by serhiy.storchaka on 2026-10-12 15:23:29.
D 2026-10-12T15:23:29.697
J icomment On\sLinux\sI\scannot\sreproduce\sthis\swith\s8.6.17,\s9.0.3\sand\s9.1\sand\sThread\s3.0.4:\sthe\nmemory\sstays\sflat\sover\s100000\sthreads.\sOn\sWindows\seach\sjoinable\sthread\swhich\sexits\nbefore\sit\sis\sjoined\sleaks\sabout\s9\sKB:\s<code>TclSignalExitThread()</code>\screates\sthe\nmutex\sof\sthe\sjoin\srecord\sin\sthe\sexiting\sthread,\safter\sits\sallocator\scache\shas\sbeen\nfinalized,\sso\sa\snew\scache\sis\screated\sand\snever\sfreed.\n\nProposed\sfix\sin\sbranch\s[/timeline?r=win-join-mutex-leak|win-join-mutex-leak]:\screate\nthe\smutex\sin\s<code>TclRememberJoinableThread()</code>.
J login serhiy.storchaka
J mimetype text/x-fossil-wiki
K 3381371fffffffffffffffffffffffffffffffff
U serhiy.storchaka
Z 863b8c196a8f5fccbef15ca59a09cb3e