Skip to content
Tcl Source Code History Of Ticket 839519ffffffffff
Login

History Of Ticket 839519ffffffffff

Artifacts Associated With Ticket 839519ffffffffff

  1. Ticket change [99fdea8434] (rid 110883) by hobbs on 2003-11-10 21:09:08:

    1. assignee initialized to: "vasiljevic"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Get valgrind (it's free) and do the above, like so:
      
      [on linux]
      configure --disable-shared --enable-symbols
      make CFLAGS_WARNING=-DPURIFY ; # add -DPURIFY
      valgrind ./tclsh ; # may neeed TCL_LIBRARY set
         cd ..
         exit
      
      You should find that the TclFSNormalizeAbsolutePath 
      (IIRC) is listed as a leaker (you may find many, but 
      that's one). It always happens when the function that 
      calls it next goes into FsUpdateCwd.
      
      
      
    4. foundin initialized to: "obsolete: 8.4.4"
    5. priority initialized to: "8"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "hobbs"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "last cwd objPtr not released"
    11. type initialized to: "Bug"
  2. Ticket change [82e86ef6cf] (rid 117304) by vasiljevic on 2003-11-15 21:59:38:

    1. icomment:
      Logged In: YES 
      user_id=95086
      
      Well, I do have Purify and when I compile tclsh 
      w/o thread support and run Purify against it, 
      it barks at the cwdPathPtr. If I, however, compile
      with TCL_MEM_DEBUG it barks no more and 
      all is clean on app exit ( = no mem leaks).
      What I suppose is that mem debuggers get
      somehow confused with some constructs and 
      produce invalid reports. I have stepped thru
      the related code with the debugger and was 
      not able to see any problems in hanling the 
      cwdPathPtr so far.
      
      
      
      
    2. login: "vasiljevic"
    3. mimetype: "text/plain"
    4. username: "vasiljevic"
  3. Ticket change [42e676f88f] (rid 116452) by vasiljevic on 2003-12-17 16:15:16:

    1. closedate changed to: "2003-12-17T09:15:16"
    2. closer changed to: "vasiljevic"
    3. icomment:
      Logged In: YES 
      user_id=95086
      
      GOTCHA!  There was a leak!
      I have fixed it in the cvs head and in the 8.4 branch.
      
      
    4. login: "vasiljevic"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "vasiljevic"