Skip to content
Tcl Source Code Artifact [32f66d7f6b]
Login

Artifact [32f66d7f6b]

Artifact 32f66d7f6b259380cb199cd9c00537052b799ca1:

Ticket change [32f66d7f6b] - Ticket [2724403fffffffff|2724403fff] <i>Using namespace&#39;d name causes coroutine to abort.</i> status still Open with 4 other changes by msofer on 2009-05-02 21:43:38.
D 2009-05-02T21:43:38
J icomment Confirmed\sleak\son\snamespace\sdeletion:\srun\sthe\sfollowing\sscript\sand\smonitor\sthe\smem\sgrowth\sunder\stop!\n\n\swhile\s1\s{\n\s\s\s\s\sset\sns\s::y[incr\sq]\n\s\s\s\s\snamespace\seval\s$ns\s{}\n\s\s\s\s\sproc\s${ns}::start\s{}\s{yield;\sputs\shello}\n\s\s\s\s\scoroutine\s${ns}::run\s${ns}::start\n\s\s\s\s\snamespace\sdelete\s$ns\n\s\s\s\s\safter\s1\n\s}\n\nNote\sthat\sboth\s[run]\sand\s[start]\sneed\sto\sbe\sin\sthe\ssame\snamespace\sfor\sthe\sbug\sto\soccur:\s\n\s\s*\s[start]\shas\sa\sCallFrame\sthat\skeeps\s$ns\sactive:\s$ns\sis\sset\sto\sbe\storn\sdown\swhen\s[start]\sreturns\n\s\s*\s[start]\swill\sbe\sforced\sto\sreturn\swhen\sthe\scoro\sis\swound\sdown,\swhich\swill\sbe\striggered\sby\s[run]'s\sdeletion\n\s\s*\s[run]\swill\sbe\sdeleted\swhen\s$ns\sis\storn\sdown\n\nThat\sis:\s$ns\swill\sbe\storn\sdown\swhen\s[run]\sis\sdeleted,\sand\s[run]\swill\sbe\sdeleted\swhen\s$ns\sis\storn\sdown:\sa\ssort\sof\sdeadlock.\n
J login msofer
J mimetype text/plain
J username msofer
K 2724403fffffffffffffffffffffffffffffffff
U msofer
Z ec64960917bbd8e1f2478b0fbf6e8eb8