Skip to content
Tcl Source Code History Of Ticket 3234175
Login

History Of Ticket 3234175

Artifacts Associated With Ticket 3234175

  1. Ticket change [6a4990ede1] (rid 128122) by hgo on 2011-03-22 07:48:28:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In: proc auto_load_index, the code:
           eval [read $f]
      leaks memory at each interpreter delete
      
      This replacement test code:
           set ::dir $dir
           namespace eval :: source [file join $dir tclIndex]
           unset ::dir
      does not leak
      
      
      Examples:
      proc leakTest1 {} {set i [interp create]; $i eval set auto_noload true; catch {$i eval xx}; interp delete $i}; # No Leak
      proc leakTest2 {} {set i [interp create]; catch {$i eval xx}; interp delete $i}; # Leak!!!!!
      proc leakTest3 {} {set i [interp create]; $i eval history; interp delete $i}; # Leak!!!!!
      
      
    4. foundin initialized to: "obsolete: 8.5.5"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "hgo"
    10. subsystem initialized to: "20. [interp]"
    11. title initialized to: "auto_index leaks memory at interp delete"
    12. type initialized to: "Bug"
  2. Ticket change [e5b90716b3] (rid 104178) by hgo on 2011-03-22 14:50:20:

    1. icomment:
      Runs on home build imbedded Tcl on HP-UX PA-RISC (64 bits)
      
      
    2. login: "hgo"
    3. mimetype: "text/plain"
    4. username: "hgo"
  3. Ticket change [531bad76dd] (rid 126426) by hgo on 2011-03-22 14:54:01:

    1. subsystem changed to: "38. Init - Library - Autoload"
  4. Ticket change [39a0a2638f] (rid 112426) by dgp on 2011-03-22 19:15:41:

    1. icomment:
      Thanks for the report.  What is the evidence of the leak?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [3eb542cb6d] (rid 121319) by dgp on 2011-03-22 19:15:42:

    1. assignee changed to: "dgp"
  6. Ticket change [3b4512851f] (rid 112707) by hgo on 2011-03-22 20:03:29:

    1. icomment:
      To test the leak run (in Tcl interp):
      
      while 1 leakTest3 
      
      and observe the process size. This will be constantly increasing.
      
      Changing the "eval [read $f]" with the workaround, no process size increase is seen.
      
      
    2. login: "hgo"
    3. mimetype: "text/plain"
    4. username: "hgo"
  7. Ticket change [f80e005e7b] (rid 91476) by dgp on 2011-03-22 20:10:46:

    1. icomment:
      Confirmed leakTest2 in Tcl 8.5.5.
      No longer leaking in Tcl 8.5.9.
      Upgrade.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [97d60f87e5] (rid 110504) by hgo on 2011-03-22 20:26:26:

    1. icomment:
      Will upgrade and confirm. 
      Thanks :-)
      
      
    2. login: "hgo"
    3. mimetype: "text/plain"
    4. username: "hgo"
  9. Ticket change [f1600311da] (rid 109355) by dgp on 2011-03-22 20:58:41:

    1. icomment:
      
      Leaks were first fixed in release 8.5.8,
      though not reported in the Tracker.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [603f57272f] (rid 115957) by dgp on 2011-03-22 20:58:42:

    1. closedate changed to: "2011-03-22T13:58:42"
    2. closer changed to: "dgp"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Out of Date"
    7. status changed to: "Closed"
    8. username: "dgp"