Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e5a230ef3dc2ab073405ff372c5e8341775f03a6
Ticket: 735335ffffffffffffffffffffffffffffffffff
segfault in [unset]
User & Date: dgp on 2003-05-09 17:19:21
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This script segfaults in Tcl 8.4.0 and later:
    
    proc A { name } {
        upvar       $name var
        set var [list $name]
    }
    proc foo {script} {
        uplevel 1 $script
    }
    namespace eval test {
        foo {A name}
        unset name
    }
    
    
    Looks like something wrong with the new
    "varName" Tcl_ObjType.
    
    Key elements: upvar through an uplevel
    to a namespace eval context; potential
    shimmering/sharing of the $name value.
    
    
  4. foundin changed to: "obsolete: 8.4.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "dgp"
  9. subsystem changed to: "07. Variables"
  10. title changed to: "segfault in [unset]"
  11. type changed to: "Bug"