🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2563

Re: Bug with large local variables.

#2563
From: Anton Rang
Date: Tue, 25 Apr 1989 06:03
19 lines
1377 bytes
In article <VAX-MM(187)+TOPSLIB(118).24-Apr-89.17:31:04.ISI.EDU> JDEIFIK@isi.edu (Jeff Deifik) writes:

   When I compile the following program with gcc, and run it it, I get
   Segmentation fault (core dumped)

   [ ... ]
   int	a[250000L];

       printf("Hello World\n");
   [ ... ]

What is your stack limit set to?  This would allocate 1 MB of stack
space; at least on our system, the default stack limit is 512KB.  (Use
the csh 'limit' command to check it out.)

+---------------------------+------------------------+---------------------+
| Anton Rang (grad student) | "VMS Forever!"         | rec.music.newage is |
| Michigan State University | rang@cpswh.cps.msu.edu | under discussion... |
+---------------------------+------------------------+---------------------+
Technical Details
Message-ID: <2717@cps3xx.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!rutgers!netnews.upenn.edu!eecae!cps3xx!rang
References: <VAX-MM(187)+TOPSLIB(118).24-Apr-89.17:31:04.ISI.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!rutgers!netnews.upenn.edu!eecae!cps3xx!rang
From: rang@cpsin3.cps.msu.edu (Anton Rang)
Newsgroups: gnu.gcc.bug
Subject: Re: Bug with large local variables.
Message-ID: <2717@cps3xx.UUCP>
Date: 25 Apr 89 06:03:48 GMT
References: <VAX-MM(187)+TOPSLIB(118).24-Apr-89.17:31:04.ISI.EDU>
Sender: usenet@cps3xx.UUCP
Reply-To: rang@cpswh.cps.msu.edu (Anton Rang)
Distribution: gnu
Organization: Michigan State University, Computer Science Dept.
Lines: 19
In-reply-to: JDEIFIK@isi.edu's message of 25 Apr 89 01:31:04 GMT