Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e089fc5d5f4c53cbc5f93cfa83579b2899daa46182eb8c8e74dd04abd3e4093c
Ticket: fe4d7305a87451030c8e87ab22e314c8bdbb4ca1
Renaming history command results in infinite loop
User & Date: euller on 2018-07-09 17:27:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    The issue is related to renaming the history command. Upon rename, the interpreter enters recursion, which triggers an infinite loop error.
    
    Steps to reproduce:
    
    - Run the following code with Tcl version 8.6.4. There are no errors issued:
    ~~~
        % rename history _history
        % proc history {args} {_history {*}$args}
        % history add example_cmd
    ~~~
    
    - Run the same code under version 8.6.8. The execution errors out with the following message:
    ~~~
        too many nested evaluations (infinite loop?)
    ~~~
    
  5. foundin changed to: "8.6.8"
  6. is_private changed to: "0"
  7. login: "euller"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "a4a773cb5ca7ba885ceb6bfdf316d4ae118c57cc"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "euller"
  14. subsystem changed to: "19. [history]"
  15. title changed to: "Renaming history command results in infinite loop"
  16. type changed to: "Bug"