Skip to content
Tcl Source Code History Of Ticket 1716730
Login

History Of Ticket 1716730

Artifacts Associated With Ticket 1716730

  1. Ticket change [d3f5d51523] (rid 123364) by dgp on 2007-05-10 19:22:48:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.5a6"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "dgp"
    10. subsystem initialized to: "46. Traces"
    11. title initialized to: "alleged bug claimed in TraceVar.3"
    12. type initialized to: "Bug"
  2. Ticket change [bb829da733] (rid 129498) by dgp on 2013-01-08 01:38:27:

    1. priority changed to: "9 Immediate"
  3. Ticket change [98aa2b012a] (rid 110648) by dgp on 2013-04-10 23:28:20:

    1. priority changed to: "5 Medium"
  4. Ticket change [1cf863b455] (rid 171465) by dgp on 2019-05-10 14:03:59:

    1. closedate changed to: "2458614.08610078"
    2. closer changed to: "dgp"
    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. icomment:
      
      A null interp value is not suitable.
      
      A variable is being traced and without an interp, the
      context to find that variable again is incomplete.
      
      Although the TCL_INTERP_DESTROYED signal that interp
      destruction has begun is a good warning not to 
      Tcl_Eval() anything in it, an interpreter being destroyed
      can still do some things, and access to do those things
      is useful.
      
      When TIP 543 is accepted, the documentation in question
      will go away.
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Rejected"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"