Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ae3eb2bfd41506bb68e7de16cd6f4658dae9e068
Ticket: 1669489fffffffffffffffffffffffffffffffff
TclArraySet crash
User & Date: dgp on 2007-02-26 21:58:49
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    % array set a {}
    % set elements {1 2 3 4}
    1 2 3 4
    % trace add variable a write {string length $elements ;#}
    % array set a $elements
    Segmentation fault
    
    Same crash also happens with the HEAD.
    
    Problem is that TclArraySet
    doesn't preserve the elemPtrs
    it pulls from a ListObj, and
    keeps trying to access it
    after it's shimmered out of validity.
    
  4. foundin changed to: "obsolete: 8.4.15"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "07. Variables"
  11. title changed to: "TclArraySet crash"
  12. type changed to: "Bug"