Mail Archives: djgpp/1999/08/22/10:42:55
On 19 Aug 1999, Keith Weatherby II wrote:
> Exiting due to signal SIGSEGV
> Page fault at eip=0000832b, error=0006
This means that your program attempted to write to a memory location that
is not valid. For example, like this:
*ptr = 1;
where ptr is a pointer whose value is NULL or garbled.
Section 12.2 of the DJGPP FAQ list has some advice about how to start
debugging your program using the crash dump as a beginning.
> eax=00000000 ebx=00092000 ecx=00000424 edx=00000000 esi=00000000 edi=00000010
> ebp=0008c760 esp=0008c708 program=C:\DJGPP\ALLEGRO\MYGAME\ROBOTS.EXE
> cs: sel=00a7 base=10000000 limit=0014ffff
> ds: sel=00af base=10000000 limit=0014ffff
> es: sel=00af base=10000000 limit=0014ffff
> fs: sel=00bf base=00000000 limit=ffffffff
> gs: sel=00bf base=00000000 limit=ffffffff
> ss: sel=00af base=10000000 limit=0014ffff
This indicates that you use DJGPP v2.01. I suggest to upgrade to v2.02.
- Raw text -