Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cf60345f289f6a6b7874c8418bc6904eedf57b4b
Ticket: 1909647fffffffffffffffffffffffffffffffff
TclStackFree: incorrect freePtr. Call out of sequence?
User & Date: msofer on 2008-03-11 19:48:22
Changes

  1. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    This definitely looks like a threading problem: wrong timing within the same thread will cause TclStackFree to bomb reliably.
    
    First let us try to reduce the problem a bit:
    
    (1) tbcload should have nothing to do with this; can you confirm by using the script sources instead of the precompiled version? I do not know if you have them available or not, it might be 3rd party code
    
    (2) You are using threads: script or C api? If C: are you respecting Tcl's threading model, "no calls to an interp from a different thread"? 
    
    (3) Can you reduce the problem to some smallish demo that we can study?
    
    
  2. login: "msofer"
  3. mimetype: "text/plain"
  4. username: "msofer"