Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9b3bb72b839c382c48e7b0e07f57a7a12328e3b8
Ticket: 1354540fffffffffffffffffffffffffffffffff
visibility of dying NS in path
User & Date: msofer on 2005-11-11 22:18:00
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    What should be the correct result of test namespace-51.13?
    
    The test file suggests 
      2 {} {2 3 2 1}
    or  
      2 {} {2 3 1 1}
    
    HEAD as patched today returns
      2 {unknown namespace "::test_ns_3" in namespace
    delete command} {2 3 2 3 1}
    (which is almost certainly wrong).
    
    What is the correct value???
    
    Reasoning (namespace names abbreviated)
       - the first [foo] sets ::result to 2
       - deleting ::ns2 causes a call to ::ns3::foo
           * lappends 3 to ::result (now {2 3}
           * deletes ::ns3
           * calls ::ns4::bar 
    
    At this point, thing get nasty:
       - namespace ::ns2 is in the process of dying (a
    delete trace is running): should it be found as part of
    the path?
       - command ::ns2::foo is in the process of being
    deleted (delete trace is running): even if ::ns2 is in
    the path, should this command be found?
      - ::ns3 is in the process of dying, but not yet dead
    as a reference to it remains in the CallFrame stack
    (marked NS_DYING), as ::ns3::foo is still running.
    Should it be found in the path?
    
    The suggestions in the test are: find ::ns2, or find
    ::ns1. Not sure what HEAD is doing ...
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "msofer"
  9. subsystem changed to: "21. [namespace]"
  10. title changed to: "visibility of dying NS in path"
  11. type changed to: "Bug"