Skip to content
Tcl Source Code Artifact [575025a481]
Login

Artifact [575025a481]

Artifact 575025a48117af02b89fd5cd65bf5216e76d6e1f:

Ticket change [575025a481] - Ticket [1337229fffffffff|1337229fff] <i>crash on namespace delete with unset trace</i> status still Open with 5 other changes by msofer on 2005-10-26 16:38:09.
D 2005-10-26T16:38:09
J foundin obsolete:\s8.4.11
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\n(from\sclt)\nAlso...\sThe\sscript\sbelow\sdemonstrates\sa\sdifference\sbetween\nunset\straces\striggered\sby\s[namespace\sdelete]\scompared\sto\ndirect\sunsetting\sof\sthe\svariable.\nAccording\sto\sthe\sdocs\sthe\svariable\sbeing\sunset\sshould\sno\nlonger\sexist\sonce\sinside\sthe\strace\scommand\s-\sand\sthe\straces\nshould\shave\sbeen\sremoved,\sbut\sthis\sdoesn't\soccur\sin\sthe\n[namespace\sdelete]\sinstance.\n\n\sproc\sDestroy\s{vtraced\svidx\sop}\s{\n\sputs\s"trace\sinfo\s:\s[trace\sinfo\svariable\s$vtraced]"\n\sputs\s"info\sexists:\s[info\sexists\s$vtraced]"\n\s}\n\snamespace\seval\s::ref\s{set\svar1\sAAA}\n\strace\sadd\svariable\s::ref::var1\s{unset}\s[list\sDestroy]\n\n\snamespace\sdelete\s::ref\n\n\snamespace\seval\s::other\s{set\svar2\sBBB}\n\strace\sadd\svariable\s::other::var2\s{unset}\s[list\sDestroy]\n\n\sunset\s::other::var2\n\n\nOutput\son\sWindows\sTcl\s8.5a4:\ntrace\sinfo\s:\s{unset\sDestroy}\ninfo\sexists:\s1\ntrace\sinfo\s:\ninfo\sexists:\s0\n\nTcl8.4.7\sproduces\sthe\ssame\soutput.\sThis\sis\slikely\sthe\ssame\sbug.\n
J login msofer
J mimetype text/plain
J username msofer
K 1337229fffffffffffffffffffffffffffffffff
U msofer
Z c1d04913ef2da7cf4f083dfc34f60bab