Skip to content
Tcl Source Code Artifact [213df1f82e]
Login

Artifact [213df1f82e]

Artifact 213df1f82e52ed9253567752d1378e5d439472c8040cfd414fa92544fcb5de75:

Ticket change [213df1f82e] - Ticket [0e4d88b6502ac8fe|0e4d88b650] <i>A trace deletes the namespace when a command is replaced, producing &quot;called Tcl_CreateHashEntry on deleted table&quot;</i> status still Open with 3 other changes by dgp on 2017-12-06 17:48:40.
D 2017-12-06T17:48:40.942
J icomment dgp\tline\s3141\swants\scmdPtr->nsPtr\sto\snot\sbe\sfreed.\r\n\s\s\s*\spooryorick\sopens\score-8-6-branch...\r\ndgp\tthe\sNamespace\sstruct\sdoes\shave\sa\srefCount\sfield\r\n<pooryorick>\tline\s3141,\swhich\sfile?\r\ndgp\ttclBasic.c\r\n<pooryorick>\tIn\sTcl_DeleteCommandFromToken?\r\ndgp\theh,\syou've\salready\sfixed\sthis\son\s8.7\s?\s\r\n<pooryorick>\tIs\swas\sthinking\smaybe\sI\shad.\r\n<pooryorick>\tBut\snot\sin\sthat\sfunction...\r\n<pooryorick>\tSounds\slike\sit's\sjust\sabout\sfixed\shere.\r\ndgp\tnext\sthing\sis\sto\slook\sat\sthe\ssimilar\spatterns\r\n<pooryorick>\tIn\score-8-branch\sthere's\ssomething\ssimilar\sin\sTclReadeObjCommandInNs,\swhich\sI\smight\shave\sadded.\r\n<pooryorick>\tBut\sit's\sstill\sunguarded\sin\sTcl_DeleteCommandFromToken.\r\ndgp\tline\s1810\sis\ssimilar,\salso\sbroken,\sbut\snot\stested?\r\n<pooryorick>\t1810\sis\sempty\sin\smy\scheckout,\sbut\sit's\sin\sTcl_HideCommand\r\n<pooryorick>\tI\sdon't\ssee\sanything\sin\sthere\sthat\swould\sdecrement\sthe\snamespace\srefCount.\r\ndgp\twe\shave\sdelete\sand\srename\straces,\sbut\snot\shide\straces,\sI\sguess\r\ndgp\tNamespace\srefCounts\sare\snot\sused\sin\snearly\sas\smany\splaces\sas\sI\swould\shave\sguessed.\r\ndgp\tCertainly\snot\sby\severything\sthat\sstores\san\snsPtr.\r\ndgp\tOnly\sparent\snamespaces\sand\sResolvedNsName\sintreps\sappear\sto\suse\sit.
J login dgp
J mimetype text/plain
K 0e4d88b6502ac8fe0ccc912c2bd2ef4c16279837
U dgp
Z c5de4a0ccc91d972d96fc0603d30fd9d