Skip to content
Tcl Source Code History Of Ticket 2689307
Login

History Of Ticket 2689307

Artifacts Associated With Ticket 2689307

  1. Ticket change [6725ffe36f] (rid 102853) by tallniel on 2009-03-16 22:51:46:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      Current CVS HEAD Tcl no longer seems to set the errorCode global variable correctly when operating in interactive mode:
      
      % info patch
      8.6b1.1
      % expr {1/0}
      divide by zero
      % set errorCode
      TCL LOOKUP VARNAME
      
      The correct errorCode (ARITH DIVZERO...) is produced when using [catch] or when placing the above code in a script. This seems to
      happen for all errors, including those created with throw/error or thrown from within procedures.
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    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: "tallniel"
    10. subsystem initialized to: "07. Variables"
    11. title initialized to:
      errorCode no longer set correctly in interactive mode
      
    12. type initialized to: "Bug"
  2. Ticket change [4c247593c0] (rid 126825) by dgp on 2009-03-17 20:24:47:

    1. assignee changed to: "dgp"
    2. priority changed to: "9 Immediate"
  3. Ticket change [69487f163d] (rid 103224) by dgp on 2009-03-17 20:25:20:

    1. icomment:
      
      Is this also true for the 8.6b1 release,
      or is this a regression since then?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [857e85dd37] (rid 131328) by tallniel on 2009-03-17 20:41:58:

    1. icomment:
      Seems to be a regression since then. 8.6b1 produces the correct ARITH DIVZERO errorCode.
      
      
    2. login: "tallniel"
    3. mimetype: "text/plain"
    4. username: "tallniel"
  5. Ticket change [2b21cfee8b] (rid 118682) by dgp on 2009-03-18 03:38:17:

    1. assignee changed to: "dkf"
    2. icomment:
      
      dkf's 2009-01-08 commit appears to be
      the trigger.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  6. Ticket change [9d2027c6a0] (rid 96258) by dgp on 2009-03-18 20:04:47:

    1. icomment:
      
      Appears to be droppings from (in effect) the
      [catch $::tcl_prompt1] use to support
      interactive prompt customization.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [341bbb0f4e] (rid 106704) by dgp on 2009-03-18 20:06:45:

    1. icomment:
      
      still mysterious is why
      errorCode gets an overwrite, but
      errorInfo is unmolested.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [e448554242] (rid 87928) by dgp on 2009-03-18 20:11:56:

    1. icomment:
      
      errorCode is overwritten during the
      Tcl_GetVar2Ex() call at line 776 of
      tclMain.c.
      
      The TCL_LEAVE_ERR_MSG flag is not set.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Ticket change [f7a336f55c] (rid 91409) by dgp on 2009-03-18 20:16:29:

    1. assignee changed to: "msofer"
    2. icomment:
      
      ok, can't reach final solution on this
      attempt, but it's looking like the issue
      to chase down is whether all the machinery
      in tclVar.c is resepecting the TCL_LEAVE_ERR_MSG
      flag when present and when absent.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  10. Ticket change [5735a2e706] (rid 94445) by dgp on 2009-03-18 23:42:10:

    1. icomment:
      
      
      File Added - 318396: 2689307.patch
      
      
      Attached patch takes the errorCode
      setting out of TclLookupSimpleVar()
      and pushes the burden up onto its
      callers.
      File Added: 2689307.patch
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Add attachment "2689307.patch" [8628c3271c] (rid 131452) by dgp on 2009-03-18 23:42:10.

  12. Ticket change [e415ed8fd8] (rid 87903) by dgp on 2009-03-18 23:52:25:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2009-03-18T16:52:25"
    3. closer changed to: "dgp"
    4. icomment:
      
      
      allow_comments - 1
      
      
      committed.
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "dgp"