Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 296b6b11d4428fcb4d15093a1fdf0cf04916c383
Ticket: 456892ffffffffffffffffffffffffffffffffff
Tcl_AppendStringsToObj -> abort
User & Date: hobbs on 2001-08-31 06:23:45
Changes

  1. icomment:
    Logged In: YES 
    user_id=72656
    
    This has something special to do with [list] in 8.4a4, but 
    also in relation to TclGetIntForIndex, because trying with 
    string index (now compiled in 8.4 as well), I also get the 
    crash:
    
    lorax [~/cvs/tcl/tcl8.4/unix/linuxd] 772 > tclsh8.4
    % proc tst0 {} { set r [list] ; string index a b }
    % tst0
    Tcl_AppendStringsToObj called with shared object
    Abort
    lorax [~/cvs/tcl/tcl8.4/unix/linuxd] 773 > tclsh8.4
    % proc tst0 {} { set r {} ; string index a b }
    % tst0
    bad index "b": must be integer or end?-integer?
    
    I suspect as well that the Tcl_ResetResult is a good thing 
    one way or the other, but I'm going to look for a possible 
    alternative to what may be causing it (related to [list]).
    
    
  2. login: "hobbs"
  3. mimetype: "text/plain"
  4. username: "hobbs"