Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0386ec4148de4fe5bf34e5fb065dcbced01ec60c46b81c06124360842a04715b
Ticket: 103abf181eb01366c018e047d525d0d042c8c5c5
regression since 9.0.4 brings leaks and hangs to bundled Itcl 4.3.8
User & Date: serhiy.storchaka on 2026-11-16 23:30:24
Changes

  1. icomment:
    The reported leaks have three sources:
    <ul>
    <li>Not real leaks: queued window events of the deleted child interpreter, freed once events are processed. Fix: <tt>update</tt> after <tt>interp delete i</tt> in helpers.tcl.</li>
    <li>Itcl: several Tcl_Objs and argument arrays not freed in widgetadaptor and widget code (itclObject.c, itclParse.c, itclBuiltin.c).</li>
    <li>Tk: every Tk_Init adds another thread exit handler, 24 bytes per interpreter that loads Tk; see Tk ticket [https://core.tcl-lang.org/tk/tktview/703a7fdda7|703a7fdda7].</li>
    </ul>
    With fixes for the first two, all 2373 Itcl tests pass with Tk, and the leak check reports only noise.
    
  2. login: "serhiy.storchaka"
  3. mimetype: "text/x-fossil-wiki"