Artifacts Associated With Ticket 2857044fffffffffffffffffffffffffffffffff
Ticket change [2d96f4bba0] (rid 119090) by dgp on 2009-09-11 18:22:20:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Brief discussion on chat concluded that the freeIntRepProc of any Tcl_ObjType ought to set the typePtr field to NULL so that the Tcl_Obj is not left in an inconsistent state. At least some freeIntRepProc's in the core fail to meet this expectation. Search and destroy.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "None"
- title initialized to: "freeIntRepProc audit"
- type initialized to: "Bug"
Ticket change [2f6f768433] (rid 93067) by nijtmans on 2009-09-14 15:00:45:
- icomment:
Agreed, but shouln't that be the responsibility of the TclFreeIntRep macro? Currently, a lot of TclFreeIntRep calls are followed by setting (objPtr)->typePtr to NULL! The freeIntRepProc is not supposed to be called directly, so doing it in TclFreeIntRep has the advantage that it works for freeIntRep functions outside of the core as well.
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"
- icomment:
Ticket change [18b3f880e2] (rid 122704) by dgp on 2009-09-14 23:43:51:
- icomment:
Adding it to the TclFreeIntRep macro is a fine idea too, but can only help the callers of the macro. Since the macro is private, the only callers ought to be within Tcl itself. For the sake of extensions, we still need each freeIntRepProc to do its own housekeeping as well. Yes, this is a gap in the interface. We ought to have a public routine that plays this role.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [bc0321822c] (rid 129586) by dgp on 2009-09-30 10:11:32:
- icomment:
Tcl sources updated. Tk still needs a look.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [5856605720] (rid 117783) by dgp on 2009-11-20 07:20:39:
- icomment:
Thanks for getting the bits I missed in tclEncoding.c. Just committed the other missed bits in tclVar.c. Still open for Tk.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [384e7b92ab] (rid 112185) by dkf on 2009-11-22 00:27:59:
- icomment:
All fixed in Tk HEAD. Leaving to dgp to decide whether that means this item should be closed.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [5fa1051b91] (rid 115852) by dkf on 2009-11-22 00:28:00:
- assignee changed to: "dgp"
- foundin changed to: "obsolete: 8.6b1.1"
- resolution changed to: "Fixed"
- subsystem changed to: "10. Objects"
Ticket change [2da285b92a] (rid 119097) by dgp on 2009-11-23 23:34:39:
- closedate changed to: "2009-11-23T16:34:39"
- closer changed to: "dgp"
- icomment:
allow_comments - 1
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"