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

History Of Ticket 1732364fffffffff

Artifacts Associated With Ticket 1732364fffffffff

  1. Ticket change [0264d89988] (rid 119640) by mpc_janssen on 2007-06-06 20:39:05:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The following code leaks memory on TclOO 0.1 Tcl 8.5 HEAD:
      
      package require TclOO
      namespace import ::oo::*
      while 1 {  
        class create A
        A create a
        a destroy
        A destroy
      }
      
    4. foundin initialized to: "None"
    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: "mpc_janssen"
    10. subsystem initialized to: "None"
    11. title initialized to: "TclOO leaks on create destroy loop"
    12. type initialized to: "Bug"
  2. Ticket change [670ae63b1c] (rid 102833) by mpc_janssen on 2007-06-07 03:39:20:

    1. assignee changed to: "dkf"
  3. Ticket change [020f606f1b] (rid 119581) by mpc_janssen on 2007-06-07 03:40:39:

    1. icomment:
      Logged In: YES 
      user_id=1463011
      Originator: YES
      
      Forgot to mention OS: Windows XP SP2
      
      
    2. login: "mpc_janssen"
    3. mimetype: "text/plain"
    4. username: "mpc_janssen"
  4. Ticket change [f075b44686] (rid 109199) by mpc_janssen on 2007-06-07 03:45:50:

    1. icomment:
      Logged In: YES 
      user_id=1463011
      Originator: YES
      
      Forgot to mention OS: Windows XP SP2
      
      
    2. login: "mpc_janssen"
    3. mimetype: "text/plain"
    4. username: "mpc_janssen"
  5. Ticket change [27f1f69422] (rid 88612) by mpc_janssen on 2007-06-07 03:48:04:

    1. icomment:
      Logged In: YES 
      user_id=1463011
      Originator: YES
      
      Note that the following doesn't leak, so the leak seems to occur when destroying classes:
      
      package require TclOO
      namespace import ::oo::*
      class create A
      while 1 { 
      A create a
      a destroy
      }
      
      
      
      
    2. login: "mpc_janssen"
    3. mimetype: "text/plain"
    4. username: "mpc_janssen"
  6. Ticket change [80c5549e3e] (rid 116924) by dkf on 2007-06-08 05:04:19:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      I've plugged one hole, but I'm pretty sure I'm missing one too.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. priority changed to: "9 Immediate"
    5. username: "dkf"
  7. Ticket change [ee74b38504] (rid 104086) by dkf on 2007-06-08 06:16:42:

    1. closedate changed to: "2007-06-07T23:16:42"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Problem seems fixed.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"
  8. Ticket change [690402d373] (rid 103170) by mpc_janssen on 2007-06-08 06:28:50:

    1. icomment:
      Logged In: YES 
      user_id=1463011
      Originator: YES
      
      On my system this leak has been fixed with the latest CVS version
      
      
    2. login: "mpc_janssen"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. username: "mpc_janssen"
  9. Ticket change [3426bbf540] (rid 106708) by dkf on 2007-06-08 06:30:55:

    1. closedate changed to: "2007-06-07T23:30:55"
    2. closer changed to: "dkf"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  10. Ticket change [ac0e58668a] (rid 101229) by mpc_janssen on 2007-06-08 06:41:52:

    1. icomment:
      Logged In: YES 
      user_id=1463011
      Originator: YES
      
      Unfortunately, I was testing with the instance create/destroy loop (which didn't leak). Leak still exists.
      
      
    2. login: "mpc_janssen"
    3. mimetype: "text/plain"
    4. username: "mpc_janssen"
  11. Ticket change [7d0190c820] (rid 97172) by mpc_janssen on 2007-06-08 06:42:11:

    1. status changed to: "Open"
  12. Ticket change [dd14e99879] (rid 114593) by dkf on 2007-06-08 09:13:22:

    1. closedate changed to: "2007-06-08T02:13:22"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Gotcha! The class builder was doing the initial splice wrong (it was almost the oldest code in the whole TclOO code, and was obviously in need of a rewrite in the light of a fixed way to create classes...) resulting in leaks in the lists of subclasses/instances of the core objects. Now the example can be run for long periods of time (well, 20 seconds at least) with precisely zero memory consumption growth.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "dkf"