Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 497a160efdb2c7633824752b576c59b6a5922633
Ticket: 1335006fffffffffffffffffffffffffffffffff
obj leak in TclGlob + mem dump enhancement req
User & Date: melbardis on 2005-10-22 17:48:24
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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
    
    
    
  4. foundin changed to: "obsolete: 8.5a4"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "melbardis"
  9. subsystem changed to: "36. Pathname Management"
  10. title changed to: "obj leak in TclGlob + mem dump enhancement req"
  11. type changed to: "Bug"