Skip to content
Tcl Source Code History Of Ticket a0377fd695
Login

History Of Ticket a0377fd695

Artifacts Associated With Ticket a0377fd695

  1. Ticket change [6558b50ae1] (rid 195125) by anonymous on 2021-07-07 07:18:52:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      When I give a non-existent proc to trace, the tclsh locks up. This caused a difficult to debug issue in one of our Tcl-based tools.
      Thanks! --Myles
      
      % tclsh
      >trace add execution puts leave foo
      
      while executing
      "puts -nonewline [string range $txt 0 2047]"
      (procedure "TclReadLine::print" line 6)
      invoked from within
      "TclReadLine::print "$res\n""
      invoked from within
      "if {$code == 1} {
      TclReadLine::print "$::errorInfo\n"
      } else {
      TclReadLine::print ..."
      ("uplevel" body line 1)
      invoked from within
      "uplevel \#0 {
      
      # Handle aliases:
      set cmdline $TclReadLine::CMDLINE
      #
      ..."
      (procedure "TclReadLine::tclline" line 38)
      invoked from within
      "TclReadLine::tclline"
      <hangs here>
      ^C
      
    5. foundin initialized to: "8.5"
    6. is_private initialized to: "0"
    7. login: "anonymous"
    8. priority initialized to: "5 Medium"
    9. private_contact initialized to: "9dcd5b8759d1fc3328967abe6c05033e91ec80a0"
    10. resolution initialized to: "None"
    11. severity initialized to: "Minor"
    12. status initialized to: "Open"
    13. submitter initialized to: "anonymous"
    14. subsystem initialized to: "- New Builtin Commands"
    15. title initialized to:
      Bug in trace add execution leave <non-existent-proc>
      
    16. type initialized to: "Bug"