| Ticket UUID: | 2114165 | ||
| Title: | eval after script cancellation does not work | ||
| Type: | Bug | Created on: | 2008-09-16 13:18:58 |
| Submitter: | mistachkin | Assigned to: | mistachkin |
| Subsystem: | 45. Parsing and Eval | Severity: | |
| Priority: | 5 Medium | Last modified: | 2008-09-17 09:23:51 |
| Status: | Open | Closed by: | |
| Resolution: | Fixed | Closed on: | |
| Version: | obsolete: 8.6a3 | ||
| Description: | ||||
Using Tcl_EvalObjEx after a previous to Tcl_CancelEval is no longer working (it always returns "eval canceled"). I believe this is due to a lack of a TclResetCancellation call in that code path (which also used to manage iPtr->numLevels). There may be other code paths that suffer from this problem also? | ||||
| User Comments: | ||||
msofer added on 2008-09-16 22:57:21:
The testsuite seems to be happy enough (on linux). Could you please post sample code? It will help tracing the code path that is misbehaving. msofer added on 2008-09-17 07:33:56:
Fixed in HEAD; leaving open as reminder to add tests mistachkin added on 2008-09-17 09:23:51:
There was another small issue (unrelated to the NRE). The TclResetCancellation call in tclParse.c needs to be after the numLevels is reduced (on the way out) so that it follows the TIP and matches what is done in Tcl_EvalObjEx, et al. | ||||
