Skip to content
Tcl Source Code Artifact [1cf863b455]
Login

Artifact [1cf863b455]

Artifact 1cf863b45508acb040941e5f3a1a51c34a368eab0b4169ec3cd0c2eac34f0f42:

Ticket change [1cf863b455] - Closed ticket [1716730fffffffff|1716730fff]: <i>alleged bug claimed in TraceVar.3</i> plus 8 other changes by dgp on 2019-05-10 14:03:59.
D 2019-05-10T14:03:59.107
J closedate 2458614.08610078
J closer dgp
J comment Near\sthe\send\sof\sTraceVar.3,\swe\ssee:\r\n\r\nBUGS\r\n\s\sTcl\sdoesn’t\sdo\sany\serror\schecking\sto\sprevent\r\n\s\strace\sprocedures\sfrom\smis-using\sthe\sinterpreter\r\n\s\sduring\straces\swith\sTCL_INTERP_DESTROYED\sset.\r\n\r\nIt\swould\sbe\sa\sfairly\ssimple\smatter\sfor\r\nTclCallVarTraces\sto\spass\sin\sa\svalue\sof\r\n(interp\s==\sNULL)\sin\sexactly\sthose\scases\r\nwhen\sit\sis\ssetting\sthe\sTCL_INTERP_DESTROYED\r\nflag.\s\sA\sTcl_TraceVarProc\scertainly\scan't\r\nabuse\san\sinterp\sit\snever\sreceives\sa\spointer\r\nfor.\r\n\r\nI\ssuppose\sthere's\stoo\smany\sexisting\r\nTcl_TraceVarProcs\sthat\simplicitly\sassume\r\nthey\sreceive\sa\snon-NULL\sinterp\sargument\r\nto\sdo\sanything\slike\sthis\sbefore\sTcl\s9.\r\n\r\nOh\swell,\sat\sleast\sit's\srecorded.
J icomment \r\nA\snull\sinterp\svalue\sis\snot\ssuitable.\r\n\r\nA\svariable\sis\sbeing\straced\sand\swithout\san\sinterp,\sthe\r\ncontext\sto\sfind\sthat\svariable\sagain\sis\sincomplete.\r\n\r\nAlthough\sthe\sTCL_INTERP_DESTROYED\ssignal\sthat\sinterp\r\ndestruction\shas\sbegun\sis\sa\sgood\swarning\snot\sto\s\r\nTcl_Eval()\sanything\sin\sit,\san\sinterpreter\sbeing\sdestroyed\r\ncan\sstill\sdo\ssome\sthings,\sand\saccess\sto\sdo\sthose\sthings\r\nis\suseful.\r\n\r\nWhen\sTIP\s543\sis\saccepted,\sthe\sdocumentation\sin\squestion\r\nwill\sgo\saway.
J login dgp
J mimetype text/plain
J resolution Rejected
J severity Minor
J status Closed
K 1716730fffffffffffffffffffffffffffffffff
U dgp
Z 7a92a0448f9e8057723fdad0ddb048e1