Artifacts Associated With Ticket b24becc2ab
Ticket change [19f6091a8b] (rid 260407) by apnadkarni on 2026-10-25 03:16:59:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
``` % package req Tcl 9.0.4 % set x [lseq 1]; lindex $x $x -> NULL pointer access crash ```
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Severe"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "Crash on indexing into abstract lists"
- type initialized to: "Bug"
Ticket change [d1f5cb614e] (rid 260409) by apnadkarni on 2026-10-25 04:14:24:
- icomment:
``` % set x [lseq 1]; [subst lindex] $x $x 0 ``` so crash only occurs on compiled path where the code does not guard against shimmering. A general pattern that the whole code base needs to be examined for is ``` if (TclObjTypeHasProc(objPtr, XXX)) { ...some code... TclObjTypeXXX(objPtr...) } ``` where "some code" shimmers objPtr so the TclObjTypeXXX call is no longer valid. - login: "apnadkarni"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [a71fd2488a] (rid 260416) by apnadkarni on 2026-10-25 05:59:59:
- icomment:
Proposed fix is in place in [b24becc2ab] as part of the bug-0c82728f85 branch that is dealing with various shimmering issues. Leaving open as similar occurrences need to be hunted down.
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- icomment:
Ticket change [95acd80b96] (rid 260417) by apnadkarni on 2026-10-25 06:02:29:
- icomment:
As an aside, it may be worth optimizing the Tcl_GetIndexFromObj/Tcl_GetNumberFromObj/ParseNumber call tree to not shimmer single element lists but instead parse the first element instead.
- login: "apnadkarni"
- mimetype: "text/plain"
- icomment:
Ticket change [0000c5d29e] (rid 260658) by apnadkarni on 2026-10-27 10:16:07:
- icomment:
Another shimmering crash for the record. This one happens when the abstract list does not define the (optional) `indexProc` method. ``` % set l [lstring -not INDEX 0] 0 % lindex $l $l -> crash ```
- login: "apnadkarni"
- mimetype: "text/x-markdown"
- icomment:
Ticket change [9babffd7b3] (rid 260789) by apnadkarni on 2026-10-29 11:56:44:
- closedate changed to: "2461342.997742882"
- closer changed to: "apnadkarni"
- icomment:
Fixed for 9.1 in [54a03368ce] and 9.0 in [d27dbcd1b3].
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"