Skip to content
Tcl Source Code History Of Ticket 8ff0cb9fe1
Login

History Of Ticket 8ff0cb9fe1

Artifacts Associated With Ticket 8ff0cb9fe1

  1. Ticket change [57a166e951] (rid 133426) by dgp on 2013-08-21 14:16:03:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      proc foo {a b} {catch yield; return 1}
      coroutine demo lsort -command foo {a b}
      
      The [catch] fails to catch, and then a
      few steps later, the program crashes.
      
      The problem is with TclNRCoroutineObjCmd()
      which is written to assume that calls to
      Tcl_NREvalObj() behave as documented, that
      they schedule the evaluation for later.
      In fact, in many situations, T_NREO immediately
      evals.
      
      The branch dgp-purge-NRRunObjProc revises T_NREO
      to behave as documented.  This change introduces
      segfaults elsewhere, however.
      
    5. foundin initialized to: "8.6.0"
    6. is_private initialized to: "0"
    7. login: "dgp"
    8. priority initialized to: "5 Medium"
    9. resolution initialized to: "None"
    10. severity initialized to: "Critical"
    11. status initialized to: "Open"
    12. submitter initialized to: "dgp"
    13. subsystem initialized to: "- New Builtin Commands"
    14. title initialized to: "Tcl_NREvalObj() not as documented."
    15. type initialized to: "Bug"
  2. Ticket change [0627ad4189] (rid 133434) by dgp on 2013-08-21 18:29:24:

    1. icomment:
      Segfaults were due to using storage on the
      C stack for things that needed to continue
      to be available after the C routine returned
      in the NRE framework.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  3. Ticket change [64601cdc83] (rid 133435) by dgp on 2013-08-21 19:02:07:

    1. icomment:
      And then there was a memleak.
      
      Thanks to the oo-0.4 test!
      
      Fixed now.
      
    2. login: "dgp"
    3. mimetype: "text/plain"
  4. Ticket change [01cd4d62b7] (rid 133443) by dgp on 2013-08-21 19:30:56:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2456526.31315264"
    3. closer changed to: "dgp"
    4. icomment: "Fix merged to trunk."
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"