Overview
| Artifact ID: | 604c6b203ea53b3b1fa37f3d689b598f6307e4a8 |
|---|---|
| Ticket: | 1889719fffffffffffffffffffffffffffffffff
Stack space check fails on AIX |
| User & Date: | cnassau on 2008-07-02 13:25:25 |
Changes
- icomment:
Logged In: YES user_id=902560 Originator: NO We've been seeing the same failure on various AIXes, most recently on a machine where "ulimit -s" reported "hard" which allegedly means a full 4GB stack. Tcl worked after *decreasing* the stack size with "ulimit -s 32768". To debug this I've added some "fprintf"'s to GetStackSize and TclpGetCStackParams which log the return values. The following failure happens on AIX 5.1 with Tcl 8.5.3, built using xlC_r: [cnassau] bluebull(AIX[5.1.0.0]):unix/$ make install Installing libtcl8.5.so to /space/cnassau/tcl/lib/ Installing libtcl8.5.exp to /space/cnassau/tcl/lib/ Installing tclsh as /space/cnassau/tcl/bin/tclsh8.5 Installing tclConfig.sh to /space/cnassau/tcl/lib/ Installing libtclstub8.5.a to /space/cnassau/tcl/lib/ Installing time zone data GetStackSize: stacksize = 7fff7ffe, rawStacksize = 7ffffffe TclpGetCStackParams: outerVarPtr = 2ff22410, stackBound = aff2a412, stackGrowsDown =1 application-specific initialization failed: out of stack space (infinite loop?) out of stack space (infinite loop?) while executing "proc copyDir { d1 d2 } { puts [format {%*sCreating %s} [expr { 4 * [info level] }] {} \ [file tail $d2]] file delete -force -- $d2 ..." (file "/home/cnassau/src/tcl8.5.3/unix/../tools/installData.tcl" line 23) make: *** [install-tzdata] Error 1 I'm not sure if I'm reading this correctly but it seems the allowable stack region consists of [0, 2ff22410] and [aff2a412, ffffffff]. Could this be a problem for the stack check? - login: "cnassau"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "cnassau"