From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: Help Please Date: Mon, 27 Mar 2000 00:55:39 +0100 Organization: Customer of Planet Online Lines: 25 Message-ID: References: <20000325133610 DOT 00647 DOT 00003156 AT ng-cl1 DOT aol DOT com> NNTP-Posting-Host: modem-244.vanadium.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news6.svr.pol.co.uk 954029188 2063 62.136.22.244 (26 Mar 2000 00:06:28 GMT) NNTP-Posting-Date: 26 Mar 2000 00:06:28 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com ripter01 AT aol DOT com (Ripter01) wrote: > Subject: Help Please Some people ignore posts without meaningful subjects. > I have this strange (strange to me) problem with one of my C programs > the frist time I run it It works just as I want it to, but anytime after that > it prints a bunch of junk on the screen like: > > Exiting to due to signal SIGSEGV > General Production Fault at eip=00002ff3 > > and then a bunch of stuff that looks like Asm resters and stuff You should run symify to make sense of this. The FAQ explains how. > If I reboot, then I can run the program once without this happaning but then it > happans again, i don't get it, Please help, Here is my code You don't give the compile command you used but I assume you are compiling without warnings turned on. If you had compiled using the following line then gcc would have pointed out a few errors to you: gcc -O2 -Wall pad.c -o pad