Skip to content
Tcl Source Code Artifact [44a1205ab4]
Login

Artifact [44a1205ab4]

Artifact 44a1205ab4d1deebbd046b6733d87bbbdc4973ad:

Ticket change [44a1205ab4] - Ticket [4dbdd9af1439d874|4dbdd9af14] <i>TclDeleteNamespaceVars leaks when unset trace revives var under deletion</i> status still Closed with 5 other changes by mr_calvin on 2016-09-07 21:10:33.
D 2016-09-07T21:10:33.030
J closedate 2457639.38232674
J closer mr_calvin
J icomment Thx\sDon\sfor\staking\scare\sof\sthis.\sI\scan\sconfirm\sthat\sthe\sleaks\sare\seffectively\splugged\sthis\sway\s(tested\swith\svalgrind\salso).\r\n\r\nOne\sfollow-up\squestion:\s\r\n\r\nTclDeleteNamespaceVars\sis\sfor\snamespaced\svars\sspecifically.\sProvided\sthat\san\sextension\suses\sTclInitVarHashTable\sto\sprovide\sfor\scustom\svar\stables\s(e.g.,\sfor\sobjects\swithout\snamespaces\sas\sin\sNSF/NX),\sTclDeleteVars\s(on\scleanup)\sdoes\snot\scome\swith\san\sequivalent,\snow\sfixed\slogic\sto\sdeal\swith\sreviving\sunset\straces.\s\r\n\r\nThe\sdoc\son\sTclDeleteVars\ssays\s"For\sthis\sfunction\sto\swork\scorrectly,\sit\smust\snot\sbe\spossible\sfor\sany\sof\sthe\svariables\sin\sthe\stable\sto\sbe\saccessed\sfrom\sTcl\scommands\s(e.g.\sfrom\strace\sfunctions)."\r\n\r\nMmmmh.\sSo\sfor\sextensions,\sone\sis\sleft\swith\sa\sleaking\sdelete\sprocedure\s(TclDeleteVars)?
J login mr_calvin
J mimetype text/plain
K 4dbdd9af1439d874381fd6fdb968bcb0d596f0bb
U mr_calvin
Z f9fac759df5e0df21bb3ff307f35e6f6