Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 340767b6cd2ee076c19c8c91e8f446bf20a4f4bd
Ticket: 1839297fffffffffffffffffffffffffffffffff
problem with threads in tclExecute.c ...
User & Date: msofer on 2007-11-27 17:15:50
Changes

  1. closedate changed to: "2007-11-27T10:15:50"
  2. closer changed to: "msofer"
  3. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    It certainly looks like pilot error from here - specifically, Tcl_Objs crossing thread boundaries. This would certainly cause this kind of problems on obj deletion, ie, right where you are seeing them.
    
    The general rule is that a Tcl interpreter runs in a single thread. Your description is not sufficient to ascertain that this is satisfied here, and the crash raises suspicions that it is not. 
    
    Are your thread accesses organized as in http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965, for instance? 
    
    Please insure that your code is not violating these basic Tcl requirements (interps and Tcl_Objs confined to a single thread).
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Pending"
  8. username: "msofer"