Overview
| Artifact ID: | 144698331eeb594a3ad09c31f945df4863f94a39 |
|---|---|
| Ticket: | 3398794fffffffffffffffffffffffffffffffff
Setting limits on the current interpreter calls Tcl_Panic() |
| User & Date: | egavilan on 2011-08-26 16:46:56 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed to:
Trying to set an interp limit on the current interpreter calls Tcl_Panic(). $ tclsh8.6 % interp limit {} time -command foo installing limit callback to the limited interpreter Abort trap (core dumped) The backtrace points to the lines 4156-4158 of generic/tclInterp.c, which reads if (interp == targetInterp) { Tcl_Panic("installing limit callback to the limited interpreter"); } This fact is: * Not documented in the interp manual page. * An incorrect use of Tcl_Panic() IMO. Simply ignoring the request or generating a standard, [catch]eable error is enough. - foundin changed to: "obsolete: 8.6b2"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "egavilan"
- subsystem changed to: "20. [interp]"
- title changed to:
Setting limits on the current interpreter calls Tcl_Panic()
- type changed to: "Bug"