Ticket Change Details
Not logged in
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: 33aa4f547299288394b93cf202d7481da90e2d5fada4cf73dd7b5a610cf963b9
Ticket: c6057948e5f884435ee35517008db0205f286a5e
tsv commands break thread access rules for Tcl values
User & Date: sebres 2018-04-03 08:56:04
Changes

  1. Change icomment to:

    > without any regard to whether the code is running in the same thread that created that Tcl_Obj.

    Why it is expected? The access to the objects in the tsv-storage is mutex-protected, and each set as well as the result of any tsv-call should always contain a safe duplication of the object (thus safe for any thread).

    BTW I cannot reproduce the segfault with your example.

  2. Change login to "sebres"
  3. Change mimetype to "text/plain"