Artifacts Associated With Ticket 3282869fffffffff
Ticket change [44bccf2460] (rid 116755) by ferrieux on 2011-04-09 22:20:37:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
% proc f x {coroutine D eval {puts X$x;yield Y;puts Z}} % f 12 Segmentation fault (core dumped) - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "ferrieux"
- subsystem initialized to: "60. NRE and coroutines"
- title initialized to: "coroutine + eval + locals = segfault"
- type initialized to: "Bug"
Ticket change [341abea0e8] (rid 106703) by ferrieux on 2011-04-10 05:25:20:
- icomment:
Looks like the compiled local x is broken in that case: varPtr is NULL in TEBCresume at case INST_LOAD_SCALAR1: instLoadScalar1: opnd = TclGetUInt1AtPtr(pc+1); varPtr = LOCAL(opnd); - login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [03789fbd84] (rid 119834) by msofer on 2011-04-11 06:19:49:
- icomment:
The script to be evaled is somehow being compiled in f's context - iPtr->varFramePtr->localCachePtr points to f's. I have not yet found how or why. Do note that % proc f y {coroutine D eval {puts X$x;yield Y;puts Z}} % f 12 can't read "x": no such variable - login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [4724ac8659] (rid 99641) by msofer on 2011-04-11 18:44:15:
- closedate changed to: "2011-04-11T11:44:15"
- closer changed to: "msofer"
- icomment:
allow_comments - 1 fixed in trunk
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"