www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/20/12:12:20

Xref: news2.mv.net comp.os.msdos.djgpp:4048
From: jlouwere AT galaxy DOT csc DOT calpoly DOT edu (Jan Louwerens)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: page fault problemo
Date: 19 May 1996 19:35:50 GMT
Organization: Cal Poly Computer Science Dept.
Lines: 28
Message-ID: <4nnt6m$ja9@waldorf.csc.calpoly.edu>
References: <319e7d63 DOT 0 AT 131 DOT 162 DOT 2 DOT 91>
NNTP-Posting-User: jlouwere AT galaxy DOT csc DOT calpoly DOT edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hafiz Awang Pon (004277a AT news DOT acadiau DOT ca) wrote:

: I am having this problem with my graphics engine:

: 1) when i run the program, it works allright for 
:    a while, i can move in my environment, look up,
:    down, etc. Then after a while, my hard drive starts
:    operating for every action i performed in the 
:    environment (if i'm not doing anything, hard
:    drive light isn't on, but when i instruct the engine
:    to do something, the light is on), i guess it's just
:    doing some paging. Then one of my biggest nightmare 
:    occurs. my programs exited with a page fault. Anyone
:    know why this is happening. I suspect that it has
:    something to with paging or protected mode, but i 
:    do not have much experience with both.

I could certainly be wrong here, since I know nothing about your program,
but is it  possible that you are trying to use an uninitialized pointer?

: 2) With the same program, i sometimes get a floating
:    point exception error and sometimes i don't,
:    what on earth is happening?

Most of my floating point errors come from dividing by zero somewhere or
maybe trying to take the square root of a negative number.

JL

- Raw text -


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