|
2005-10-24
| ||
| 01:46 | • Closed ticket [1335006fff]: obj leak in TclGlob + mem dump enhancement req p... artifact: 99de5b06a8 user: vincentdarley | |
|
2005-10-23
| ||
| 00:49 | • Ticket [1335006fff]: 4 changes artifact: 9ee8da1d11 user: melbardis | |
| 00:49 | • Add attachment glob.tcl to ticket [1335006fff] artifact: 215613abb1 user: melbardis | |
| 00:49 | • Ticket [1335006fff] obj leak in TclGlob + mem dump enhancement req status st... artifact: a92b387db6 user: melbardis | |
| 00:48 | • Add attachment tclFileName.c.diff to ticket [1335006fffffffff|1335006ff... artifact: 1e2103d7b3 user: melbardis | |
| 00:48 | • Ticket [1335006fff] obj leak in TclGlob + mem dump enhancement req status st... artifact: ab0e10b5a0 user: melbardis | |
|
2005-10-22
| ||
| 17:48 | • New ticket [1335006fff]. artifact: 497a160efd user: melbardis | |
obj leak in TclGlob + mem dump enhancement req
Closed / Fixed1335006fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2005-10-22 17:48:24
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
melbardisplain2005-10-23 00:48:25
File Added - 153446: tclFileName.c.diff
melbardisplain2005-10-23 00:49:24
Logged In: YES user_id=788816 adding test code to show problem
melbardisplain2005-10-23 00:49:25
File Added - 153447: glob.tcl
vincentdarleyplain2005-10-24 01:46:52
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.
Log in (anonymous is fine) to add a comment.
Attachments:
- glob.tcl [download] added by melbardis on 2005-10-23 00:49:25. [details]
- tclFileName.c.diff [download] added by melbardis on 2005-10-23 00:48:25. [details]