Skip to content
Tcl Source Code History Of Ticket 1638414fffffffff
Login

History Of Ticket 1638414fffffffff

Artifacts Associated With Ticket 1638414fffffffff

  1. Ticket change [7bad5336f8] (rid 96947) by mpc_janssen on 2007-01-18 10:06:33:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When replaying the following interactive session, the interpreter will crash on the second {*}
      
      % set a "{foo bar"
      % {*}$a
      unmatched open brace in list
      % {*}"{foo bar"
      H:\>
      
      Notice that {*} only crashes the interpreter when the string is put after {*} literally.
      
      When using uplevel to do the same, the correct error is again shown, this might suggest it is TEBC related.
      
      % uplevel 0 {{*}"\{foo bar"}
      unmatched open brace in list
      
      
      Tcl version info:
      
      () 3 % info patchlevel
      8.5a6
      () 4 % 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)        = nlv18296
      tcl_platform(wordSize)    = 4
      
    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: "mpc_janssen"
    10. subsystem initialized to: "47. Bytecode Compiler"
    11. title initialized to:
      {*} crashes interpreter on string that is not a valid list.
      
    12. type initialized to: "Bug"
  2. Ticket change [ec82a0dc14] (rid 103717) by dkf on 2007-01-18 18:46:17:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2007-01-18T11:46:17"
    3. closer changed to: "dkf"
    4. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      This only crashes if all expansions in the command invokation were string literals that were bad scripts, the immediate cause of the crash being a missing INST_EXPAND_START from the bytecode stream. The real problem was a bad assumption in TclCompileScript, which was that TclMarkList would always succeed (obviously not a true assumption!)
      
      All fixed.
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dkf"
  3. Ticket change [ee8f7e9c68] (rid 104099) by dkf on 2007-01-18 18:46:50:

    1. priority changed to: "9 Immediate"