Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2010-09-30
02:00 • Closed ticket [2942190fff]: TCL 8.5.8 on AIX fails to run with "out of stac... artifact: 03f0c85dc1 user: sf-robot
2010-08-05
02:47 • Pending ticket [2942190fff]. artifact: 871b2ba426 user: hobbs
2010-02-01
19:47 • Open ticket [2942190fff]. artifact: db8c3d2965 user: ferrieux
19:47 • Ticket [2942190fff]: 4 changes artifact: da63cfed6e user: ferrieux
18:38 • Pending ticket [2942190fff]. artifact: fc21eedc40 user: msofer
18:38 • Ticket [2942190fff]: 4 changes artifact: e94adb2712 user: msofer
17:55 • Ticket [2942190fff]: 4 changes artifact: b46773a7bd user: dougedey
2010-01-29
20:26 • Ticket [2942190fff]: 4 changes artifact: 8e771f730f user: dkf
19:46 • Ticket [2942190fff]: 1 change artifact: 1343bfbecd user: dougedey
12:09 • New ticket [2942190fff]. artifact: bc1f0833cd user: dougedey

TCL 8.5.8 on AIX fails to run with "out of stack space"

Closed / Works For Me2942190fffffffffffffffffffffffffffffffffCreated 17 years agoUpdated 16 years ago
Descriptionplain2010-01-29 12:09:53
I have successfully compiled TCL 8.5.8 with the following configure options:

./configure --prefix=$SSGTCL_INSTALL --enable-symbols --enable-shared 

These configure options run fine with TCL 8.4.15 however, after building TCL8.5.8 and attempting to run the binaries I get:

$ /afs/ssd/projects/tools/tcl/tcl100126/bin/tclsh    
application-specific initialization failed: out of stack space (infinite loop?)

This doesn't appear related to the Linux bug due to that being "fixed" a long time ago.

All the other AIX related stack bugs have been closed due to lack of communication apparantly and I would like to get this issue resolved.

Many thanks,

Doug Edey
dougedey Ticket [2942190fff]: 1 change [History diff]2010-01-29 19:46:26
dkfplain2010-01-29 20:26:59
FWIW, the stack check is removed in 8.6 due to a redesign of the implementation engine to use much less stack (which also enables goodies like coroutines).
dougedeyplain2010-02-01 17:55:51
So is it unlikely that anyones going to look at this issue?
msoferplain2010-02-01 18:38:10
Unlikely. The workaround may be to disable stack checking altogether, thus reverting to 8.4 behaviour.

The easiest way to do that is to define TCL_NO_STACK_CHECK in the compiler options, eg adding -DTCL_NO_STACK_CHECK to your CFLAGS before running ./configure
msofer Pending ticket [2942190fff]. [History diff]2010-02-01 18:38:11
ferrieuxplain2010-02-01 19:47:45
However, ActiveState has been shipping a working 8.5.x for AIX for years, so I suspect Jeff would know about the gotchas. Assigning to him just in case.
ferrieux Open ticket [2942190fff]. [History diff]2010-02-01 19:47:46
hobbsplain2010-08-05 02:47:32
I suspect this is simply not choosing the right working compiler combo, because standard builds are working for us.
sf-robotplain2010-09-30 02:00:04
allow_comments - 1

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
Log in (anonymous is fine) to add a comment.