Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bba6e5fc9440566e2c0cd17e9b32903ed13ff485
Ticket: 0e4d88b6502ac8fe0ccc912c2bd2ef4c16279837
A trace deletes the namespace when a command is replaced, producing "called Tcl_CreateHashEntry on deleted table"
User & Date: aspect on 2017-09-01 09:57:02
Changes

  1. icomment:
    following this with MEM_DEBUG, nsPtr is being invalidated at:
    
    https://core.tcl.tk/tcl/artifact/45e6cf14bb353bfa?ln=2306
    
    looking at Tcl_DeleteNamespace, I think the fix will require use of nsPtr->refCount and understand the NS_DEAD flag.
    
  2. login: "aspect"
  3. mimetype: "text/plain"