Artifacts Associated With Ticket 2910748
Ticket change [deb141106e] (rid 114894) by msofer on 2009-12-08 15:17:43:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
See http://groups.google.co.uk/group/comp.lang.tcl/browse_frm/thread/521f924c167872a6
- 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: "msofer"
- subsystem initialized to: "60. NRE and coroutines"
- title initialized to: "[namespace path] breaks [yield]"
- type initialized to: "Bug"
Ticket change [e1388744c0] (rid 87411) by msofer on 2009-12-08 22:30:31:
- icomment:
[12:27]dkfI think you'd get the same effect (spoilage of bytecode) by creating a command [proc assert args {}] which you use and then redefining that part way through [12:28]dkfI suspect that it is bytecode spoilage that's key, not [namespace path] which is adding nothing that is bytecoded - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [040a42fe60] (rid 119924) by dkf on 2009-12-08 22:50:50:
- icomment:
Relatedly, the next snippet crashes (tested in a fresh debug build) proc foo args {};foo;coro bar apply {{} {proc foo args {return ok}; foo; while 1 {yield [incr i];foo}}} (Apparently, "nasty thing, causes a recompile ... yield in one bytecode, resume in another") - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [f36ee608a4] (rid 129714) by msofer on 2009-12-08 22:53:08:
- priority changed to: "8"
Ticket change [57967c4815] (rid 94514) by dgp on 2009-12-10 02:51:13:
- priority changed to: "9 Immediate"
Ticket change [81526aec38] (rid 117012) by msofer on 2009-12-11 07:45:38:
- icomment:
On today's HEAD (after some rewrite of coro code) dkf's snippet does not crash, it causes an error instead: 'cannot yield: C stack busy'
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [4e94a8127d] (rid 125666) by msofer on 2010-01-17 20:39:19:
- icomment:
File Added - 359257: 2037338.diff
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [09c9b3407f] (rid 113714) by msofer on 2010-01-17 20:41:48:
- assignee changed to: "dgp"
- icomment:
The attached patch fixes this issue, BUT it breaks execute-8.4: it was not committed The new failure may be deemed to be a lesser bug (not prio 9); requesting review by dgp
- login: "msofer"
- mimetype: "text/plain"
- title changed to: "direct eval on BC spoilage is not NRE-aware"
- username: "msofer"
Add attachment "2910748.diff" [014e9eb0ac] (rid 119458) by msofer on 2010-01-19 22:34:04.
Ticket change [ac643b36fe] (rid 101283) by msofer on 2010-01-19 22:34:05:
- icomment:
File Deleted - 359257: File Added - 359526: 2910748.diff
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [f4c82cb70d] (rid 129985) by msofer on 2010-01-19 22:34:23:
- icomment:
fixed bug# refs in patch
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [144628a6e8] (rid 124363) by dgp on 2010-01-21 11:57:00:
- icomment:
The execute-8.4 failure is due to the following, which for the moment I'm thinking is a flaw in the INST_EVAL_STK instruction: % proc foo0 {} { catch {error bar} m o return -options $o $m } % proc foo1 {} { catch {error bar} m o if 1 {return -options $o $m} } % proc foo2 {} { catch {error bar} m o set x 1 if $x {return -options $o $m} } % foo0 bar % set errorInfo bar while executing "error bar" (procedure "foo0" line 2) invoked from within "foo0" % foo1 bar % set errorInfo bar while executing "error bar" (procedure "foo1" line 2) invoked from within "foo1" % foo2 bar % set errorInfo bar while executing "error bar" invoked from within "if $x {return -options $o $m}" (procedure "foo2" line 4) invoked from within "foo2" - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [647b2f923d] (rid 92778) by dgp on 2010-01-21 23:50:06:
- icomment:
Attached amended patch solves the failing test. Note that the issue here is just a repeat of the same issue in Bug 2037338.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [4c36952ab3] (rid 126842) by dgp on 2010-01-21 23:52:37:
- icomment:
File Added - 359760: 2910748-2.patch
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Add attachment "2910748-2.patch" [6dcce510ec] (rid 128766) by dgp on 2010-01-21 23:52:37.
Ticket change [0bc887f61e] (rid 114051) by msofer on 2010-01-22 00:24:11:
- closedate changed to: "2010-01-21T17:24:11"
- closer changed to: "msofer"
- icomment:
allow_comments - 1
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"