Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 777383b69bfc45df87aa601db5e9d4a384388840
Ticket: 736426ffffffffffffffffffffffffffffffffff
memory leaks in tclThreadAlloc.c
User & Date: mistachkin on 2003-07-15 17:18:39
Changes

  1. icomment:
    Logged In: YES 
    user_id=113501
    
    I can now easily reproduce a crash in the latest Tcl/Tk 
    regarding this issue (limited number of TLS indexes per 
    process).
    
    The cause is that Tcl/Tk doesn't think that anybody else in 
    the process is going to be using TLS indexes, which is 
    definitely NOT the case.
    
    Tcl (especially with Tk) very very rapidly runs out of TLS 
    indexes for even trivial Tk scripts.
    
    I can write a simple C app that uses Tcl/Tk and allocates 
    about half of the available TLS indexes on NT4 to 
    demonstrate.
    
    
    
  2. login: "mistachkin"
  3. mimetype: "text/plain"
  4. username: "mistachkin"