Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d3f5d515237e1245dace48da23714c9a18bdf70a
Ticket: 1716730fffffffffffffffffffffffffffffffff
alleged bug claimed in TraceVar.3
User & Date: dgp on 2007-05-10 19:22:48
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    Near the end of TraceVar.3, we see:
    
    BUGS
      Tcl doesn’t do any error checking to prevent
      trace procedures from mis-using the interpreter
      during traces with TCL_INTERP_DESTROYED set.
    
    It would be a fairly simple matter for
    TclCallVarTraces to pass in a value of
    (interp == NULL) in exactly those cases
    when it is setting the TCL_INTERP_DESTROYED
    flag.  A Tcl_TraceVarProc certainly can't
    abuse an interp it never receives a pointer
    for.
    
    I suppose there's too many existing
    Tcl_TraceVarProcs that implicitly assume
    they receive a non-NULL interp argument
    to do anything like this before Tcl 9.
    
    Oh well, at least it's recorded.
    
  4. foundin changed to: "obsolete: 8.5a6"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "46. Traces"
  11. title changed to: "alleged bug claimed in TraceVar.3"
  12. type changed to: "Bug"