delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/13/11:38:51

Date: Tue, 13 Oct 1998 18:34:17 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Tal Lavi <ranla AT post DOT tau DOT ac DOT il>
cc: djgpp AT delorie DOT com
Subject: Re: Unpredictable GPF's
In-Reply-To: <ranla.12.000B02FB@post.tau.ac.il>
Message-ID: <Pine.SUN.3.91.981013183351.4278f-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Sat, 10 Oct 1998, Tal Lavi wrote:

> In some points, which seems to be random, I am getting a GPF out of nowhere!
> I have no clue on what is happening or how can I solve it.

Try reading section 12.2 of the DJGPP FAQ list, it explains how to
approach such problems.

> It would help to see the values of some variables of mine in the location of 
> the GPF(I know the location, it's allways the same line, a while statement, 
> it's just different situations).

That's easy: just run your program under a debugger.  When the GPF
strikes, the debugger will kick in and you can examine the variables
as you see fit.

Of course, there's a possibility the bug won't happen under a
debugger, in which case it's probably some uninitialized memory that
gives you this trouble.

- Raw text -


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