Artifacts Associated With Ticket 3047235
Ticket change [b4847e6722] (rid 125050) by msofer on 2010-08-17 20:13:22:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
[Moved from 3046594] You cannot [tailcall] out of a catch-environment. Bytecompiled [catch] is working properly and tested (tailcall-12.3a/b), non-bytecompiled [catch] is neither and segfaults: % proc foo {} {set catch catch; $catch {tailcall concat}} % foo Program received signal SIGSEGV, Segmentation fault. - foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "60. NRE and coroutines"
- title initialized to: "non-bc'ed catch and tailcall"
- type initialized to: "Bug"
Ticket change [a62dd991cc] (rid 98555) by msofer on 2010-08-18 06:45:29:
- icomment:
Attached patch fixes this issue, but new test tailcall-12.3c reveal something strange is still amiss.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [93607f7a49] (rid 105803) by msofer on 2010-08-18 06:46:02:
- icomment:
File Added - 383752: diff
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Add attachment "diff" [4e486ebf3c] (rid 127198) by msofer on 2010-08-18 06:46:02.
Ticket change [d1eb6a9cb8] (rid 113434) by msofer on 2010-08-18 22:47:53:
- icomment:
Fixed in HEAD by redsigning (and simplifying) tailcall
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [925532c258] (rid 120747) by msofer on 2010-08-18 22:47:54:
- closedate changed to: "2010-08-18T15:47:54"
- closer changed to: "msofer"
- icomment:
allow_comments - 1
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"
Ticket change [48fdb7ea2b] (rid 99991) by ferrieux on 2010-08-18 23:32:37:
- icomment:
Now does it mean that a 'tailcall tailcall tailcall' could pop back 3 levels under the nose of a [catch] in the caller's context, without being caught ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [33a24611f7] (rid 106629) by msofer on 2010-08-18 23:40:41:
- icomment:
Tailcall should never be able to escape a catch context. Please try it (and commit a test?).
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [9ea71dbd83] (rid 96515) by dgp on 2010-08-18 23:56:16:
- icomment:
confirm no crash, but either it or my expectation are still not right: % proc foo {} {set catch catch; $catch {tailcall concat}} % foo 1 % set errorInfo can't read "errorInfo": no such variable What error is [catch] catching here? And how can we programmatically get a hold of it? - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [d1735b1703] (rid 113350) by msofer on 2010-08-19 00:51:25:
- icomment:
Fishy: % proc foo {} {set catch catch; list [$catch {tailcall concat} msg] $msg} % foo 1 {tailcall called from within a catch environment} % set errorInfo can't read "errorInfo": no such variable - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [e5074a87a0] (rid 88059) by msofer on 2010-08-19 01:18:46:
- icomment:
allow_comments - 0 Missing Tcl_LogCommandInfo ... back to the drawing board
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "None"
- status changed to: "Open"
- username: "msofer"
- icomment:
Ticket change [2444780da3] (rid 131082) by msofer on 2010-08-19 05:34:10:
- closedate changed to: "2010-08-18T22:34:10"
- closer changed to: "msofer"
- icomment:
allow_comments - 1 New redesign committed: [tailcall] errors out early, the command info is logged by the usual means.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"