Artifacts Associated With Ticket 1732364
Ticket change [0264d89988] (rid 119640) by mpc_janssen on 2007-06-06 20:39:05:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 } - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "mpc_janssen"
- subsystem initialized to: "None"
- title initialized to: "TclOO leaks on create destroy loop"
- type initialized to: "Bug"
Ticket change [670ae63b1c] (rid 102833) by mpc_janssen on 2007-06-07 03:39:20:
- assignee changed to: "dkf"
Ticket change [020f606f1b] (rid 119581) by mpc_janssen on 2007-06-07 03:40:39:
- icomment:
Logged In: YES user_id=1463011 Originator: YES Forgot to mention OS: Windows XP SP2
- login: "mpc_janssen"
- mimetype: "text/plain"
- username: "mpc_janssen"
- icomment:
Ticket change [f075b44686] (rid 109199) by mpc_janssen on 2007-06-07 03:45:50:
- icomment:
Logged In: YES user_id=1463011 Originator: YES Forgot to mention OS: Windows XP SP2
- login: "mpc_janssen"
- mimetype: "text/plain"
- username: "mpc_janssen"
- icomment:
Ticket change [27f1f69422] (rid 88612) by mpc_janssen on 2007-06-07 03:48:04:
- 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 } - login: "mpc_janssen"
- mimetype: "text/plain"
- username: "mpc_janssen"
- icomment:
Ticket change [80c5549e3e] (rid 116924) by dkf on 2007-06-08 05:04:19:
- icomment:
Logged In: YES user_id=79902 Originator: NO I've plugged one hole, but I'm pretty sure I'm missing one too.
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "dkf"
- icomment:
Ticket change [ee74b38504] (rid 104086) by dkf on 2007-06-08 06:16:42:
- closedate changed to: "2007-06-07T23:16:42"
- closer changed to: "dkf"
- icomment:
Logged In: YES user_id=79902 Originator: NO Problem seems fixed.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"
Ticket change [690402d373] (rid 103170) by mpc_janssen on 2007-06-08 06:28:50:
- icomment:
Logged In: YES user_id=1463011 Originator: YES On my system this leak has been fixed with the latest CVS version
- login: "mpc_janssen"
- mimetype: "text/plain"
- resolution changed to: "None"
- status changed to: "Open"
- username: "mpc_janssen"
- icomment:
Ticket change [3426bbf540] (rid 106708) by dkf on 2007-06-08 06:30:55:
- closedate changed to: "2007-06-07T23:30:55"
- closer changed to: "dkf"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [ac0e58668a] (rid 101229) by mpc_janssen on 2007-06-08 06:41:52:
- 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.
- login: "mpc_janssen"
- mimetype: "text/plain"
- username: "mpc_janssen"
- icomment:
Ticket change [7d0190c820] (rid 97172) by mpc_janssen on 2007-06-08 06:42:11:
- status changed to: "Open"
Ticket change [dd14e99879] (rid 114593) by dkf on 2007-06-08 09:13:22:
- closedate changed to: "2007-06-08T02:13:22"
- closer changed to: "dkf"
- 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.
- login: "dkf"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dkf"