Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 39b63a978de3afd7488b90551df74ba5a0ac891e
Ticket: 1889719fffffffffffffffffffffffffffffffff
Stack space check fails on AIX
User & Date: msofer on 2008-07-02 18:05:42
Changes

  1. closedate changed to: "2008-07-02T11:05:42"
  2. closer changed to: "msofer"
  3. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    I still recommend the workaround in the first post below: disable stack checking! That is, compile with -DTCL_NO_STACK_CHECK=1.
    
    What your numbers mean: whenever outerVarPtr<stackBound Tcl thinks you blew the stack (because stackGrowsDown=1, otherwise it'de be >)
    
    What the result probably means is: AIX is not satisfying the assumptions for that code, so that either 
     (a) the whole approach fails
     (b) stackBound and/or stackGrowsDown are not set properly to begin with
    
    The whole stack checking will be eliminated before 8.6.1: it is ugly, hacky, not-really-portable as you're finding out. It cannot be done both correct and portable. And it will not be as necessary due to other changes that will be coming in.
    
    
    
    
    
    
  4. login: "msofer"
  5. mimetype: "text/plain"
  6. status changed to: "Pending"
  7. username: "msofer"