Overview
| Artifact ID: | 57a166e951930b54d5e219df90f356cf912f58af |
|---|---|
| Ticket: | 8ff0cb9fe16b30c7c511976616dc82bcb80dba5c
Tcl_NREvalObj() not as documented. |
| User & Date: | dgp on 2013-08-21 14:16:03 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "8.6.0"
- is_private changed to: "0"
- login: "dgp"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "Tcl_NREvalObj() not as documented."
- type changed to: "Bug"