Manifest of check-in
[711f947fb2]
- Fix [0e3f777ed5]: crash when an enterstep trace removed itself while another enterstep trace was set. The reverse scan of interpreter traces in TclCheckInterpTraces() searched for the predecessor of the deleted trace; now the previous trace is found before the trace is executed and is kept up to date by Tcl_DeleteTrace(). Test trace-34.7.
by
serhiy.storchaka on
2026-10-14 18:10:17.
B 57f802259663da4d2bdb9339b9261cd0ca14705f37b187456fdac58579e2fd7c
C Fix\s[0e3f777ed5]:\scrash\swhen\san\senterstep\strace\sremoved\sitself\swhile\sanother\senterstep\strace\swas\sset.\sThe\sreverse\sscan\sof\sinterpreter\straces\sin\sTclCheckInterpTraces()\ssearched\sfor\sthe\spredecessor\sof\sthe\sdeleted\strace;\snow\sthe\sprevious\strace\sis\sfound\sbefore\sthe\strace\sis\sexecuted\sand\sis\skept\sup\sto\sdate\sby\sTcl_DeleteTrace().\sTest\strace-34.7.
D 2026-10-14T18:10:17.526
F generic/tclTrace.c 1fb2da92181b4a58864b74a66b201824790659fa18ef004c1fc06db963ec4fb5
F tests/trace.test 88fb05a12c7ebde0a9cbedde23da4c7a2312418a15bfec6a5ae0e80b91aafa8c
P 57f802259663da4d2bdb9339b9261cd0ca14705f37b187456fdac58579e2fd7c
R f7d60f6d01565c7465166bbc9f8550a8
T *branch * interp-trace-delete-self
T *sym-interp-trace-delete-self *
T -sym-main *
T -sym-trunk *
U serhiy.storchaka
Z 26c42fab876cef9a7b3b901d68d326b5