Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!sun-barr!decwrl!shlump.nac.dec.com!riscy.dec.com!fuel.dec.com!graham From: graham@fuel.dec.com (kris graham) Newsgroups: comp.unix.ultrix Subject: Re: grow failed because stack limit exceeded Message-ID: <1425@riscy.dec.com> Date: 4 Aug 89 21:57:17 GMT References: <20434@paris.ics.uci.edu> <221@larry.sal.wisc.edu> <3608@buengc.BU.EDU> Sender: news@riscy.dec.com Lines: 36 >We have a FORTRAN program which runs correctly under VMS, UNICOS, and Stellix. >When we run it on a Decstation 3100 we get the message: >grow failed because stack limit exceeded, pid xxxxx, proc xxx >ts = 0xc1, ds = 0xdc7, ss = 0x2f >The program then runs for a few more minutes before crashing with: >Segmentation fault (core dumped) Typing "limit" at the shell (DECstation 3100 UWS 2.1) shows the following csh> limit cputime unlimited filesize unlimited datasize 85988 kbytes stacksize 512 kbytes coredumpsize unlimited memoryuse 12744 kbytes So, why limit your stacksize ;-) ? csh> limit stacksize unlimited .......(or, you can set your own limit like ...2048,4096, 8192, unlimited ) is the one way to 'liberate' your Fortran program....unless something weird is going on. -- Christopher Graham Digital Equipment Corp Ultrix Resource Center 2 Penn Plaza New York City