Overview
| Artifact ID: | a845e050a5a05fcb2c83d2ac13239bafaaea486a |
|---|---|
| Ticket: | 571385ffffffffffffffffffffffffffffffffff
segfaults in execution tracing. |
| User & Date: | dgp on 2002-06-19 23:52:28 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
assigning to co-author of TIP 62, which introduced this bug. I see a segfault in line 4036 of tclCmdMZ.c, apparently due to an attempt to access tracePtr->nextPtr in a situation where tracePtr is NULL. But that's just the beginning... My code that triggers the segfault is not making use of execution traces, so it has no business being in TclCheckExecutionTraces() to begin with. It's getting there from line 3023 of tclBasic.c by mistake. Line 3022 checks the value of (cmdPtr->flags & CMD_HAS_EXEC_TRACES) but in my situation cmdPtr is no longer valid because execution of the command had caused redefinition of the command, something like: proc foo {} { proc foo {} {puts NEW} uplevel 1 foo } still looking at this to see if I can sort it out. The logic of the trace routines is not transparent. More comments would be helpful. - foundin changed to: "obsolete: 8.4a5"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "18. Commands M-Z"
- title changed to: "segfaults in execution tracing."
- type changed to: "Bug"