Artifacts Associated With Ticket 8ff0cb9fe1
Ticket change [57a166e951] (rid 133426) by dgp on 2013-08-21 14:16:03:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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. - foundin initialized to: "8.6.0"
- is_private initialized to: "0"
- login: "dgp"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Critical"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to: "Tcl_NREvalObj() not as documented."
- type initialized to: "Bug"
Ticket change [0627ad4189] (rid 133434) by dgp on 2013-08-21 18:29:24:
- 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.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [64601cdc83] (rid 133435) by dgp on 2013-08-21 19:02:07:
- icomment:
And then there was a memleak. Thanks to the oo-0.4 test! Fixed now.
- login: "dgp"
- mimetype: "text/plain"
- icomment:
Ticket change [01cd4d62b7] (rid 133443) by dgp on 2013-08-21 19:30:56:
- assignee changed to: "dgp"
- closedate changed to: "2456526.31315264"
- closer changed to: "dgp"
- icomment: "Fix merged to trunk."
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"