Artifacts Associated With Ticket 811483ffffffffff
Ticket change [b4dd3bea20] (rid 125120) by dgp on 2003-09-24 01:59:12:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
test trace-32.1 {nystery memory corruption} knownBug { proc foo {} {} trace add command foo delete foo trace add execution foo enter foo set result [trace info command foo] rename foo {} set result } [list [list delete foo]] This test causes a segfault. apparently related to the fact that the deletion trace tries to call the traced command, but still needs further tracking down. It's nasty memory corruption somewhere. - foundin initialized to: "obsolete: 8.4.4"
- priority initialized to: "8"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "46. Traces"
- title initialized to: "delete trace calls traced command ->segfault"
- type initialized to: "Bug"
Ticket change [b63265ec52] (rid 125379) by dgp on 2003-09-29 21:16:16:
- icomment:
Logged In: YES user_id=80530 at least some of the problem appear due to an error in refcounting of the TraceCommandInfo struct in TraceCommandProc(). There the refCount is decremented without actually removing the reference, and the inconsistency leads to trouble. There are probably good lessons on how to get this right in the variable tracing code.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [546c33f237] (rid 93949) by dgp on 2003-10-03 00:51:26:
- icomment:
Logged In: YES user_id=80530 This patch stops the accessing of freed memory by test trace-32.1, and also corrects some coding errors found along the way. Assigning to TIP 62 implementor for a chance to comment.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "811483.patch" [d3940fe45b] (rid 123316) by dgp on 2003-10-03 00:51:28.
Ticket change [2754b9d13c] (rid 88497) by dgp on 2003-10-03 00:51:30:
- icomment:
File Added - 63227: 811483.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [ed510315e6] (rid 103858) by dgp on 2003-10-03 00:53:26:
- assignee changed to: "vincentdarley"
Add attachment "811483-HEAD.patch" [3b0389794a] (rid 112657) by dgp on 2003-10-03 01:54:54.
Ticket change [1594e49e9e] (rid 124593) by dgp on 2003-10-03 01:54:54:
- icomment:
File Added - 63233: 811483-HEAD.patch Logged In: YES user_id=80530 Here's the corresponding patch for the HEAD.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [4dbf908dde] (rid 127103) by dgp on 2003-10-03 06:19:05:
- priority changed to: "9 Immediate"
Ticket change [d7a3f4395b] (rid 124027) by vincentdarley on 2003-10-03 16:18:23:
- icomment:
Logged In: YES user_id=32170 As far as I can tell, this looks ok, but I haven't fully investigated the implications of calling Tcl_UntraceCommand at that point. p.s. thanks for looking into all these 'trace' issues, and sorry I haven't been more forthcoming with help/advice.
- login: "vincentdarley"
- mimetype: "text/plain"
- username: "vincentdarley"
- icomment:
Ticket change [4f66541e9d] (rid 125822) by dgp on 2003-10-03 20:29:50:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Thanks. I have good confidence there will be no trouble untracing the trace at that point, because the ActiveTrace trickery is used throughout the trace system just to enable the untracing at any time.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [a69083c889] (rid 98625) by dgp on 2003-10-04 03:46:45:
- closedate changed to: "2003-10-03T20:46:45"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 fixed for 8.4.5+
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"