Artifacts Associated With Ticket 3398794fffffffffffffffffffffffffffffffff
Ticket change [144698331e] (rid 124364) by egavilan on 2011-08-26 16:46:56:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized 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 initialized to: "obsolete: 8.6b2"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "egavilan"
- subsystem initialized to: "20. [interp]"
- title initialized to:
Setting limits on the current interpreter calls Tcl_Panic()
- type initialized to: "Bug"
Ticket change [44bef7bb85] (rid 116758) by egavilan on 2011-08-28 08:02:44:
- icomment:
More brokenness due to this design choice: $ tclsh8.6 % set i [interp create -safe] interp0 % $i eval {interp limit {} time -command foo} installing limit callback to the limited interpreter Abort trap (core dumped) - login: "egavilan"
- mimetype: "text/plain"
- username: "egavilan"
- icomment:
Ticket change [5b729a3197] (rid 118329) by dkf on 2011-08-29 21:47:27:
- assignee changed to: "dkf"
- foundin changed to: "obsolete: 8.5.10"
- icomment:
My fault, as I should have added protection against this situation in the Tcl command; this is hitting a trap in the lower-level C API. Also panics in 8.5 (expected; 8.6 hasn't had any updates in this area).
- login: "dkf"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "dkf"
Ticket change [27aa44be09] (rid 88561) by dkf on 2011-08-30 07:24:31:
- closedate changed to: "2011-08-30T00:24:31"
- closer changed to: "dkf"
- icomment:
allow_comments - 1
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"