Skip to content
Tcl Source Code History Of Ticket 6525391072
Login

History Of Ticket 6525391072

Artifacts Associated With Ticket 6525391072

  1. Ticket change [04984cf2a9] (rid 257758) by serhiy.storchaka on 2026-10-12 15:29:18:

    1. cmimetype initialized to: "text/x-fossil-wiki"
    2. comment initialized to:
      <code>TclObjTest_Init()</code> leaks its array of object variables (160 bytes) when
      Tcltest is initialized twice in an interpreter, as it is in every
      <code>testthread</code> thread (by the post-init <code>load {} Tcltest</code> and again
      by <code>NewTestThread()</code>). Found with valgrind. The per-interp array was
      introduced by the fix for [3386721fff].
      
      Proposed fix in branch [/timeline?r=tcltest-objtest-reinit-leak|tcltest-objtest-reinit-leak]:
      keep the existing array.
      
    3. foundin initialized to: "9.1.0"
    4. login: "serhiy.storchaka"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. severity initialized to: "Minor"
    8. status initialized to: "Open"
    9. submitter initialized to: "serhiy.storchaka"
    10. subsystem initialized to: "69. Other"
    11. title initialized to:
      TclObjTest_Init leaks when Tcltest is initialized twice in an interpreter
      
    12. type initialized to: "Bug"
  2. Ticket change [aa85956550] (rid 257759) by serhiy.storchaka on 2026-10-12 15:31:34:

    1. login: "serhiy.storchaka"
    2. subsystem changed to: "34. tcltest Package"
  3. Ticket change [983839ac0d] (rid 257890) by jan.nijtmans on 2026-10-13 12:07:32:

    1. assignee changed to: "jan.nijtmans"
    2. closedate changed to: "2461327.0052428357"
    3. closer changed to: "jan.nijtmans"
    4. comment changed to:
      <code>TclObjTest_Init()</code> leaks its array of object variables (160 bytes) when
      Tcltest is initialized twice in an interpreter, as it is in every
      <code>testthread</code> thread (by the post-init <code>load {} Tcltest</code> and again
      by <code>NewTestThread()</code>). Found with valgrind. The per-interp array was
      introduced by the fix for [3386721fff].
      
      Proposed fix in branch [/timeline?r=tcltest-objtest-reinit-leak|tcltest-objtest-reinit-leak]:
      keep the existing array.
      
    5. icomment:
      Fixed in [214777d5aab51db8|trunk], backported to core-9-0-branch and core-8-6-branch.
      
      Since this is a change in the test only, this ticket will not be mentioned in the release notes.
      
      Many thanks!
      
    6. login: "jan.nijtmans"
    7. mimetype: "text/x-fossil-wiki"
    8. resolution changed to: "Fixed"
    9. status changed to: "Closed"