Tcl package Thread source code

Ticket Change Details
Login
Overview

Artifact ID: e8d8729d5419bcf31d8f2be0cb237822b19a55899f56fde0ae4b1d8a86ddb1c5
Ticket: c6057948e5f884435ee35517008db0205f286a5e
tsv commands break thread access rules for Tcl values
User & Date: dgp 2018-03-29 23:08:52
Changes

  1. icomment:
    
    The root of the problem is that the command procedures of
    many tsv commands contain
    
        Tcl_DecrRefCount(svObj->tclObj);
    
    without any regard to whether the code is running in the
    same thread that created that Tcl_Obj.
    
    Near as I can tell this entire sub-package is built on a misuse of the core.
    
  2. login: "dgp"
  3. mimetype: "text/plain"