Artifacts Associated With Ticket 604239ffffffffff
Ticket change [6f8ab6caa1] (rid 100330) by msofer on 2002-09-03 23:04:41:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "None"
- priority initialized to: "8"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "07. Variables"
- title initialized to: "leak in linked variables"
- type initialized to: "Bug"
Ticket change [7ef436726c] (rid 97494) by dgp on 2002-09-04 06:53:54:
- icomment:
File Added - 30386: varleak.patch Logged In: YES user_id=80530 check if this is a fix for the problem
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [659898b6d6] (rid 102581) by dgp on 2002-09-04 09:01:19:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "varleak.patch" [eec7542876] (rid 108873) by dgp on 2002-09-04 10:04:15.
Ticket change [a266a44683] (rid 109886) by dgp on 2002-09-04 10:04:15:
- 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?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [2cf2153a3b] (rid 119000) by msofer on 2002-09-04 19:24:34:
- icomment:
Logged In: YES user_id=148712 Nojoy, the leak is still there :(
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Add attachment "varleak2.patch" [2686d6d334] (rid 88362) by msofer on 2002-09-04 20:29:18.
Ticket change [d6167fb44c] (rid 123750) by msofer on 2002-09-04 20:29:18:
- 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?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [1009342bca] (rid 94896) by msofer on 2002-09-04 22:20:06:
- closedate changed to: "2002-09-04T15:20:06"
- closer changed to: "msofer"
- 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 ...
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"