Artifacts Associated With Ticket 495830ffff
Ticket change [117d35941c] (rid 95152) by msofer on 2001-12-21 12:26:36:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- 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! - foundin initialized to: "None"
- priority initialized to: "7 High"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to: "execution in deleted interpreter"
- type initialized to: "Bug"
Ticket change [6e0d487c93] (rid 128809) by msofer on 2002-06-21 01:40:10:
- 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
- login: "msofer"
- mimetype: "text/plain"
- priority changed to: "5 Medium"
- username: "msofer"
- icomment:
Ticket change [e541733b3b] (rid 88096) by jyljyljyl on 2003-06-10 06:09:27:
- 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
- login: "jyljyljyl"
- mimetype: "text/plain"
- username: "jyljyljyl"
- icomment:
Ticket change [fb5a773ba4] (rid 92052) by dgp on 2003-06-10 22:54:54:
- 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 - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [ed5ff935fc] (rid 103867) by msofer on 2003-06-11 01:01:58:
- 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.
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [d33e06a111] (rid 123259) by msofer on 2003-06-11 02:48:05:
- icomment:
Logged In: YES user_id=148712 The new bug is now fixed in 8.4-branch and 8.5
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [cb5efe275c] (rid 95501) by dgp on 2003-11-13 08:38:00:
- foundin changed to: "final: 8.2.3"
Ticket change [810c3b76e0] (rid 116972) by dgp on 2003-11-13 08:39:19:
- foundin changed to: "final: 8.3.5"
Ticket change [a97e892046] (rid 99157) by msofer on 2003-11-16 19:21:23:
- assignee changed to: "dgp"
- 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. - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
Ticket change [567d9f5c4b] (rid 94328) by msofer on 2003-11-16 20:59:25:
- 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).
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Add attachment "interpDeleted.patch" [d9625b3029] (rid 107602) by msofer on 2003-11-16 20:59:25.
Ticket change [6f6c63f036] (rid 100315) by dgp on 2003-11-17 23:10:03:
- assignee changed to: "msofer"
- 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).
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [040a3d0498] (rid 119923) by msofer on 2004-03-30 23:34:57:
- closedate changed to: "2004-03-30T16:34:57"
- closer changed to: "msofer"
- foundin changed to: "obsolete: 8.5a2"
- icomment:
Logged In: YES user_id=148712 Fixed in 8.5a2 together with bug #729692
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"