Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c33555aeb2b2d501f01d7db669bf3cab3a95adeb
Ticket: 1066755fffffffffffffffffffffffffffffffff
Surprisingly low recursion limit on Windows
User & Date: stevebold on 2004-11-15 16:20:57
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    TIP 87 indicates that the default recursion depth for Tcl 
    is 1000
    and that this can be changed by scripts. However, on 
    Windows XP this
    does not seem to be the case.
    
    Consider this script:
    
    set level 0
    proc a {} {
       set ::level [info level]
       a
    }
    a
    
    With the Active Tcl build of 8.5a1, it fails with $level set 
    to 375.
    
    ActiveTcl 8.4.6 failed with $level set to 395.
    
    My own build of 8.4.3 failed with $level set to 902.
    
    Setting calling 'interp recursionlimit {} 2000' makes no 
    difference
    to these numbers.
    
    On Solaris, this problem is not seen.
    
    
  4. foundin changed to: "obsolete: 8.5a1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "stevebold"
  9. subsystem changed to: "52. Portability Support"
  10. title changed to: "Surprisingly low recursion limit on Windows"
  11. type changed to: "Bug"