Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!crdgw1!paris!derge From: derge@paris.crd.ge.com (Gillmer J. Derge) Newsgroups: comp.lang.c Subject: Re: Wierd core dump on sparc-1 Message-ID: <16064@crdgw1.crd.ge.com> Date: 24 Jan 91 20:36:59 GMT References: <1991Jan23.232300.3698@lavaca.uh.edu> <1991Jan24.061653.22785@tkou02.enet.dec.com> Sender: news@crdgw1.crd.ge.com Reply-To: derge@crd.ge.com Organization: GE Corporate R&D Center, Schenectady, NY Lines: 14 In article <1991Jan23.232300.3698@lavaca.uh.edu> jet@karazm.math.uh.edu ("J. Eric Townsend") writes: >I've got a rather simple little C program that dumps core at >the first "{" of main() (according to gdb and saber). >Any hints as to what could be causing this? I've seen this happen as a result of declaring a large, global array. In my case it was a 30 by 30 by 100 by 40 array of char, and I fixed it by allocating the memory at run time. An explanation, I can not give, but this may work as a solution. Gill Derge derge@crd.ge.com