Skip to content
Tcl Source Code History Of Ticket 1337941fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1337941fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1337941fffffffffffffffffffffffffffffffff

  1. Ticket change [34538b600e] (rid 106745) by jhdv on 2005-10-26 00:08:26:

    1. assignee initialized to: "dgp"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      TclCheckExecutionTraces() assumes that
      tracePtr->clientData points to a TraceCommandInfo
      struct.  This is not the case if, say,
      Tcl_TraceCommand() was called to set up a trace from
      user code.
      
      Example:  User code calls
      
      Tcl_TraceCommand(interp,"list",TCL_TRACE_RENAME,traceProc,(ClientData)NULL);
      
      and then, from the interpreter:
      
      proc >> args {puts [info level 0]}
      trace add execution list enter >>
      list
      
      This leads to a segfault in TclCheckExecutionTraces().
      
      A solution that appears to work for me is to make the
      assumption above only when tracePtr->traceProc ==
      TraceCommandProc.
      
      Patch against CVS version 1.26 of tclTrace.c is attached.
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "jhdv"
    9. subsystem initialized to: "46. Traces"
    10. title initialized to:
      TclCheckExecutionTraces incompatible with Tcl_TraceCommand
      
    11. type initialized to: "Bug"
  2. Add attachment "tclTrace.diff" [d3c3c8b765] (rid 123339) by jhdv on 2005-10-26 07:08:26.

  3. Ticket change [0432c71cc1] (rid 119955) by jhdv on 2005-10-26 07:08:32:

    1. icomment:
      
      
      File Added - 153779: tclTrace.diff
      
      
      
    2. login: "jhdv"
    3. mimetype: "text/plain"
    4. username: "jhdv"
  4. Add attachment "1337941.patch" [ef34c5c141] (rid 108955) by dgp on 2005-11-02 02:46:41.

  5. Ticket change [509723804a] (rid 125999) by dgp on 2005-11-02 02:46:41:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Here's the same patch in the
      more customary format.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [d5265106c7] (rid 123568) by dgp on 2005-11-02 02:47:10:

    1. icomment:
      
      
      File Added - 154690: 1337941.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [8b6fd3c02a] (rid 127569) by dgp on 2005-11-02 02:51:26:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Here's the corresponding
      patch for Tcl 8.4 branch
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Add attachment "1337941-84.patch" [6ee542ac22] (rid 100217) by dgp on 2005-11-02 02:51:28.

  9. Ticket change [091b3a2883] (rid 89660) by dgp on 2005-11-02 02:51:49:

    1. icomment:
      
      
      File Added - 154691: 1337941-84.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [1af2d499bd] (rid 123066) by dgp on 2005-11-02 03:19:31:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Patches committed.
      Bug fixed for Tcl 8.4.12 and 8.5a4.
      
      Thanks for the report and the fix!
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [a6fc4b3fa3] (rid 98706) by jhdv on 2005-11-02 07:57:50:

    1. closedate changed to: "2005-11-02T00:57:50"
    2. closer changed to: "jhdv"
    3. status changed to: "Closed"