Artifacts Associated With Ticket 2689307fffffffffffffffffffffffffffffffff
Ticket change [6725ffe36f] (rid 102853) by tallniel on 2009-03-16 22:51:46:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "tallniel"
- subsystem initialized to: "07. Variables"
- title initialized to:
errorCode no longer set correctly in interactive mode
- type initialized to: "Bug"
Ticket change [4c247593c0] (rid 126825) by dgp on 2009-03-17 20:24:47:
- assignee changed to: "dgp"
- priority changed to: "9 Immediate"
Ticket change [69487f163d] (rid 103224) by dgp on 2009-03-17 20:25:20:
- icomment:
Is this also true for the 8.6b1 release, or is this a regression since then?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [857e85dd37] (rid 131328) by tallniel on 2009-03-17 20:41:58:
- icomment:
Seems to be a regression since then. 8.6b1 produces the correct ARITH DIVZERO errorCode.
- login: "tallniel"
- mimetype: "text/plain"
- username: "tallniel"
- icomment:
Ticket change [2b21cfee8b] (rid 118682) by dgp on 2009-03-18 03:38:17:
- assignee changed to: "dkf"
- icomment:
dkf's 2009-01-08 commit appears to be the trigger.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [9d2027c6a0] (rid 96258) by dgp on 2009-03-18 20:04:47:
- icomment:
Appears to be droppings from (in effect) the [catch $::tcl_prompt1] use to support interactive prompt customization.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [341bbb0f4e] (rid 106704) by dgp on 2009-03-18 20:06:45:
- icomment:
still mysterious is why errorCode gets an overwrite, but errorInfo is unmolested.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [e448554242] (rid 87928) by dgp on 2009-03-18 20:11:56:
- icomment:
errorCode is overwritten during the Tcl_GetVar2Ex() call at line 776 of tclMain.c. The TCL_LEAVE_ERR_MSG flag is not set.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [f7a336f55c] (rid 91409) by dgp on 2009-03-18 20:16:29:
- assignee changed to: "msofer"
- 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.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [5735a2e706] (rid 94445) by dgp on 2009-03-18 23:42:10:
- 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
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "2689307.patch" [8628c3271c] (rid 131452) by dgp on 2009-03-18 23:42:10.
Ticket change [e415ed8fd8] (rid 87903) by dgp on 2009-03-18 23:52:25:
- assignee changed to: "dgp"
- closedate changed to: "2009-03-18T16:52:25"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 committed.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"