From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,660646366591c2c5,start X-Google-Attributes: gidfee84,public From: pcanal@fndaub.fnal.gov (Philippe Canal) Subject: Stack trouble with OSF/1's cc Date: 1995/09/14 Message-ID: <43a36g$o3c@fndaub.fnal.gov>#1/1 X-Deja-AN: 110125192 distribution: world organization: FERMILAB, Batavia, IL newsgroups: comp.unix.osf.osf1 With the following: OSF1 V3.2 214 alpha cc (cc) The DEC OSF/1 AXP Compiler Driver 3.11 I compile the following program: #include int test() { char array[2101250]; fprintf(stderr,"I made it inside test()\n"); return 0; } main () { test(); } When I execute it I get a segmentation fault at the time of the call to test(). This does happen as soon as the size of my array is more than 2Mo! I was wondering if it was a bug or a feature of OSF/1, its cc or the alpha, and is there any patch/promise of solving it in the next version etc ... Thanks for any help! Philippe Canal -- Philippe