Artifacts Associated With Ticket 839519ffffffffff
Ticket change [99fdea8434] (rid 110883) by hobbs on 2003-11-10 21:09:08:
- assignee initialized to: "vasiljevic"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "obsolete: 8.4.4"
- priority initialized to: "8"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "hobbs"
- subsystem initialized to: "37. File System"
- title initialized to: "last cwd objPtr not released"
- type initialized to: "Bug"
Ticket change [82e86ef6cf] (rid 117304) by vasiljevic on 2003-11-15 21:59:38:
- 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.
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [42e676f88f] (rid 116452) by vasiljevic on 2003-12-17 16:15:16:
- closedate changed to: "2003-12-17T09:15:16"
- closer changed to: "vasiljevic"
- 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.
- login: "vasiljevic"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "vasiljevic"