Mail Archives: djgpp/2000/08/26/12:11:56
> 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 -