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

History Of Ticket 3047235fffffffff

Artifacts Associated With Ticket 3047235fffffffff

  1. Ticket change [b4847e6722] (rid 125050) by msofer on 2010-08-17 20:13:22:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "9 Immediate"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "msofer"
    10. subsystem initialized to: "60. NRE and coroutines"
    11. title initialized to: "non-bc'ed catch and tailcall"
    12. type initialized to: "Bug"
  2. Ticket change [a62dd991cc] (rid 98555) by msofer on 2010-08-18 06:45:29:

    1. icomment:
      Attached patch fixes this issue, but new test tailcall-12.3c reveal something strange is still amiss.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [93607f7a49] (rid 105803) by msofer on 2010-08-18 06:46:02:

    1. icomment:
      
      
      File Added - 383752: diff
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Add attachment "diff" [4e486ebf3c] (rid 127198) by msofer on 2010-08-18 06:46:02.

  5. Ticket change [d1eb6a9cb8] (rid 113434) by msofer on 2010-08-18 22:47:53:

    1. icomment:
      Fixed in HEAD by redsigning (and simplifying) tailcall
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [925532c258] (rid 120747) by msofer on 2010-08-18 22:47:54:

    1. closedate changed to: "2010-08-18T15:47:54"
    2. closer changed to: "msofer"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"
  7. Ticket change [48fdb7ea2b] (rid 99991) by ferrieux on 2010-08-18 23:32:37:

    1. 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 ?
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  8. Ticket change [33a24611f7] (rid 106629) by msofer on 2010-08-18 23:40:41:

    1. icomment:
      Tailcall should never be able to escape a catch context. Please try it (and commit a test?).
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  9. Ticket change [9ea71dbd83] (rid 96515) by dgp on 2010-08-18 23:56:16:

    1. 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?
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [d1735b1703] (rid 113350) by msofer on 2010-08-19 00:51:25:

    1. 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
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  11. Ticket change [e5074a87a0] (rid 88059) by msofer on 2010-08-19 01:18:46:

    1. icomment:
      
      
      allow_comments - 0
      
      Missing Tcl_LogCommandInfo ... back to the drawing board
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. username: "msofer"
  12. Ticket change [2444780da3] (rid 131082) by msofer on 2010-08-19 05:34:10:

    1. closedate changed to: "2010-08-18T22:34:10"
    2. closer changed to: "msofer"
    3. icomment:
      
      
      allow_comments - 1
      
      New redesign committed: [tailcall] errors out early, the command info is logged by the usual means.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"