Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 09cc1eff10bbfb3ebe74906e102eee2f5b4723e3
Ticket: 947070ffffffffffffffffffffffffffffffffff
Unchecked stack overflow in TclReExec
User & Date: kennykb on 2004-05-03 16:36:06
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The attached test case crashes tclsh with a
    "stack overflow" exception.
    
    Configuration:
        HEAD as of 2004-04-30
        Win2k, VC++ 6 SP5, cygwin
        --enable-threads --enable-symbols
    
    The problem is that the activation record for TclReExec
    is larger than TCL_WIN_STACK_THRESHOLD, so we
    can get into there with insufficient space on the stack
    to run the function.
    
    Fix is to increase TCL_WIN_STACK_THRESHOLD -
    0x8000 appears sufficient. 0x4000 is not.
    
    I plan to fix this myself - I'm logging this so
    I don't forget and for the benefit of future
    maintainers.
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "8"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "kennykb"
  9. subsystem changed to: "69. Other"
  10. title changed to: "Unchecked stack overflow in TclReExec"
  11. type changed to: "Bug"