Artifacts Associated With Ticket 1335006
Ticket change [497a160efd] (rid 100057) by melbardis on 2005-10-22 17:48:24:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
using glob, would lose a number of objects for every invocation. problem was that an argument to the glob function would be incremened (pathptr) and never decrement it, i added decr logic to all paths, i may have missed some! i only tested the case were glob would work, and return some values i am including simple test program that shows the problem, note need to run on a debug version since it uses the 'memory' command also it would be nice if the memry dump function 'Tcl_DumpActiveMemory' was modified in two areas 1) display addressed with leading 0's (%p) - makes searching between the output file and other debug output files a little easier, 2) add threadid to the memory header so one knows which thread allocated the memeory, very usefull in multi-threading work
- foundin initialized to: "obsolete: 8.5a4"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "melbardis"
- subsystem initialized to: "36. Pathname Management"
- title initialized to: "obj leak in TclGlob + mem dump enhancement req"
- type initialized to: "Bug"
Add attachment "tclFileName.c.diff" [1e2103d7b3] (rid 90929) by melbardis on 2005-10-23 00:48:25.
Ticket change [ab0e10b5a0] (rid 101030) by melbardis on 2005-10-23 00:48:25:
- icomment:
File Added - 153446: tclFileName.c.diff
- login: "melbardis"
- mimetype: "text/plain"
- username: "melbardis"
- icomment:
Ticket change [a92b387db6] (rid 99111) by melbardis on 2005-10-23 00:49:24:
- icomment:
Logged In: YES user_id=788816 adding test code to show problem
- login: "melbardis"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "melbardis"
- icomment:
Ticket change [9ee8da1d11] (rid 96557) by melbardis on 2005-10-23 00:49:25:
- icomment:
File Added - 153447: glob.tcl
- login: "melbardis"
- mimetype: "text/plain"
- username: "melbardis"
- icomment:
Add attachment "glob.tcl" [215613abb1] (rid 130565) by melbardis on 2005-10-23 00:49:25.
Ticket change [99de5b06a8] (rid 110863) by vincentdarley on 2005-10-24 01:46:52:
- closedate changed to: "2005-10-23T18:46:52"
- closer changed to: "vincentdarley"
- icomment:
Logged In: YES user_id=32170 Thanks - memory leak fixed in cvs head. Please file a separate feature request for Tcl_DumpActiveMemory if you'd like to pursue that further.
- login: "vincentdarley"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "vincentdarley"