<i>SegFault on [info frame] on apply</i> status still Pending with 3 other changes
by
.
D 2026-08-27T10:23:36.683
J icomment I\sthink\ssetting\s`hPtr\s=\sNULL`\sbefore\sfreeing\smemory\sis\sa\sdirty\sworkaround,\sbecause\sit'd\simply\suse\safter\sfree\s(worse\senough),\sas\swell\sas\sthat\sthe\smemory\sbehind\s`hPtr`\sremains\sunchanged.\sIt\sis\sbad\sidea.\r\n\r\nAs\sfor\sAshok's\sanalyze,\sthe\smentioned\soverwrite\slooks\slike\san\safter\seffect\sto\sme\s-the\scmd\spointer\sused\sin\sTcl_ApplyObjCmd\sfor\sprocPtr\sis\sreserved\sin\sprogram\sstack\sand\swithout\sthe\sreset\s(leaving\sTcl_ApplyObjCmd)\sa\susage\safter\sfree\sis\spossible\sthere\stoo.\sBut\sas\sI\ssaid\sbefore,\sI\salso\sthink\sthat\sthis\swould\srequire\sfurther\sinvestigation.\sUnfortunately\sI\scannot\sbackport\scorrect\sfix,\sbecause\smy\sTEBC\suses\scompletely\sdifferent\scmd-location\sapproach\s(without\sscriptCLLocPtr\sand\sco)\s-\sthe\sway\show\sit\sgets\s"compiled"\sis\ssimply\sdifferent.
J login sebres
J mimetype text/x-markdown
K e533296a92d890449603ce54a5b1e2f04912e68a
U sebres
Z 74b8b49ba418f09689efb72a13240043