Skip to content
Tcl Source Code History Of Ticket 604239ffffffffff
Login

History Of Ticket 604239ffffffffff

Artifacts Associated With Ticket 604239ffffffffff

  1. Ticket change [6f8ab6caa1] (rid 100330) by msofer on 2002-09-03 23:04:41:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The script
      
          namespace eval tst {
              upvar 0 a(x) b
              variable b
           }
           namespace delete tst
      
      leaks the Var struct corresponding to the array element
      a(x). The leak depends on the upvar being to an array
      element, it will not happen for scalars.
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "8"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "leak in linked variables"
    11. type initialized to: "Bug"
  2. Ticket change [7ef436726c] (rid 97494) by dgp on 2002-09-04 06:53:54:

    1. icomment:
      
      
      File Added - 30386: varleak.patch
      
      Logged In: YES 
      user_id=80530
      
      check if this is a fix for the problem
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [659898b6d6] (rid 102581) by dgp on 2002-09-04 09:01:19:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      the patch may be a starting point, but it causes segfaults
      in the test suite, so more work is needed.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Add attachment "varleak.patch" [eec7542876] (rid 108873) by dgp on 2002-09-04 10:04:15.

  5. Ticket change [a266a44683] (rid 109886) by dgp on 2002-09-04 10:04:15:

    1. icomment:
      
      
      File Deleted - 30386: 
      
      
      
      File Added - 30387: varleak.patch
      
      Logged In: YES 
      user_id=80530
      
      updated patch passes test suite; no segfaults.
      
      Does it patch the leak?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [2cf2153a3b] (rid 119000) by msofer on 2002-09-04 19:24:34:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Nojoy, the leak is still there :(
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  7. Add attachment "varleak2.patch" [2686d6d334] (rid 88362) by msofer on 2002-09-04 20:29:18.

  8. Ticket change [d6167fb44c] (rid 123750) by msofer on 2002-09-04 20:29:18:

    1. icomment:
      
      
      File Added - 30409: varleak2.patch
      
      Logged In: YES 
      user_id=148712
      
      varleak2.patch removes the leak and passes the testsuite.
      But the real question remains: is it really a(x) that should
      get the VAR_NAMESPACE_VAR flag, or should it rather be b?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [1009342bca] (rid 94896) by msofer on 2002-09-04 22:20:06:

    1. closedate changed to: "2002-09-04T15:20:06"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      Fixing the leak in HEAD. 
      
      A deeper and subtler issue concerns the intended meaning of
      such commmand sequences, and touches on Tcl's variable name
      resolution rules and the namespace  infrastructure in
      general. Postponed ...
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"