Skip to content
Tcl Source Code Artifact [2d4cf2f362]
Login

Artifact [2d4cf2f362]

Artifact 2d4cf2f3622994b52236c4d53be6197d9edd4d2f:

Ticket change [2d4cf2f362] - Ticket [2055782fffffffff|2055782fff] <i>Crash in [namespace inscope]</i> status still Closed with 4 other changes by lars_h on 2008-08-17 23:48:19.
D 2008-08-17T23:48:19
J icomment Logged\sIn:\sYES\s\nuser_id=938835\nOriginator:\sYES\n\nPasting\sin\smsofer's\s2008-08-17\scomment\sin\s[Bug\s1447328],\ssince\s\nit\sis\sa\sbit\sclearer\sthan\swhat\she\swrote\shere\s(crash\sreported\shere\sis\snot\s\na\ssymptom\sof\swhat\sis\sreported\sin\sthat\sbug,\sbut\sa\ssymptom\sof\sa\snew\s\nbug\sintroduced\sby\sthe\sfix\sto\sthe\sold\sone).\n\n(Begin\squote)\nOops\s...this\sturned\sTcl_ConcatObj\sfrom\sreader\sto\shairy\smonster,\ssee\s[Bug\n2055782].\sThis\sis\sagainst\sthe\sdocumented\sbehaviour.\sThis\sonly\shappens\swhen\nconcat'ing\sone\sor\smore\sempty\sobjs\swith\sa\ssingle\slist.\n\nAdditionally\sTcl_ConcatObj()\swould\scorrupt\sits\sinput\swhen:\sall\sthings\sto\nbe\sconcat'ed\swere\seither\sempties\sor\scanonical\slists,\sand\sat\sleast\s2\swere\nnot\sempty,\sand\sthe\sfirst\sone\swas\sunshared.\sIn\sthat\scase\sit\swould\sadd\sthe\nnew\selements\sin\splace,\shence\smodifying\sits\sinput.\sTHIS\sIS\sVERY\sBAD!\n\nFixed\snow\sin\s8-5-branch\sand\sHEAD.\n(End\squote.)\n\nThe\sremark\sabout\sempties\sor\scanonical\slists\ssuggests\sthat\sa\swork-around\s\nis\sto\suse\sa\snoncanonical\sempty\slist\sas\sscript\sargument,\se.g.\n\nnamespace\sinscope\stcl\s"\s"\sHistInfo\n\nTesting\sconfirms\sthat\sit\savoids\sthe\scrash.\sUnfortunately\sit\salso\sleads\sto\s\nshimmering\s(of\sall\sarguments),\sso\sit's\sprobably\snot\sworth\sbothering\sabout;\nshould\sanyway\suse\sensembles\sin\s8.5.\n
J login lars_h
J mimetype text/plain
J username lars_h
K 2055782fffffffffffffffffffffffffffffffff
U lars_h
Z 29ce434e269a7ba656114e05219cc963