Skip to content
Tcl Source Code History Of Ticket 3357771fffffffff
Login

History Of Ticket 3357771fffffffff

Artifacts Associated With Ticket 3357771fffffffff

  1. Ticket change [f0bdf9e57a] (rid 109246) by dgp on 2011-07-07 16:03:30:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      With a --enable-symbols=all build of the Tcl trunk...
      
      ==== compile-12.1 testing literal leak on interp delete FAILED
      ==== Contents of test case:
      
          set end [getbytes]
          for {set i 0} {$i < 5} {incr i} {
              interp create foo
              foo eval {
                  namespace eval bar {}
              }
              interp delete foo
              set tmp $end
              set end [getbytes]
          }
          set leakedBytes [expr {$end - $tmp}]
      
      ---- Result was:
      344
      ---- Result should have been (exact matching):
      0
      ==== compile-12.1 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to: "--enable-symbols=all mem leak"
    12. type initialized to: "Bug"
  2. Ticket change [5c6b811278] (rid 115295) by dgp on 2011-07-07 23:09:31:

    1. icomment:
      
      Also:
      
      ==== oo-call-1.18 object call introspection - memory leaks FAILED
      ==== Contents of test case:
      
          leaktest {
              info object call oo::object destroy
          }
      
      ---- Result was:
      414
      ---- Result should have been (exact matching):
      0
      ==== oo-call-1.18 FAILED
      
      ==== oo-call-2.13 class call introspection - memory leaks FAILED
      ==== Contents of test case:
      
          leaktest {
              info class call oo::class destroy
          }
      
      ---- Result was:
      414
      ---- Result should have been (exact matching):
      0
      ==== oo-call-2.13 FAILED
      
      
      
      ==== oo-call-3.2 current call introspection FAILED
      ==== Contents of test case:
      
          oo::class create A {
              superclass root
              method x {} {self call}
          }
          oo::class create B {
              superclass A
              method x {} {self call;next}
          }
          B create y
          oo::objdefine y method x {} {self call;next}
          leaktest {
              y x
          }
      
      ---- Result was:
      3225
      ---- Result should have been (exact matching):
      0
      ==== oo-call-3.2 FAILED
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. title changed to: "--enable-symbols=all mem leaks"
    5. username: "dgp"
  3. Ticket change [3d052f8b5d] (rid 121015) by dgp on 2011-07-07 23:38:17:

    1. icomment:
      
      bisect points blame on fbb4a85f92e91308a079
      which was the removal of TclCleanupLiteralTable.
      
      This was ok in 8.5, and got merged to trunk without
      testing.
      
      It really ought to be ok on trunk too.  I suspect when
      TCLT is in place it's working around/papering over
      some other memleak.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [18e1a5bc60] (rid 122734) by msofer on 2011-07-08 17:45:22:

    1. icomment:
      TclCleanupLiteralTable had the following comment: 
      
      -       /*
      - * It is tempting simply to walk each hash bucket once and delete the
      - * internal representations of each literal in turn. It's also wrong.
      - * The problem is that freeing a literal's internal representation can
      - * delete other literals to which it refers, making nextPtr invalid.
      - * So each time we free an internal rep, we start its bucket over
      - * again.
      - */
      
      TclDeleteLiteralTable does not seem to be minding this special scenario. Could this be the bug's cause?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Ticket change [44dca432f9] (rid 116777) by dgp on 2011-07-13 03:35:58:

    1. icomment:
      
      The oo leaks are older.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [962bdce217] (rid 106282) by dgp on 2011-07-13 03:47:56:

    1. icomment:
      
      Ticket 3365156 opened to track that
      separately.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [d8d3ff3079] (rid 107514) by dgp on 2011-07-15 21:55:26:

    1. closedate changed to: "2011-07-15T14:55:26"
    2. closer changed to: "dgp"
    3. icomment:
      
      This is a reappearance of 467523.
      
      Committing fix to trunk.  If we're happy with it,
      we can consider backporting.
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Pending"
    8. username: "dgp"
  8. Ticket change [f2b86b90cf] (rid 133383) by dkf on 2013-08-20 10:49:50:

    1. closedate changed to: "2456524.95127744"
    2. closer changed to: "dkf"
    3. comment changed to:
      With a --enable-symbols=all build of the Tcl trunk...
      
      ==== compile-12.1 testing literal leak on interp delete FAILED
      ==== Contents of test case:
      
          set end [getbytes]
          for {set i 0} {$i < 5} {incr i} {
              interp create foo
              foo eval {
                  namespace eval bar {}
              }
              interp delete foo
              set tmp $end
              set end [getbytes]
          }
          set leakedBytes [expr {$end - $tmp}]
      
      ---- Result was:
      344
      ---- Result should have been (exact matching):
      0
      ==== compile-12.1 FAILED
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. severity changed to: "Minor"
    7. status changed to: "Closed"