Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c094ddd38fa7bf8ac4aefd7720c700ae773f5ced
Ticket: 1773040fffffffffffffffffffffffffffffffff
::errorInfo trace exits Tcl in some cases
User & Date: mpc_janssen on 2007-08-13 11:11:02
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When setting an write trace on ::errorInfo, the Tcl process gets terminated in some cases.
    The following script shows the problem:
    
    H:\>tclsh
    % trace add variable ::errorInfo write log_error
    % proc log_error args {puts $args}
    % dne
    errorInfo {} write
    invalid command name "dne"
    % set dne
    errorInfo {} write
    errorInfo {} write
    
    H:\>
    
    version info:
    
    H:\>tclsh
    % info patch
    8.5a7
    % parray tcl_platform
    tcl_platform(byteOrder)   = littleEndian
    tcl_platform(machine)     = intel
    tcl_platform(os)          = Windows NT
    tcl_platform(osVersion)   = 5.1
    tcl_platform(platform)    = windows
    tcl_platform(pointerSize) = 4
    tcl_platform(threaded)    = 1
    tcl_platform(user)        = nlv18605
    tcl_platform(wordSize)    = 4
    %
    
  4. foundin changed to: "None"
  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: "mpc_janssen"
  10. subsystem changed to: "46. Traces"
  11. title changed to: "::errorInfo trace exits Tcl in some cases"
  12. type changed to: "Bug"