Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 30c3ea8636de3738b32f7d7af511295aadf953a9
Ticket: 2724403fffffffffffffffffffffffffffffffff
Delete NS with active coro -> leak
User & Date: venksi on 2009-04-01 03:41:23
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    This is on cvs-head as of 4:00 PM Mar. 31, 2009 PDT.  The first example
    aborts.  Changing the name of the coroutine from "::y::run" to "run"
    (as done in the sed command below) makes it pass.  (> is my shell prompt).
    
    > cat a.tcl
    puts [info patchlevel]
    set interp [interp create x]
    $interp eval {
        namespace eval ::y {}
        proc ::y::start {} {yield; puts hello}
    }
    $interp alias ::bgerror ::bgerror
    $interp eval [list coroutine ::y::run ::y::start]
    interp delete $interp
    > tclsh8.6 a.tcl
    8.6b1.1
    Argument location tracking table not empty
    Abort
    > sed -e s/::y::run/run/ < a.tcl > b.tcl
    > tclsh8.6 b.tcl
    8.6b1.1
    >
    
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  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: "venksi"
  10. subsystem changed to: "45. Parsing and Eval"
  11. title changed to: "Using namespace'd name causes coroutine to abort."
  12. type changed to: "Bug"