Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f01b04dae58b553d96482676b7c8c1e5cc397c7f
Ticket: 3592747fffffffffffffffffffffffffffffffff
(tailcall|yieldto) failed to find the proper namespace Abort
User & Date: coldstore on 2012-12-05 08:40:10
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Under some circumstances a coroutine can be invoked via ::yieldto while the namespace in which it resides is dying (nsPtr->flags&NS_DYING)
    
    This may occur, and is occuring, for example, when a TclOO object is being destroyed, and a coroutine within it is invoked by an event.
    
    The call to TclGetNamespaceFromObj() at tclBasic.c:8532 will indicate an error, because the current frame's namespace is not considered to match itself in the case that it is dying.
    
    I am unsure what the purpose of the test is, or under what circumstances the two namespaces might differ, but this abort occurs as a result of script evaluation, and hence should be considered a bug.
    
    
  4. foundin changed to: "None"
  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: "coldstore"
  10. subsystem changed to: "None"
  11. title changed to: "yieldto failed to find the proper namespace Abort"
  12. type changed to: "Bug"