Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d1f5cb614e0dae201e1ee8afdca568355d4f34452c57020c873dfef67de72035
Ticket: b24becc2ab302f95e395d9dc2586d421969eee18
Crash on indexing into abstract lists
User & Date: apnadkarni on 2026-10-25 04:14:24
Changes

  1. 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.
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"