Artifacts Associated With Ticket 1789767fffffffffffffffffffffffffffffffff
Ticket change [70598cb541] (rid 100467) by simps05192 on 2007-09-06 23:18:31:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I checked out the latest Tcl out of CVS as of 2007-09-06 and then linked the following program against it: #include <tcl.h> int Tcl_AppInit(Tcl_Interp* interp) { if (Tcl_Init(interp) == TCL_ERROR) { return TCL_ERROR; } return TCL_OK; } int main(int argc, char* argv[]) { Tcl_Main(argc, argv, Tcl_AppInit); return 0; } I then ran "valgrind --leak-check=full mytclsh" against it and I get the following spurious free: ==32498== Invalid free() / delete / delete[] ==32498== at 0x43CF338: free (vg_replace_malloc.c:233) ==32498== by 0x636A7BB: free_mem (in /lib/tls/libc-2.3.4.so) ==32498== by 0x636A1E1: __libc_freeres (in /lib/tls/libc-2.3.4.so) ==32498== by 0x43C6355: _vgnU_freeres (vg_preloaded.c:60) ==32498== by 0x62EE903: _Exit (in /lib/tls/libc-2.3.4.so) ==32498== by 0x4430661: Tcl_Exit (in /home/simpsons/tcl/unix/libtcl8.5.so) ==32498== by 0x43FEC21: Tcl_ExitObjCmd (in /home/simpsons/tcl/unix/libtcl8.5.so) ==32498== by 0x43F7233: TclEvalObjvInternal (in /home/simpsons/tcl/unix/libtcl8.5.so) ==32498== by 0x4434C50: TclExecuteByteCode (in /home/simpsons/tcl/unix/libtcl8.5.so) ==32498== by 0x443B6FE: TclCompEvalObj (in /home/simpsons/tcl/unix/libtcl8.5.so) ==32498== by 0x43F873A: TclEvalObjEx (in /home/simpsons/tcl/unix/libtcl8.5.so) ==32498== by 0x43F8A64: Tcl_EvalObjEx (in /home/simpsons/tcl/unix/libtcl8.5.so) ==32498== Address 0x45C7008 is not stack'd, malloc'd or (recently) free'd - foundin initialized to: "obsolete: 8.5a7"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "simps05192"
- subsystem initialized to: "41. Memory Allocation"
- title initialized to: "Invalid free in Tcl core"
- type initialized to: "Bug"
Ticket change [2d9e36b769] (rid 119093) by msofer on 2007-09-08 03:50:09:
- icomment:
Logged In: YES user_id=148712 Originator: NO This looks like a problem in libc's exit(), not in Tcl.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [aa19a28ced] (rid 99267) by hobbs on 2007-09-11 07:33:53:
- closedate changed to: "2007-09-11T00:33:53"
- closer changed to: "hobbs"
- resolution changed to: "Invalid"
- status changed to: "Pending"
Ticket change [e12df18b79] (rid 87405) by sf-robot on 2007-09-25 09:20:05:
- closedate changed to: "2007-09-25T02:20:05"
- closer changed to: "sf-robot"
- icomment:
Logged In: YES user_id=1312539 Originator: NO This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker).
- login: "sf-robot"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "sf-robot"