Mail Archives: djgpp/1997/12/17/21:15:25
>in. However, now that I know *where* the problem occurs, I am still not
>sure *why*.
It is said. Page Fault.
>For example, am I dividing by
>zero, writing beyond the bounds of an array, etc?
If it was divide by zero, it would be said. Divide by Zero at
eip=something..
>Exiting due to signal SIGSEGV
>Page fault at eip=0000e5c7, error=0006
This one is a proglem with memory, I think. Mostly I get these when I
use big arrays or structures and allocate them directly:
int BigArray[1000000];
So, this would be:
int *BigArray = new int[1000000];
Hope this helps..
-= Mikko Aleksi Kallio - Acute / Hubris^BoSH =-
-= www.finlink.net/~akallio/ - akallio AT finlink DOT net =-
- Raw text -