Skip to content
Tcl Source Code History Of Ticket 3282869fffffffffffffffffffffffffffffffff
Login

History Of Ticket 3282869fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 3282869fffffffffffffffffffffffffffffffff

  1. Ticket change [44bccf2460] (rid 116755) by ferrieux on 2011-04-09 22:20:37:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      % proc f x {coroutine D eval {puts X$x;yield Y;puts Z}}
      % f 12
      Segmentation fault (core dumped)
      
      
    4. foundin initialized to: "None"
    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: "ferrieux"
    10. subsystem initialized to: "60. NRE and coroutines"
    11. title initialized to: "coroutine + eval + locals = segfault"
    12. type initialized to: "Bug"
  2. Ticket change [341abea0e8] (rid 106703) by ferrieux on 2011-04-10 05:25:20:

    1. 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);
      
      
      
    2. login: "ferrieux"
    3. mimetype: "text/plain"
    4. username: "ferrieux"
  3. Ticket change [03789fbd84] (rid 119834) by msofer on 2011-04-11 06:19:49:

    1. 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
      
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [4724ac8659] (rid 99641) by msofer on 2011-04-11 18:44:15:

    1. closedate changed to: "2011-04-11T11:44:15"
    2. closer changed to: "msofer"
    3. icomment:
      
      
      allow_comments - 1
      
      fixed in trunk
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "msofer"