Path: utzoo!telly!ddsw1!mcdchg!rutgers!tut.cis.ohio-state.edu!WHEATIES.AI.MIT.EDU!rms From: rms@WHEATIES.AI.MIT.EDU (Richard Stallman) Newsgroups: gnu.gcc.bug Subject: dynamic arrays with insufficient space cause core dump Message-ID: <8810080636.AA00915@sugar-bombs.ai.mit.edu> Date: 8 Oct 88 06:36:41 GMT References: <8810080619.AA04216@bayes.arc.nasa.gov> Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 11 This problem is not limited to dynamic arrays or to GNU C. The same bad error message can result from allocating a fixed-size array, in any C compiler. You can make your program work by using the command `unlimit stack' first. As for the general problem, I agree the current situation is not a desirable one, but I don't see a solution in the compiler. In the GNU system I think I can see how to arrange for better error reporting for stack overflow, which would distinguish it from stray references. But this requires the compiler and library to cooperate.