Artifacts Associated With Ticket 2979402fffffffff
Ticket change [b23694c06d] (rid 98293) by dgp on 2010-03-30 13:47:52:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Valgrind reports during the test suite: ---- trace-34.5 start ==26379== Invalid read of size 4 ==26379== at 0x8093958: Tcl_GetCommandFromObj (tclObj.c:4141) ==26379== by 0x808FAF4: NamespaceWhichCmd (tclNamesp.c:4622) ==26379== by 0x808D53B: TclNRNamespaceObjCmd (tclNamesp.c:2910) ==26379== by 0x80F2D80: NRRunObjProc (tclBasic.c:4347) ==26379== by 0x80F2B6C: TclNRRunCallbacks (tclBasic.c:4294) ==26379== by 0x816A564: TclExecuteByteCode (tclExecute.c:2807) ==26379== by 0x80F2E18: NRCallTEBC (tclBasic.c:4370) ==26379== by 0x80F2B6C: TclNRRunCallbacks (tclBasic.c:4294) ==26379== Address 0x4116B58 is 80 bytes inside a block of size 272 free'd ==26379== at 0x4004FDA: free (vg_replace_malloc.c:233) ==26379== by 0x819AF6F: TclpFree (tclAlloc.c:731) ==26379== by 0x80FE200: Tcl_Free (tclCkalloc.c:1207) ==26379== by 0x808B375: NamespaceFree (tclNamesp.c:1193) ==26379== by 0x808B01B: Tcl_DeleteNamespace (tclNamesp.c:985) ==26379== by 0x808DFC1: NamespaceDeleteCmd (tclNamesp.c:3259) ==26379== by 0x808D2E9: TclNRNamespaceObjCmd (tclNamesp.c:2880) ==26379== by 0x80F2D80: NRRunObjProc (tclBasic.c:4347) ++++ trace-34.5 PASSED
- foundin initialized to: "obsolete: 8.6b1.1"
- 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: "46. Traces"
- title initialized to: "invalid read getting command in trace"
- type initialized to: "Bug"
Ticket change [fe616465ab] (rid 108579) by dgp on 2010-03-30 23:03:40:
- icomment:
Trouble is in reading "cmdPtr->nsPtr->interp" which suggests to me that cmdPtr->nsPtr is pointing into freed memory.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [70a7eab8ed] (rid 100524) by dgp on 2010-03-30 23:20:21:
- icomment:
Re-ordering the tests appears to be the answer. Check for CMD_IS_DELETED before trying to read *(cmdPtr->nsPtr).
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d285f30527] (rid 113543) by dgp on 2010-03-30 23:32:00:
- closedate changed to: "2010-03-30T16:32:00"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 fixed for 8.5.9 and 8.6b2
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- subsystem changed to: "10. Objects"
- username: "dgp"