Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 636e8c0ee0c5a749a3fc744af7d9cde6722e681f
Ticket: 1589794fffffffffffffffffffffffffffffffff
Memory leaks with TCL_THREADS
User & Date: celine_thales on 2006-11-03 09:28:21
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Hello,
    
    I use tcl 8.3.4 on Win XP, and build with Visual C++ 6.0.
    In need to use Tcl with thread implementation, and I
    add TCL_THREADS compile option in settings of Tcl
    project and calling project. Then I saw a lot of memory
    leaks that appeared after call of Tcl_Finalize, at the
    end of application in debug. I don't use it in a
    console, so I use Tcl_Init, and Tcl_Finalize.
    
    I needed to correct a bug in Tcl_FinalizeNotifier so
    that it doesn't crash because pointer was NULL (Bug
    #217982).
    
    I added TclThread_Init just after Tcl_Init but don't
    know if it's necessary.
    
    I tried also with tcl 8.4.13 and this doesn't change
    anything for memory leaks.
    
    I tried to track leaks with TCL_MEM_DEBUG and call of
    Tcl_DumpActiveMemory without success.
    
    Is there anything special to do to be in multi
    threading after setting TCL_THREADS?
    
    Thank you for answering me because I begin to feel lost!
    
    Celine
    
    
    
  4. foundin changed to: "obsolete: 8.3.4"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "celine_thales"
  10. subsystem changed to: "49. Threading"
  11. title changed to: "Memory leaks with TCL_THREADS"
  12. type changed to: "Bug"