Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 45cad3a72e2b124c4a18e4ee8a4905435984e7079e6579b22153975917199fa0
Ticket: 56ebd82953a58ca72c37bde1f86048da52f2b8ab
::tcl::tm::UnknownHandler allows stale module data to persist in safe interp
User & Date: kjnash on 2020-07-15 12:30:30
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    When ::tcl::tm::UnknownHandler searches for a module, it keeps the information it obtains about other modules, unless it already has information for the same module name and version.  It states:
    
        # There's already a provide script registered for
        # this version of this package.  Since all units of
        # code claiming to be the same version of the same
        # package ought to be identical, just stick with
        # the one we already have.
    
    However, this does not apply to Safe Base interpreters because the token-to-directory mapping may have changed.
    
    Fixed in branch safe-bugfixes-8-6 commit 8927bbee05.  New test safe-9.23 checks that the module path is updated.
    
  5. foundin changed to: "core-8-6-branch"
  6. is_private changed to: "0"
  7. login: "kjnash"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "a774b1f5653dc3360e29ea7d635a64e94c9f1dab"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "kjnash"
  14. subsystem changed to: "39. Package Manager"
  15. title changed to: "stale module data persists in safe interpreters"
  16. type changed to: "Bug"