Skip to content
Tcl Source Code History Of Ticket 217997ffffffffff
Login

History Of Ticket 217997ffffffffff

Artifacts Associated With Ticket 217997ffffffffff

  1. Ticket change [8c298feff7] (rid 127701) by nobody on 2000-10-26 00:51:48:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 670 Bug
      Version: 8.0.3
      SubmitDate: '1998-08-20'
      LastModified: '1998-09-30'
      Severity: CRIT
      Status: Closed
      Submitter: rjohnson
      ChangedBy: rjohnson
      OS: All
      OSVersion: NA
      Machine: NA
      FixedDate: '2000-10-25'
      FixedInVersion: 8.0.3
      ClosedDate: '1998-09-30'
      
      
      There is some kind of weird interaction between the history mechanism (this is the prime suspect) and the info command that results in stack overflows in Tcl/Tk applications. The errors are platform dependent, on some platform you'll get a stack overflow crash, on other the dreaded "too many nested calls to Tcl_EvalObj (infinite loop?)" error. Also, how and when the bug is triggered is somewhat dependent on the platform and the application. Here's a few ways to trigger it:
      
      on windows:
      - start protclsh, then:
      -- rename info foo
      -- info abcd
      - this causes a crash of protclsh, with exception 0xc00000fd (stack overflow)
      - using "foo abcd" also causes the crash
      
      - start prowish, then:
      -- rename info foo
      - this causes a crash of prowish, with exception 0xc00000fd (stack overflow)
      
      on unix:
      - start protclsh, then:
      -- rename info foo
      -- info abcd
      - this gives you the "too many ..." error
      - foo abcd works fine
      - prowish shows the same behaviour.
      
      
      
      The windows behavior has been improved to be the same as the UNIX behavior.  (in Tcl 8.0.3)
      
      The UNIX behavior is correct.  Because part of Tcl is actually implemented in Tcl the user must be careful not to redefine any of the commands that Tcl it self relies on.  This would include things like "if", "info" and a handfull more.  rjohnson
      
      
      
    4. foundin initialized to: "obsolete: 8.0.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to:
      "info rename foo" crashes or exhausts Tcl stack in interacti
      
    11. type initialized to: "Bug"
  2. Ticket change [2be4451074] (rid 118820) by welch on 2000-10-26 08:12:11:

    1. closedate changed to: "2000-10-26T01:12:11"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [ba942bb8ff] (rid 129344) by dgp on 2001-04-16 23:03:19:

    1. closedate changed to: "2001-04-16T16:03:19"
    2. closer changed to: "dgp"
    3. subsystem changed to: "38. Init - Library - Autoload"
    4. title changed to:
      "info rename foo" crashes or exhausts Tcl stack in interacti