<i>Tcl8.5 + incrTcl3.4 [variable] crash</i> status still Open with 4 other changes
by
.
D 2012-09-06T06:19:51
J icomment IIRC,\sthe\s8.5\sseries\sassumes\sin\sa\sfew\skey\sspots\sthat\sall\svariables\sare\seither\sa\sVarInHash\sor\sa\smember\sof\sthe\sLVT.\sIn\sparticular,\sit\sassumes\sthat\sTclObjLookupVarEx(…,TCL_NAMESPACE_ONLY,…)\salways\sreturns\sa\sVarInHash\s(or\sNULL,\sof\scourse).\sIt\ssounds\slike\sItcl\sis\sgenerating\sthem\sin\sanother\sway.\sI\sguess\swe\sought\sto\scheck\sif\sthe\sVAR_IN_HASHTABLE\sflag\sis\sset\son\sthe\sotherPtr\s(i.e.,\suse\sTclIsVarInHash(otherPtr)\sas\sthe\sguard).\n\nOne\squestion\sthough:\sshould\sthat\sbe\scombined\sinto\sthe\sguard\swithin\sTclSetVarNamespaceVar?\sOr\sshould\sit\sbe\sexposed\sin\sthe\sINST_VARIABLE\scode?\sIf\sthe\slatter,\sI\sthink\sTclVariableObjCmd\shas\sthe\sidentical\sproblem.\s(It\sshould\sbe\stestable\sby\sinvoking\s[variable\sbite]\slike\s[set\sv\svariable;$v\sbite],\sso\sas\sto\sdefeat\scompilation.)\n
J login dkf
J mimetype text/plain
J username dkf
K 3564735fffffffffffffffffffffffffffffffff
U dkf
Z e6c895a97c9019420fe51cba710b595d