Skip to content
Tcl Source Code Artifact [2678c921cf]
Login

Artifact [2678c921cf]

Artifact 2678c921cf3e100d6f599da4371edf9e8215a5445336ff5435c9fdfa00cdf6e0:

Ticket change [2678c921cf] - Ticket [e533296a92d89044|e533296a92] <i>SegFault on [info frame] on apply</i> status still Pending with 3 other changes by sebres on 2026-08-27 14:17:31.
D 2026-08-27T14:17:31.149
J icomment OK,\sfound\sand\sfixed\sit\sultimately:\sthis\sgoing\sto\snested\sinvocation\sof\slambda,\swhere\sby\sreturn\sfrom\schild\sto\sparent\scall,\sthe\sinfo\sof\slambda\sthat\sgot\soverwritten\swithin\schild\sstack\sgets\sbroken\s(or\sin\smy\sprevious\sfix\s-\sget\slost\sdue\sto\sreset).\sAmend\s[a7a8993cca8e49c9]\savoids\sthis\sreset\sof\slambda\sinfo\sin\sframes\sstack\sby\snested\sinvocations\s(reserves\sthis\sinfo\sas\slong\sas\sit\swill\sbe\sevaluated),\sso\sfill\sthis\sinfo\sand\sreset\sthe\sartificial\scommand\sonly\sonce\s(at\sfirst/parent\sinvocation);\stest\snow\sadjusted\sto\scover\sit\s(lambda\sshall\sbe\sin\sthe\slast\sframe-info\stoo).\r\nThis\smakes\sit\salso\sa\sbit\sfaster\sby\snested\sinvocations\sof\slambda.\r\n\r\nHowever\sI'd\sadmit\sthat\sfor\sperformance\sreasons,\sone\scould\srewrite\sthis\sto\sinitialize\sprocPtr->cmdPtr\sonly\sonce\sby\sfirst\sinvocation\s(as\slong\sas\sthe\slamda\sexists),\sbut\sthis\swould\sexpect\sanother\sclean-up\sand\sreferring\smechanism.<br/>\r\nAt\sleast\sit'd\sexplain\swhy\sinvocation\sof\slambdas\swere\salways\sfaster\sin\smy\sfork.
J login sebres
J mimetype text/x-fossil-wiki
K e533296a92d890449603ce54a5b1e2f04912e68a
U sebres
Z 49ed380df9af92e52abfec11c7ab84c2