Tcl package Thread source code

Ticket Change Details
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2018 Conference, Houston/TX, US, Oct 15-19
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Aug 20.
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. Change icomment to:

    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. Change login to "dgp"
  3. Change mimetype to "text/plain"