Skip to content
Tcl Source Code History Of Ticket 3398794
Login

History Of Ticket 3398794

Artifacts Associated With Ticket 3398794

  1. Ticket change [144698331e] (rid 124364) by egavilan on 2011-08-26 16:46:56:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. 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.
      
    4. foundin initialized to: "obsolete: 8.6b2"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "egavilan"
    10. subsystem initialized to: "20. [interp]"
    11. title initialized to:
      Setting limits on the current interpreter calls Tcl_Panic()
      
    12. type initialized to: "Bug"
  2. Ticket change [44bef7bb85] (rid 116758) by egavilan on 2011-08-28 08:02:44:

    1. 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)
      
      
      
    2. login: "egavilan"
    3. mimetype: "text/plain"
    4. username: "egavilan"
  3. Ticket change [5b729a3197] (rid 118329) by dkf on 2011-08-29 21:47:27:

    1. assignee changed to: "dkf"
    2. foundin changed to: "obsolete: 8.5.10"
    3. 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).
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. priority changed to: "9 Immediate"
    7. username: "dkf"
  4. Ticket change [27aa44be09] (rid 88561) by dkf on 2011-08-30 07:24:31:

    1. closedate changed to: "2011-08-30T00:24:31"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"