Skip to content
Tcl Source Code History Of Ticket 495830ffff
Login

History Of Ticket 495830ffff

Artifacts Associated With Ticket 495830ffff

  1. Ticket change [117d35941c] (rid 95152) by msofer on 2001-12-21 12:26:36:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The following script
      
          interp create tst
          interp alias tst suicide {} interp delete tst
          tst eval {proc bug {} {suicide; set a 5}}
          tst eval bug
      
      returns 5, the bytecode runs to the end without
      noticing the dead
      interp!
      
      
      
    4. foundin initialized to: "None"
    5. priority initialized to: "7 High"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "47. Bytecode Compiler"
    10. title initialized to: "execution in deleted interpreter"
    11. type initialized to: "Bug"
  2. Ticket change [6e0d487c93] (rid 128809) by msofer on 2002-06-21 01:40:10:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      This is actually not *that* bad, as not much can happen in
      the deleted interpreter: no non-compiled cmds can be run, no
      variable can be saved, ...
      The only real problem is that we get a TCL_OK return
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. priority changed to: "5 Medium"
    5. username: "msofer"
  3. Ticket change [e541733b3b] (rid 88096) by jyljyljyl on 2003-06-10 06:09:27:

    1. icomment:
      Logged In: YES 
      user_id=63723
      
      I want to understand, is this a problem only in compiled 
      bytecodes? If the code runs interpreted (I don't know how to 
      create an equivalent interpreted example..) does execution 
      terminate with an error (as expected) after "suicide"?
      
      --JYL
      
      
      
    2. login: "jyljyljyl"
    3. mimetype: "text/plain"
    4. username: "jyljyljyl"
  4. Ticket change [fb5a773ba4] (rid 92052) by dgp on 2003-06-10 22:54:54:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      jyl, try this alternative:
      
      interp create tst
      interp alias tst suicide {} interp delete tst
      tst eval {proc bug {} {set set set; suicide; $set a 5}}
      tst eval bug 
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [ed5ff935fc] (rid 103867) by msofer on 2003-06-11 01:01:58:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      The original bug exists in 8.3 too.
      dgp's version is OK in 8.3, buggy in 8.4. This probably has
      to do with the overall reorganization in the different
      execution paths. 
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  6. Ticket change [d33e06a111] (rid 123259) by msofer on 2003-06-11 02:48:05:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      The new bug is now fixed in 8.4-branch and 8.5
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  7. Ticket change [cb5efe275c] (rid 95501) by dgp on 2003-11-13 08:38:00:

    1. foundin changed to: "final: 8.2.3"
  8. Ticket change [810c3b76e0] (rid 116972) by dgp on 2003-11-13 08:39:19:

    1. foundin changed to: "final: 8.3.5"
  9. Ticket change [a97e892046] (rid 99157) by msofer on 2003-11-16 19:21:23:

    1. assignee changed to: "dgp"
    2. icomment:
      
      
      File Added - 67667: interpDeleted.patch
      
      Logged In: YES 
      user_id=148712
      
      The attached patch solves this particular issue and passes
      the complete testsuite. I am however worried about it being
      too strict: is it true that the only bc instruction to be
      allowed in a deleted interpreter is INST_DONE? In principle,
      invoking new commands is what should be forbidden.
      
      Ie, what should happen with
        tst eval {proc bug {} {catch {suicide} m}
        tst eval bug
      This patch returns an error, which may be right or not ...
      in principle, 'catch' was called before the interp deletion,
      and it is not clear tome if it should run to the end or not.
      Requesting comments.
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  10. Ticket change [567d9f5c4b] (rid 94328) by msofer on 2003-11-16 20:59:25:

    1. icomment:
      
      
      File Deleted - 67667: 
      
      
      
      File Added - 67671: interpDeleted.patch
      
      Logged In: YES 
      user_id=148712
      
      Added two tests to the patch, although I'm not sure what the
      correct returns should be (see previous remark).
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  11. Add attachment "interpDeleted.patch" [d9625b3029] (rid 107602) by msofer on 2003-11-16 20:59:25.

  12. Ticket change [6f6c63f036] (rid 100315) by dgp on 2003-11-17 23:10:03:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=80530
      
      
      We need documentation on what
      operations should be permitted
      in a deleted interp, and why.
      
      If such documentation doesn't
      already exist somewhere, we
      need to create it, by divining
      intent from the source code as
      best we can, I guess.
      
      This will take some time (or
      intervention by someone wiser).
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  13. Ticket change [040a3d0498] (rid 119923) by msofer on 2004-03-30 23:34:57:

    1. closedate changed to: "2004-03-30T16:34:57"
    2. closer changed to: "msofer"
    3. foundin changed to: "obsolete: 8.5a2"
    4. icomment:
      Logged In: YES 
      user_id=148712
      
      Fixed in 8.5a2 together with bug #729692
      
      
    5. login: "msofer"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. username: "msofer"