Skip to content
Tcl Source Code Artifact [7ad944cb4a]
Login

Artifact [7ad944cb4a]

Artifact 7ad944cb4add14e64adfc08e9787bf9f2f3f34c2:

Ticket change [7ad944cb4a] - Ticket [4955f5d8a4dce006|4955f5d8a4] <i>tailcall splicing spot vs. raw TclInvokeObjectCommand</i> status still Open with 3 other changes by ferrieux on 2014-05-17 18:17:22.
D 2014-05-17T18:17:22.562
J icomment Starting\sto\ssee\sthe\slight.\r\n\r\nSingle-stepping\sin\sTclSetTailCall\sin\sthe\soffending\scontext,\sshows\sthat\supon\sentry,\sTOPCB=NULL.\sThough\sI'm\sfar\sfrom\sfamiliar\senough\swith\sthe\sNRE\sto\seven\sstart\sappreciating\show\swrong\sthat\sis...\sI\scan\suse\sa\sbrute-force\sgrep,\swhich\sshows\sthat\sthe\sonly\sspots\swhere\sTOPCB\sis\sset\sare\sTclNRAddCallback\sand\sTclNRRunCallbacks.\r\n\r\nSo\sit\sseems\sthat\sLablTk's\scapital\soffense\swas\sto\ssomehow\scall\sTcl's\sevaluator\s*without*\sthe\sNRE\s(which\sshould\sbe\sexpected\sfrom\scode\spredating\sthe\sNRE).\r\n\r\nIn\shindsight,\sit\salso\sseems\snormal\sfor\s[tailcall]\sto\sfail\swhen\sno\strampoline\sis\sbelow.\sNow\swhat\s?\r\n\r\n\s(1)\sis\sthere\sa\svanilla-tclsh\sway\sof\sreproducing\sthis\ssituation\sof\sa\s"non-NRE-eval"\sof\sa\sproc\swith\sa\stail\scall\s?\r\n\r\n\s(2)\sinstead\sof\spanicking,\swhat\sabout\sraising\san\serror\s?\r\n\r\n\s(3)\sknowing\sthis,\sthose\sluxurious\stailcalls\sin\sTk\sshould\sbe\sremoved,\sunless\sthere's\sa\sstronger\shidden\sreason\sthan\s"cleaner\serror\sstacks".\r\n\r\nReactions\s?
J login ferrieux
J mimetype text/plain
K 4955f5d8a4dce006e063f924bc9709f7850ecb6a
U ferrieux
Z 63ca6f3567e607863d9addf733b05b27