Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 34f48bbc3e7607866324bafc5d569fd264d582aa
Ticket: 3166410fffffffffffffffffffffffffffffffff
"out of stack space" on AIX
User & Date: starwalker2000 on 2011-01-27 20:27:12
Changes

  1. icomment:
    These changes work.
    After change tclBasic.c:360 from:
    ((localIntPtr) > (iPtr)->stackBound)
    to
    (((localIntPtr) - (iPtr)->stackBound) > 0)
    
    It makes the ((localIntPtr) - (iPtr)->stackBound) becomes a positive value. But I've no idea will it cause other problem on other machines.
    However, I still think the value of (iPtr)->stackBound is incorrect.
    
    stopped in TclInterpReady at line 3474 in file "/tellin/hjw/tcl8.5.9/unix/../generic/tclBasic.c" ($t1)
     3474               && CheckCStack(iPtr, &localInt)) {
    (dbx) print &localInt
    0x2ff22150
    (dbx) print iPtr->stackBound
    0xaff2a462
    (dbx) print &localInt - iPtr->stackBound
    0x7fff7cee
    
    
    
  2. login: "starwalker2000"
  3. mimetype: "text/plain"
  4. username: "starwalker2000"