delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/26/12:11:56

Date: Sat, 26 Aug 2000 08:28:39 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: jcditz AT my-deja DOT com
Message-Id: <7263-Sat26Aug2000082839+0300-eliz@is.elta.co.il>
X-Mailer: Emacs 20.6 (via feedmail 8.2.emacs20_6 I) and Blat ver 1.8.5b
CC: djgpp AT delorie DOT com
In-reply-to: <8o64nq$s1q$1@nnrp1.deja.com> (jcditz@my-deja.com)
Subject: Re: SIGSEGV problem (disaster!)
References: <8o64nq$s1q$1 AT nnrp1 DOT deja DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> From: jcditz AT my-deja DOT com
> Newsgroups: comp.os.msdos.djgpp
> Date: Fri, 25 Aug 2000 15:52:36 GMT
> 
> I am currently writing a program for my senior
> Optical Physics research at svsu. Anyhow, I've
> got the program written (DJGPP of course), and it
> sure seems correct. At least, it compiles with no
> errors/warnings. The problem is, when I try to
> run it, it dumps a huge long nasty message:
> Exiting Due to signal SIGSEGV.
> stack fault at eip=000015d1
> and all the other stuff (values of the registers
> at the time and everything.

Please always post here the exact crash message, with registers "and
all the other stuff", when you report such problems.  The information
there is very important for efficient identification of the cause(s)
for your problem.

> I use about half a dozen doubles which are [61]
> [61][3]
> as well as one huge one
> int array [1281][1281];

If this is inside a function (not a global variable), you are
overflowing the run-time stack.  See section 15.9 of the DJGPP FAQ
list, for more about this.  That section also explains how to solve
these problems.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019